Invention Grant
- Patent Title: Systems and methods for performing scalable Log-Structured Merge (LSM) tree compaction using sharding
-
Application No.: US16212550Application Date: 2018-12-06
-
Publication No.: US10909102B2Publication Date: 2021-02-02
- Inventor: Wenguang Wang , Richard P. Spillane , Junlong Gao , Robert T. Johnson , Christos Karamanolis , Maxime Austruy
- Applicant: VMware, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: VMware, Inc.
- Current Assignee: VMware, Inc.
- Current Assignee Address: US CA Palo Alto
- Agency: Patterson + Sheridan, LLP
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F16/22 ; H03M7/30

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.
Public/Granted literature
- US20200183905A1 SYSTEMS AND METHODS FOR PERFORMING SCALABLE LOG-STRUCTURED MERGE (LSM) TREE COMPACTION USING SHARDING Public/Granted day:2020-06-11
Information query