Multi-tiered indexing method for partitioned data
AssigneeInternational Business Machines Corporation
InventorsDavid M. Choy, Chandrasekaran Mohan
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsDavid M. Choy, Chandrasekaran Mohan
Estimating the term…
A multi-tiered indexing method is disclosed for a partitioned table in a parallel or distributed database system. A Local Index is created and maintained for each partition of the table and a Coarse Global Index is created and maintained. The Coarse Global Index identifies the indexed partition(s) by partition identifiers (PIDs) and associates the individual Index Key Values with their target partitions so that an access request with a highly partition-selective search predicate on the Index Key can be quickly and easily directed to the target partition(s) for processing. An index maintenance locking protocol is also disclosed which handles the insertion and deletion of index entries and assures the consistency between the Local Index entries and the Coarse Global Index entries during concurrent index accesses by different transactions. The locking protocol minimizes locking only to those cases involving an inserted or deleted key and to the key following and possibly the key preceding the inserted or deleted key to allow high concurrency between simultaneous Readers, Inserters, and Deleters. This method enhances the efficiency of complex query evaluation and index maintenance and attains a high throughput for transaction processing.
A method for maintaining consistency between a second index table and a first index table in a multi-tiered index structure to handle the insertion of an index entry into a unique index, the multi-tiered index structure including a respective second index table of index key values corresponding with each respective partition of a partitioned database and a first index table containing at least one unique first index entry for each index key value in each of the respective second index tables,
A method for maintaining consistency between a second index table and a first index table in a multi-tiered index structure to handle the deletion of an index entry in a unique index, the multi-tiered index structure including a respective second index table of index key values corresponding with each respective partition of a partitioned database and a first index table containing at least one unique first index entry for each index key value in each of the respective second index tables,
A method for maintaining consistency between a second index table and a first index table in a multi-tiered index structure to handle the insertion of an index entry into a non-unique index, the multi-tiered index structure including a respective second index table of index key values corresponding with each respective partition of a partitioned database and a first index table containing at least one unique first index entry for each index key value in each of the respective second index tables,
A method for maintaining consistency between a second index table and a first index table in a multi-tiered index structure to handle the deletion of an index entry into a non-unique index, the multi-tiered index structure including a respective second index table of index key values corresponding with each respective partition of a partitioned database and a first index table containing at least one unique first index entry for each index key value in each of the respective second index tables,
A method for generating a multi-tiered indexing structure for a partitioned database of objects, the database including a plurality of partitions, the method comprising the computer-implemented steps of:
A computer program product, for use in a partitioned computer database system of objects, the database system including a plurality of partitions, for generating a multi-tiered indexing on structure, the computer program product comprising:
A computer program product for use in a partitioned computer database system of objects for maintaining consistency between a second index table and a first index table in a multi-tiered index structure to handle the insertion of an index entry into a unique index, the multi-tiered index structure including a respective second index table of index key values corresponding with each respective partition of a partitioned database and a first index table containing at least one unique first index entry for each index key value in each of the respective second index tables,
A computer program product for use in a partitioned computer database system of objects for maintaining consistency between a second index table and a first index table in a multi-tiered index structure to handle the deletion of an index entry in a unique index, the multi-tiered index structure including a respective second index table of index key values corresponding with each respective partition of a partitioned database and a first index table containing at least one unique first index entry for each index key value in each of the respective second index tables,
A computer program product for use in a partitioned computer database system of objects for maintaining consistency between a second index table and a first index table in a multi-tiered index structure to handle the insertion of an index entry into a non-unique index, the multi-tiered index structure including a respective second index table of index key values corresponding with each respective partition of a partitioned database and a first index table containing at least one unique first index entry for each index key value in each of the respective second index tables,
A computer program product for use in a partitioned computer database system of objects for maintaining consistency between a second index table and a first index table in a multi-tiered index structure to handle the deletion of an index entry in a unique index, the multi-tiered index structure including a respective second index table of index key values corresponding with each respective partition of a partitioned database and a first index table containing at least one unique first index entry for each index key value in each of the respective second index tables,
A partitioned database computer system comprising:
Dependencies are inferred from the claim text.