Key value separation storage method and system for delayed garbage collection based on LSM tree
A separate storage and LSM tree technology, applied in database distribution/replication, special data processing applications, instruments, etc., can solve the problems of low frequency of LSM tree merging, statistical information lag, consumption performance, etc., to reduce query delay and optimize the overall Efficiency, reducing the effect of small resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] A key-value separation storage method based on delayed garbage collection of an LSM tree, the specific steps of the method are as follows:
[0038] The upper layer application of S1 encapsulates key-value data into key-value entries, and writes key-value entries into key-value files according to logical blocks for persistent storage;
[0039] S2 queries the jump table in the memory and the sorted string table at level 0 in the index module;
[0040] The upper layer application of S3 calls the garbage collection interface of the key-value storage system for separate storage;
[0041] The writing process of the key-value storage system in the method embodiment of the present invention is as follows: figure 1 As shown, according to the S1 upper-layer application calling the write operation interface of the key-value storage system, the written key-value data is encapsulated into a key-value entry, which contains the index key, value, and metadata that may be queried. The...
Embodiment 2
[0063] A key-value separation storage system based on LSM tree-based delayed garbage collection, the system specifically includes an encapsulation storage module, a query sorting module and a separation storage module:
[0064] Encapsulation storage module: the upper layer application encapsulates key-value data into key-value entries, and writes key-value entries into key-value files according to logical blocks for persistent storage;
[0065] Query sorting module: query the jump table in memory and the sorting string table at layer 0 in the index module;
[0066] Separate storage module: the upper application calls the garbage collection interface of the key-value storage system for separate storage;
[0067] Further, the query sorting module specifically includes a first query module and a second query module:
[0068] The first query module: directly returns the required metadata information after querying the corresponding index entry;
[0069] The second query module: ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com