×

Structure of hierarchical compressed data structure for tabular data

  • US 8,935,223 B2
  • Filed: 11/12/2009
  • Issued: 01/13/2015
  • Est. Priority Date: 04/30/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving a set of tabular data to populate a database table;

    wherein the set of tabular data is divided into a plurality of rows in a particular row order, each of which includes data for a particular set of columns in a particular column order;

    storing to a non-volatile storage, data for a first set of rows, of said plurality of rows, in a first compression unit, wherein the first set of rows is organized within the first compression unit in row-major format;

    wherein the first set of rows includes a first row, a second row, and a third row;

    wherein, within the particular row order, the first row precedes the second row, and the second row precedes the third row;

    wherein the row-major format organization is such thatthe entirety of the first row precedes the entirety of the second row,the entirety of the second row precedes the entirety of the third row, andwithin each of the first, second and third rows, each column is stored in the non-volatile storage according to the particular column order;

    storing to the non-volatile storage, data for a second set of rows, of said plurality of rows, in a second compression unit, wherein the second set of rows is organized within the second compression unit in column-major format;

    wherein the second set of rows include a fourth row, a fifth row, and a sixth row;

    wherein the column-major format is such thatvalues for a first column of the fourth, fifth and sixth rows precede values for a second column of the fourth, fifth and sixth rows; and

    values for the second column of the fourth, fifth and sixth rows precede values for a third column of the fourth, fifth and sixth rows; and

    for each of the first, second and third columns, values for the column are stored in the non-volatile storage according to the particular row order;

    wherein the first compression unit and the second compression unit are structures on the non-volatile storage for organizing the tabular data;

    storing data that indicates whether, within said first compression unit, data for said first set of rows is stored in column-major format or in row-major format;

    wherein the steps of receiving and storing are performed by one or more computing devices.

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