×

Unified architecture for hybrid database storage using fragments

  • US 9,286,336 B2
  • Filed: 03/12/2013
  • Issued: 03/15/2016
  • Est. Priority Date: 03/12/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising:

  • storing, in a plurality of main part fragments retained in on-disk storage, a plurality of data records that comprise a data set, each fragment comprising a number of data records that is equal to or less than a defined maximum fragment size;

    compressing each fragment of the plurality of fragments using a compression that is optimized for each fragment;

    reading at least one of the plurality of fragments into main system memory from the on-disk storage; and

    performing an operation on the at least one of the plurality of fragments while the at least one of the plurality of fragments is in the main system memory;

    executing a merge of an existing delta part with the data set, the merge comprising;

    copying one or more uncommitted rows from the existing delta part to a new delta part;

    creating a temporary, in-memory data structure containing data from an existing main fragment and committed rows from the existing delta;

    re-sorting the temporary, in-memory data structure to allow achievement of maximal compression of the data records; and

    storing data from the re-sorted, temporary, in-memory data structure to a new main fragment;

    storing cleanup pointers at a start of the merge, the cleanup pointers indicating start and stop locations for the temporary data structure.

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