A Hierarchical Storage and Query Method Based on Key-Value Database
A query method and data storage technology, applied in the field of key-value databases, can solve the problems of difficult query of key-value databases, low overall efficiency, and long time consumption.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0068] Such as figure 2 As shown, the implementation steps of the hierarchical storage and query method based on the key-value database in this embodiment are as follows:
[0069] 1) Build a hierarchical key code naming rule in an orderly stored key-value database. The hierarchical key code naming rule defines the key code as beginning with a separator and consisting of alternate combinations of separators and substrings, and the number of separators Indicates the level of the key code; determine the size comparison method between two legal key codes, the larger the level, the larger the key code, and the key code with the same level will determine the size according to string comparison;
[0070] 2) Receive the access request of the key-value database, if the access request is a data storage request, skip to step 3), if the access request is a data query request, skip to step 4);
[0071] 3) Determine the key code sort position of the data storage request according to the size comp...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


