×

Multi-tiered indexing method for partitioned data

  • US 5,551,027 A
  • Filed: 09/11/1995
  • Issued: 08/27/1996
  • Est. Priority Date: 01/07/1993
  • Status: Expired due to Term
First Claim
Patent Images

1. 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,i) wherein the second index table has a second index identifier and contains second index entries, each of the second index entries having an identifier which identifies an object in the respective database partition corresponding with the second index table, and having a second index key value which relates to the identified object, at least some of the index key values being distinct, andii) wherein the first index table has at least one first index entry for each distinct one of the second index key values in each second index table, each of the first index entries having a second index identifier which identifies a second index table, and having a first index key value which relates to one of the second index key values in the identified second index table,the method comprising the computer-implemented steps of:

  • A) determining if the second index key value in the index entry to be inserted is already present in the second index table;

    B) if the second index key value in the index entry to be inserted is already present in the second index table, then rejecting the insertion; and

    C) if the second index key value in the index entry to be inserted is not already present in the second index table, then performing the steps of;

    1) inserting the index entry into the second index table;

    2) determining if the first index key value which relates to the second index key value is already present in the first index table, and3) if the first index key value which relates to the second index key value is already present, performing the steps of;

    i) deleting the inserted second index entry from the second index table; and

    ii) rejecting the insertion;

    4) determining if the first index key value which relates to the second index key value is present in the first index table, and,5) if the first index key value which relates to the second index key value is not present, then inserting, into the first index table,i) a first index entry having a first index key value relating to the second index key value; and

    ii) a second index identifier identifying the second index table.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×