Accessing Data in a Multi-Generation Database
AssigneeInternational Business Machines Corporation
InventorsOri Ben-Itzhak, Irit Cohen, Rivka Mayraz Matosevich
Life of this patent
Estimating the term…
Abstract
A method for accessing data in a multi-generation database is provided. The method comprises receiving a request to access first data in the database, wherein the first data is located on a first page of the database; reading an entry corresponding to the first page to locate a first track on the first page to access a newest version of the data; acquiring a first lock to synchronize accesses to the first track; and determining that the first track stores the newest version of the data, in response to reading the entry while holding the first lock.
Claims20
A method for accessing data in a multi-generation database, the method comprising:
- receiving a request to access first data in the database, wherein the first data is located on a first page of the database;
- reading an entry corresponding to the first page to locate a first track on the first page to access a newest version of the data;
- acquiring a first lock to synchronize accesses to the first track;
- and determining that the first track stores the newest version of the data, in response to reading the entry while holding the first lock.
A system for accessing data in a multi-generation database, the method comprising:
- a logic unit for receiving a request to access first data in the database, wherein the first data is located on a first page of the database;
- a logic unit for reading an entry corresponding to the first page to locate a first track on the first page to access a newest version of the data;
- a logic unit for acquiring a first lock to synchronize accesses to the first track;
- and
- a logic unit for determining that the first track stores the newest version of the data, in response to reading the entry while holding the first lock.
A computer program product comprising a computer readable medium having logic code stored thereon, wherein the logic code when executed on a computer causes the computer to:
- receive a request to access first data in a database, wherein the first data is located on a first page of the database;
- read an entry corresponding to the first page to locate a first track on the first page to access a newest version of the data;
- acquire a first lock to synchronize accesses to the first track;
- and
- determine that the first track stores the newest version of the data, in response to reading the entry while holding the first lock.
Dependencies are inferred from the claim text.