KV memory database storage management method based on range fragmentation mode
A storage management and database technology, applied in the field of KV in-memory database storage management based on range sharding, can solve problems such as reducing access performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment
[0070] The KV in-memory database storage management method based on range fragmentation mode of the present invention comprises the following steps:
[0071] S1. When the database is started, create the first range storage area, and start a background thread to sequentially take out the range storage areas from the queue to be processed, determine the need for expansion, split or reduction, and call the corresponding algorithm for processing.
[0072] S2. When inserting data into the database, use the new KV data insertion algorithm to insert data into a storage area of a certain range, and judge whether the storage area of this range needs to be expanded or dismantled, and if necessary, put the storage area of this range into the waiting queue.
[0073] S3. When the database deletes data, after the data is deleted using the KV data deletion algorithm, it is judged whether the range storage area needs to be reduced, and if necessary, the range storage area is put into the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More