×

Adaptive dictionary compression/decompression for column-store databases

  • US 10,235,377 B2
  • Filed: 12/23/2013
  • Issued: 03/19/2019
  • Est. Priority Date: 12/23/2013
  • Status: Active Grant
First Claim
Patent Images

1. One or more non-transitory computer-readable media storing computer-executable instructions for causing a computing system, when programmed thereby, to perform operations comprising:

  • evaluating at least some of multiple available compression variants to apply to a string dictionary for a column of a table in a column-store database, wherein the string dictionary maps distinct values among values of the column to value identifiers, each of the distinct values being a string of one or more characters, and wherein the evaluating uses compression models for the respective at least some of the multiple available compression variants, a given compression model of the compression models estimating compressed dictionary size of the string dictionary for a given compression variant of the multiple available compression variants without applying the given compression variant to the string dictionary;

    selecting, based at least in part on results of the evaluating, one of the multiple available compression variants to apply to the string dictionary; and

    applying the selected compression variant to the string dictionary, thereby reducing the compressed dictionary size of the string dictionary, including, for each of at least one of the distinct values of the string dictionary, replacing at least one character of the string for the distinct value with one or more codes that represent the replaced at least one character, the one or more codes being shorter than the replaced at least one character.

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