Database-transparent near online archiving and retrieval of data
First Claim
Patent Images
1. A computer implemented method of managing access to rows of a database table, the method comprising:
- receiving a database query from a database client, the database query comprising a command to search for rows of the database table containing a given value in a given column, wherein the rows of the database table are stored in a first data table on a first storage media and a second data table on a second storage media, wherein the first storage media has a lower access speed than the second storage media;
determining whether a value-existence structure contains the given value, the value-existence structure comprising a list of distinct values in the given column stored in the first data table,upon determining the value-existence structure contains the given value retrieving from the first data table the rows containing the given value and transmitting the rows of the first data table to the database client; and
retrieving from the second data table any rows containing the given value in the given column and transmitting any retrieved rows of the second data table to the database client.
1 Assignment
0 Petitions
Accused Products
Abstract
Method, program products and apparatus are disclosed for optimizing access to a data table. A value-existence structure is used to determine whether the data table contains rows for a given database query. The value-existence structure may be useful, for example, for managing transparent access to an online database and a nearline database.
17 Citations
18 Claims
-
1. A computer implemented method of managing access to rows of a database table, the method comprising:
-
receiving a database query from a database client, the database query comprising a command to search for rows of the database table containing a given value in a given column, wherein the rows of the database table are stored in a first data table on a first storage media and a second data table on a second storage media, wherein the first storage media has a lower access speed than the second storage media; determining whether a value-existence structure contains the given value, the value-existence structure comprising a list of distinct values in the given column stored in the first data table, upon determining the value-existence structure contains the given value retrieving from the first data table the rows containing the given value and transmitting the rows of the first data table to the database client; and retrieving from the second data table any rows containing the given value in the given column and transmitting any retrieved rows of the second data table to the database client. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer readable storage medium storing a program, which, when executed on a processor, performs an operation for managing access to rows of a database table, the operation comprising:
-
receiving a database query from a database client, the database query comprising a command to search for rows of the database table containing a given value in a given column, wherein the rows of the database table are stored in a first data table on a first storage media and a second data table on a second storage media, wherein the first storage media has a lower access speed than the second storage media; determining whether a value-existence structure contains the given value, the value-existence structure comprising a list of distinct values in the given column stored in the first data table, upon determining the value-existence structure contains the given value retrieving from the first data table the rows containing the given value and transmitting the rows of the first data table to the database client; and retrieving from the second data table any rows containing the given value in the given column and transmitting any retrieved rows of the second data table to the database client. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system, comprising:
-
a processor; and a memory storing a database management system tool for managing access to a first data table, which when executed on the processor is configured to perform an operation, comprising; receiving a database query from a database client, the database query comprising a command to search for rows of the database table containing a given value in a given column, wherein the rows of the database table are stored in a first data table on a first storage media and a second data table on a second storage media, wherein the first storage media has a lower access speed than the second storage media, determining whether a value-existence structure contains the given value, the value-existence structure comprising a list of distinct values in the given column stored in the first data table, upon determining the value-existence structure contains the given value retrieving from the first data table the rows containing the given value and transmitting the rows of the first data table to the database client, and retrieving from the second data table any rows containing the given value in the given column and transmitting any retrieved rows of the second data table to the database client. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification