×

Method for accelerating access to a database clustered partitioning

  • US 5,710,915 A
  • Filed: 12/21/1995
  • Issued: 01/20/1998
  • Est. Priority Date: 12/21/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for storing and accessing records in a database table, the method comprising the steps of:

  • (a) selecting at least two search fields from the input data table;

    (b) defining a bit-interleaved key field comprising(b1) for each field selected in step (a), determining a percentage of queries that will use the field,(b2) from the fields selected in step (a), selecting a field having the highest percentage of queries as defined in step (b),(b3) selecting a most significant bit from the field selected in step (b2),(b4) assigning the bit selected in step (b3) as a bit of the bit-interleave key field,(b5) reducing the percentage of queries for the field selected in step (b2) by a predetermined amount,(b6) repeating steps (b2) through (b5) until the bit-interleave key field has all bits assigned;

    (c) attaching a unique record identifier to each record in the input data table;

    (d) defining a search table within the database comprising(d1) building a key field as defined in step (b) for each record in the input data table, and(d2) combining the record identifier defined in step (c), the key field as built in step (d1), and the fields selected in step (a), for each record in the input data table and writing this combination to the search table;

    (e) defining a detail table within the database comprising(e1) combining the record identifier defined in step (c) and the remaining fields from each record in the input data table, and writing this combination to the detail table; and

    (f) receiving a search request comprising a set of value constraints and retrieving a set of all records satisfying the value constraints from the search table and detail table comprising(f1) determining whether at least one record in the search table may satisfy the set of value constraints,(f2) when step (f1) determines that at least one record may satisfy the set of value constraints, comparing the values of the fields in each record in the search table to the set of value constraints, and(f3) for each record selected in step (f2) using the record identifier to retrieve a corresponding record from the detail table.

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