×

Storing compression units in relational tables

  • US 8,645,337 B2
  • Filed: 04/28/2010
  • Issued: 02/04/2014
  • Est. Priority Date: 04/30/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • storing data for database tables in a storage device, the storage device comprising a memory organized into data blocks conforming to a data block format, the data block format including data block metadata and one or more data block rows;

    storing uncompressed data for a first plurality of the database tables in a first set of the data blocks, each data block of the first set of the data blocks comprising a plurality of data block rows, each data block row of the plurality of data block rows storing data from only one table row from the first plurality of the database tables;

    for a particular table that is not in the first plurality of the database tables, generating compressed data by compressing data from multiple table rows in the particular table, wherein said compressing comprises generating the compressed data and structuring the compressed data in a compression unit that does not conforms to the data block format;

    storing the compression unit in one or more data block rows of a second set of one or more of the data blocks, said storing comprising storing at least a portion of the compression unit in a particular data block row of a particular data block of the data blocks;

    wherein the portion of the compression unit comprises compressed data from a plurality of the table rows from the particular table, wherein the particular data block row thus comprises compressed data from the plurality of the table rows;

    wherein the method is performed by one or more computing devices.

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