Frequency dependent partial index
First Claim
Patent Images
1. A method comprising:
- receiving, by one or more processors, a database containing a plurality of columns;
determining, by the one or more processors, a key index for the database, wherein the key index includes a plurality of pointers to a plurality of records of the database;
determining, by the one or more processors, one or more access frequency values for columns associated with the key index;
determining, by the one or more processors, for a plurality of key values in the key index, a frequency of switching of a given key value in a given column associated with the key index to a column associated with a partial key index, wherein switching includes both of (i) an addition of the given key value to a column of the partial key index and (ii) a removal of the given key value from the column associated with the key index;
generating, by the one or more processors, the partial key index based, at least in part, on (a) the one or more access frequency values for the columns in the key index; and
(b) respective frequency of switching of key values for the columns in the key index, wherein the partial key index includes a subset of pointers from the plurality of pointers of the key index; and
generating, by the one or more processors, a partial database based on the partial key index, wherein the partial database includes a subset of rows from the database.
1 Assignment
0 Petitions
Accused Products
Abstract
Using historical queries to determine database columns to populate a partial database. A partial database is created based, at least in part, on key values related to columns in a database for which the columns are most frequently accessed.
-
Citations
9 Claims
-
1. A method comprising:
-
receiving, by one or more processors, a database containing a plurality of columns; determining, by the one or more processors, a key index for the database, wherein the key index includes a plurality of pointers to a plurality of records of the database; determining, by the one or more processors, one or more access frequency values for columns associated with the key index; determining, by the one or more processors, for a plurality of key values in the key index, a frequency of switching of a given key value in a given column associated with the key index to a column associated with a partial key index, wherein switching includes both of (i) an addition of the given key value to a column of the partial key index and (ii) a removal of the given key value from the column associated with the key index; generating, by the one or more processors, the partial key index based, at least in part, on (a) the one or more access frequency values for the columns in the key index; and
(b) respective frequency of switching of key values for the columns in the key index, wherein the partial key index includes a subset of pointers from the plurality of pointers of the key index; andgenerating, by the one or more processors, a partial database based on the partial key index, wherein the partial database includes a subset of rows from the database. - View Dependent Claims (2, 3)
-
-
4. A computer program product comprising:
one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising; program instructions to receive a database containing a plurality of columns; program instructions to determine a key index for the database, wherein the key index includes a plurality of pointers to a plurality of records of the database; program instructions to determine one or more access frequency values for columns associated with the key index; program instructions to determine for a plurality of key values in the key index, a frequency of switching of a given key value in a given column associated with the key index to a column associated with a partial key index, wherein switching includes both of (i) an addition of the given key value to a column of the partial key index and (ii) a removal of the given key value from the column associated with the key index; program instructions to generate the partial key index based, at least in part, on (a) the one or more access frequency values for the columns in the key index; and
(b) respective frequency of switching of key values for the columns in the key index, wherein the partial key index includes a subset of pointers from the plurality of pointers of the key index; andprogram instructions to generate a partial database based on the partial key index, wherein the partial database includes a subset of rows from the database. - View Dependent Claims (5, 6)
-
7. A computer system comprising:
-
one or more computer processors; one or more computer readable storage media; and program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising; program instructions to receive a database containing a plurality of columns; program instructions to determine a key index for the database, wherein the key index includes a plurality of pointers to a plurality of records of the database; program instructions to determine one or more access frequency values for columns associated with the key index; program instructions to determine for a plurality of key values in the key index, a frequency of switching of a given key value in a given column associated with the key index to a column associated with a partial key index, wherein switching includes both of (i) an addition of the given key value to a column of the partial key index and (ii) a removal of the given key value from the column associated with the key index; and program instructions to generate the partial key index based, at least in part, on (a) the one or more access frequency values for the columns in the key index; and
(b) respective frequency of switching of key values for the columns in the key index, wherein the partial key index includes a subset of pointers from the plurality of pointers of the key index; andprogram instructions to generate a partial database based on the partial key index, wherein the partial database includes a subset of rows from the database. - View Dependent Claims (8, 9)
-
Specification