×

Generating a multi-column index for relational databases by interleaving data bits for selectivity

  • US 10,394,848 B2
  • Filed: 07/29/2013
  • Issued: 08/27/2019
  • Est. Priority Date: 07/29/2013
  • Status: Active Grant
First Claim
Patent Images

1. A distributed data warehouse system, comprising:

  • a plurality of compute nodes, each comprising one or more hardware processors, implementing;

    one or more persistent storage devices providing storage for a columnar relational database table, wherein the one or more persistent storage devices comprise a plurality of data blocks;

    a multi-column key generator, configured to;

    identify at least two columns of a plurality of columns of the columnar relational database table; and

    generate a multi-column index for the columnar relational database table based, at least in part, on an interleaving of respective data bits for selectivity from respective portions of respective data values from the identified at least two columns, wherein said multi-column index provides a respective index value for each entry of a plurality of entries of the columnar relational database table;

    a write module, configured to;

    direct the one or more persistent storage devices to store the plurality of entries of the columnar relational database table, wherein the plurality of entries of the columnar relational database table are directed to be stored in one or more of the plurality of data blocks of the one or more persistent storage devices in sorted order according to the respective index value for each of the plurality of entries; and

    direct the one or more persistent storage devices to store metadata indicating multi-column index value ranges corresponding to the index values of the respective entries stored in each of the one or more data blocks.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×