DATA STORAGE METHOD, DATA QUERY METHOD, AND APPARATUS
The present invention relates to the field of computers. Provided are a data storage method, a data query method and an apparatus. The data storage method comprises: receiving multiple pieces of stored data, each piece of stored data corresponding to a hash value; respectively storing the multiple p...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present invention relates to the field of computers. Provided are a data storage method, a data query method and an apparatus. The data storage method comprises: receiving multiple pieces of stored data, each piece of stored data corresponding to a hash value; respectively storing the multiple pieces of stored data into multiple contiguous different first storage units in a first storage region; and respectively storing multiple pieces location data corresponding to the multiple pieces of stored data into second storage units in a second storage region, the second storage region comprising multiple contiguous second storage units, each second storage unit corresponding to a hash value, and a hash value corresponding to a second storage unit in which data is stored being equal to a hash value corresponding to the stored data corresponding to the location data. In the solution, data is stored in a contiguous storage space, so that the stored data can be quickly loaded and quickly migrated.
L'invention a tra |
---|