Method for generating a multi-tiered index for partitioned data
First Claim
1. A method for generating a multi-tiered indexing structure for a partitioned database of objects, the partitioned database having a plurality of partitions, the method comprising the computer-implemented steps of:
- a) creating a respective second index table of second index key values for each respective one of the partitions of the database, each second index table containing at least one second index entry for each object in the respective partition of the database; and
b) creating a first index table containing at least one unique first index entry for each distinct second index key value in each of the respective second index tables.
2 Assignments
0 Petitions
Accused Products
Abstract
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.
-
Citations
3 Claims
-
1. A method for generating a multi-tiered indexing structure for a partitioned database of objects, the partitioned database having a plurality of partitions, the method comprising the computer-implemented steps of:
-
a) creating a respective second index table of second index key values for each respective one of the partitions of the database, each second index table containing at least one second index entry for each object in the respective partition of the database; and b) creating a first index table containing at least one unique first index entry for each distinct second index key value in each of the respective second index tables. - View Dependent Claims (2, 3)
-
Specification