×

Columnar storage of a database index

  • US 10,496,621 B2
  • Filed: 10/23/2015
  • Issued: 12/03/2019
  • Est. Priority Date: 03/08/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer system, comprising:

  • at least one processor;

    at least one memory storing a columnar index associated with a single relational database table, the columnar index comprising;

    a column store comprising a plurality of rows of the columnar index stored in a column-wise fashion, wherein the columnar index associated with the single relational database table is divided into a plurality of segments, wherein individual segments of the plurality of segments correspond to individual subsets of a plurality of rows of the single relational database table, and wherein the column store includes a plurality of column arrays for the individual segments of the plurality of segments; and

    a delta store comprising particular rows of the columnar index that have been updated or deleted stored in a row-wise fashion,wherein the computer system is configured to;

    for individual segments of the plurality of segments, store respective absence flag arrays in the column store, wherein the respective absence flag arrays include flags corresponding to individual rows of a corresponding segment, and wherein the respective absence flag arrays indicate which rows of the corresponding segment have been logically deleted from the column store;

    in response to an update for a first row of a first segment, in a first absence flag array corresponding to the first segment, set a first flag identifying the first row;

    in response to a delete for a second row of the first segment, in the first absence flag array corresponding to the first segment, set a second flag identifying the second row; and

    in response to a query, execute a query processing engine configured to execute the query by concurrently executing;

    a first query operator on the column store in a column-wise fashion, anda second query operator on the delta store in a row-wise fashion.

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