Invention Grant
- Patent Title: Merges using key range data structures
-
Application No.: US17009605Application Date: 2020-09-01
-
Publication No.: US11537569B2Publication Date: 2022-12-27
- Inventor: Rohit Agrawal , Aditya Shetty , Kaushal Mittal , Terry Chong , Thomas Fanghaenel , Vaibhav Arora
- Applicant: salesforce.com, inc.
- Applicant Address: US CA San Francisco
- Assignee: salesforce.com, inc.
- Current Assignee: salesforce.com, inc.
- Current Assignee Address: US CA San Francisco
- Agency: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- Agent Mark D. Seegers; Dean M. Munyon
- Main IPC: G06F16/22
- IPC: G06F16/22 ; G06F16/21 ; G06F21/62

Abstract:
Techniques are disclosed relating to merge operations for multi-level data structures, such as log-structured merge-trees (LSM trees). A computer system may store, in a database, a plurality of files as part of an LSM tree and a plurality of database key structures. A given one of the plurality of database key structures may indicate, for a corresponding one of the plurality of files, a set of key ranges derived from database records that are included in the corresponding file. The computer system may determine, using ones of the plurality of database key structures, a key range overlap that is indicative of an extent of overlap of key ranges from a set of the plurality of files with respect to a particular key range. Based on the determined key range overlap, the computer system may assign a priority level to a merge operation that involves the set of files.
Public/Granted literature
- US20220067004A1 MERGES USING KEY RANGE DATA STRUCTURES Public/Granted day:2022-03-03
Information query