×

Query and exadata support for hybrid columnar compressed data

  • US 10,025,820 B2
  • Filed: 09/08/2014
  • Issued: 07/17/2018
  • Est. Priority Date: 11/12/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • a storage system comprising a processor and memory storing rows of database tables in a plurality of data blocks in non-volatile storage, each data block of said plurality of data blocks storing one or more columns of one or more rows of a database table of said database tables, said database tables being managed by a database management system (“

    DBMS”

    ) configured to return data from said database tables in response to database queries issued to the DBMS by clients of the DBMS;

    wherein said storage system is configured to return, in entirety, requested data blocks to said DBMS in response to a request made via a network by the DBMS, wherein the request identifies the requested data blocks;

    said storage system receiving a particular request via said network for particular data blocks filtered according to particular one or more column criteria, said particular request identifying said particular data blocks and said particular one or more column criteria; and

    in response to said storage system receiving said particular request for the particular data blocks;

    said storage system scanning said particular data blocks for particular rows having column values that satisfy said particular one or more column criteria;

    said storage system storing in a return buffer the particular rows having column values that satisfy said particular one or more column criteria; and

    said storage system returning the particular rows stored in said return buffer to said DBMS;

    wherein scanning said particular data blocks for particular rows having column values that satisfy said particular one or more column criteria includes, for a particular subset of said particular data blocks;

    retrieving data values only for a first column identified in a first criterion of said particular one or more column criteria;

    evaluating the first criterion based on data values in the first column;

    storing, at a position within a first vector, a criteria satisfaction value corresponding to a row of the particular rows that indicates that a data value in the first column of the row that satisfies the first criterion;

    determining to evaluate a second criterion;

    storing, at a position within a second vector, a second criterion satisfaction value corresponding to a row of the particular rows that indicates that a data value in a second column of the row that satisfies the second criterion;

    wherein the second criterion identifies the second column;

    performing an operation on the first vector and the second vector and storing results of the operation in a cumulative vector.

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