×

SELECTING FILES FOR COMPACTION

  • US 20150120684A1
  • Filed: 10/28/2014
  • Published: 04/30/2015
  • Est. Priority Date: 10/28/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • identifying two or more files, each of which include multiple entries;

    determining a respective size of each of the two or more files, each size being an estimate of how many distinct entries exist in the respective file that are not garbage entries;

    determining a combined size of the two or more files, where the combined size of the two or more files is an arithmetic sum of the respective sizes of the two or more files;

    estimating a compacted size of the two or more files, where the estimated compacted size of the two or more files is an estimate of how many distinct entries exist in the two or more files that are not garbage entries;

    selecting the two or more files for compaction, based at least on a comparison of the combined size of the two or more files to the estimated compacted size of the two or more files; and

    compacting the two or more selected files.

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