Method and system for hybrid memory oriented power failure recovery
A hybrid memory and power-off recovery technology, applied in the field of big data, can solve problems such as difficult practical application, high cost of non-volatile memory, and MemKV technology development limitations, and achieve high-performance, high-reliability power-off recovery effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment example 1
[0049] In this implementation example, the index is organized in a B+ tree structure, all leaf nodes and non-leaf nodes are in order, and the numbers and addresses of all files are stored in the leaf nodes. The default recovery time node of the system is the power-off time. The default recovery level of the system is the first recovery level.
[0050] The recovery process is as follows:
[0051] (1) The system loses all content in DRAM due to abnormal power failure.
[0052] (2) After the power is turned on, the user starts the machine, and the operating system is automatically loaded.
[0053] (3) Since the recovery time node is the power-off time, all entries in the metadata area are retained.
[0054] (4) sequentially read 13 pieces of metadata in the metadata area, and rebuild the index area according to the generation rules of the B+ tree index (common knowledge in this field), the index area after recovery is as follows Figure 5 shown.
[0055] (5) Restore the hot ...
Embodiment example 2
[0068] In this implementation example, the index is organized in a B+ tree structure, all leaf nodes and non-leaf nodes are in order, and the numbers and addresses of all files are stored in the leaf nodes. The recovery time node specified by the user is December 10, 2018. The user-specified recovery level is the second recovery level.
[0069] The recovery process is as follows:
[0070] (1) The user actively triggers system recovery, and the system restarts immediately.
[0071] (2) Immediately, all of the DRAM is lost, and the operating system is automatically loaded.
[0072] (3) Items 1-6 in the metadata area are retained, items 7-13 are deleted, and entries 7-13 in the data area are deleted.
[0073] (4) Sequentially read the remaining 6 pieces of metadata in the metadata area, and rebuild the index area according to the generation rules of the B+ tree index (common knowledge in this field), and the restored index area is as follows: Figure 7 shown.
[0074] (5) Re...
Embodiment example 3
[0079] In this implementation example, the index is organized using a hash structure, and the numbers and addresses of all files are stored in the specified hash bucket. The hash algorithm is to find the remainder after dividing by 7. The default recovery time node of the system is the power-off time. The default recovery level of the system is the third recovery level.
[0080] The recovery process is as follows:
[0081] (1) The system loses all content in DRAM due to abnormal power failure.
[0082] (2) After the power is turned on, the user starts the machine, and the operating system is automatically loaded.
[0083] (3) Since the recovery time node is the power-off time, all entries in the metadata area are retained.
[0084] (4) sequentially read 13 pieces of metadata in the metadata area, and rebuild the index area according to the generation rules of the hash index (common knowledge in this field) and the hash algorithm specified by the user. The restored index are...
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