Method and system for reducing garbage collection and write amplification of key-value separation storage system
A separate storage and write amplification technology, applied in the direction of memory system, file system, file system type, etc., can solve the problems of performance not increasing but degrading, and achieve the effects of improving efficiency, reducing garbage collection operations, and reducing frequency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] A method for reducing write amplification and garbage collection in a key-value separation storage system such as figure 1 As shown, it includes memory, NVM and SSD. A first storage area and a second storage area are created in NVM. The first storage area manages data in the form of LSM-tree, and the second storage area manages data in the form of memory pool;
[0062] Methods include:
[0063] LSM-tree insertion steps:
[0064] Insert the key-value pair into the variable table in the memory; after the variable table becomes an immutable table, the stored key-value pair will be flushed to the first storage area;
[0065] In a key-value separation storage system such as levelDB, before the key-value pair is inserted into the LSM-tree, it will be inserted into the variable table in the memory, that is, figure 1 The memtable in the variable table is specifically a kind of jump table; when the variable table is full, it will become an immutable table, that is, figure 1 T...
Embodiment 2
[0100] A key-value separation storage system, including: memory, NVM, and SSD. A first storage area and a second storage area are created in the NVM. The first storage area uses LSM-tree to manage data, and the second storage area uses a memory pool. manage data in the form of
[0101] The key-value separation storage system also includes a data management module, which includes:
[0102] The LSM-tree insertion unit is used to insert the key-value pair into the variable table in the memory; after the variable table becomes an immutable table, the stored key-value pair will be flushed to the first storage area;
[0103] The memory pool insertion unit is used to insert the key-value pair into the second storage area, and form a new key with the key key of the key-value pair and its storage address addr in the second storage area The value pair , and use the LSM-tree insertion unit to insert the key-value pair ;
[0104] The key-value pair insertion unit is used to ...
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