×

Rollover strategies in a N-bit dictionary compressed column store

  • US 9,489,409 B2
  • Filed: 10/17/2013
  • Issued: 11/08/2016
  • Est. Priority Date: 10/17/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving a new value for addition to a compressed column store, the compressed column store including a plurality of tokens, each token corresponding to a value in a data dictionary, and being associated with a row identifier (RID) in the compressed column store;

    determining an insertion block of the compressed column store, the insertion block being a physical or virtual memory block where new tokens are inserted;

    determining that a current memory block of a most recently added token to the compressed column store is the insertion block, the compressed column store including one or more memory blocks each with a maximum token value that indicates a storage capacity for tokens within a respective memory block based on an encoding of the respective memory block;

    determining that the maximum token value has been reached for the current memory block based on type of encoding of the current memory block;

    creating a new virtual memory block using the current memory block, wherein the new virtual memory block has an encoding greater than the encoding of the current memory block, wherein the new virtual memory is designated as the insertion block, and wherein the tokens of the current memory block remain in the current memory block while new tokens are stored in the virtual memory block; and

    storing a token corresponding to the new value in the new virtual memory block, wherein the token corresponding to the new value in the new virtual memory block is accessed in a same manner as existing tokens in the current memory block.

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