A write amplification optimization method based on flow control for tree-like storage structure
A flow control and tree-like storage technology, applied in hardware monitoring, input/output to record carrier, etc., can solve problems such as large write amplification and excessive component data volume, reduce write amplification, improve overall performance, and write throughput volume-boosting effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0033] Example 1 LSM-Tree write amplification optimization method based on flow control
[0034] The present invention is implemented and tested based on RocksDB. The specific implementation method is as follows:
[0035] 1) Feedback stage
[0036] Feedback is that before each RocksDB merge operation, each component counts its current data volume and reports to the listener. Each component has metadata, which mainly records its own basic information such as the number of files, data volume, and key value range, so the current data volume can be obtained directly from the metadata.
[0037] 2) Calculation stage
[0038] Calculation refers to judging whether flow control is required, and calculating the strength of flow control. After the data volume of each component is obtained through the feedback stage, it is judged whether the data volume of each component exceeds the threshold. If the data volume of all components does not exceed the corresponding threshold, no flow c...
example 2
[0041] Example 2 LSM-Tree write amplification optimization method based on flow control
[0042] When the present invention is applied, only the data volume of one or several components can be monitored according to the actual situation. For the second component, hereinafter referred to as C 2 , to monitor:
[0043] 1) Feedback stage
[0044] Before each RocksDB merge operation, count C 2 The data volume of the component. The statistical method is mainly by traversing the C 2 Component metadata, read in C 2 The size of each file above, add them up to get C 2 The current total amount of data of the component.
[0045] 2) Calculation stage
[0046] C through feedback 2 After the amount of data, judge C 2 Does the amount of data exceed that of C 2 If the threshold value is not exceeded, no flow control is performed; otherwise, flow control is required, and the flow control strength is calculated by the following formula: flow control strength N=0.5n 2 +0.5n, where n=C...
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