Patent · US Active

Systems and methods for performing scalable Log-Structured Merge (LSM) tree compaction using sharding

US10909102B2 · kind B2 · utility

4Cited by
0References
24Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 6, 2018
Grant dateFeb 2, 2021
Priority date
Expiry dateApr 4, 2039

Classification

  • Technology area (CPC H)Electricity
  • CPC primaryH03M7/6023
  • WIPO fieldBasic communication processes
  • WIPO sectorElectrical engineering

Abstract

Certain aspects provide systems and methods of compacting data within a log-structured merge tree (LSM tree) using sharding. In certain aspects, a method includes determining a size of the LSM tree, determining a compaction time for a compaction of the LSM tree based on the size, determining a number of compaction entities for performing the compaction in parallel based on the compaction time, determining a number of shards based on the number of compaction entities, and determining a key range associated with the LSM tree. The method further comprises dividing the key range by the number of shards into a number of sub key ranges, wherein each of the number of sub key ranges corresponds to a shard of the number of shards and assigning the number of shards to the number of compaction entities for compaction.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.