Data storage method and device, electronic equipment and readable storage medium
The invention provides a data storage method and device, electronic equipment and a readable storage medium, and relates to the technical field of data processing. The method comprises the following steps: acquiring to-be-stored data and an index value; based on the index value, a target leaf node i...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a data storage method and device, electronic equipment and a readable storage medium, and relates to the technical field of data processing. The method comprises the following steps: acquiring to-be-stored data and an index value; based on the index value, a target leaf node is determined from the tree-shaped index structure, the target leaf node comprises storage position information, and a data structure of a storage position corresponding to the storage position information comprises a storage flag bit, an effective flag bit, a first data storage bit and a second data storage bit; based on the storage position information, the storage position of the to-be-stored data is determined, the to-be-stored data is stored to the first data storage bit, the storage flag bit is set to be available, and the effective flag bit is set to be effective to the first data storage bit. According to the method, the data structure is optimized, so that the dirty data is prevented from influencing readin |
---|