Data storage method and device
Embodiments of the invention provide a data storage method and device. The method comprises the following steps of: obtaining target data; estimating calculation delays consumed by storing the target data according to different preset storage manners; obtaining an access frequency of the target data...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Embodiments of the invention provide a data storage method and device. The method comprises the following steps of: obtaining target data; estimating calculation delays consumed by storing the target data according to different preset storage manners; obtaining an access frequency of the target data; when the access frequency is not lower than a first threshold value, determining the storage manner corresponding to the calculation delay with the minimum numerical value as a first target storage manner; otherwise, estimating a storage cost of each preset storage manner on the basis of the calculation delay of each preset storage manner and determining the storage manner corresponding to the storage cost with a minimum numerical value as the first target storage manner; and storing the target data according to the first target storage manner. Through the method and device provided by the invention, storage resources can be reasonably distributed for data.
本发明实施例提供了种数据存储方法及装置,所述方法包括:获得目标数据;估算所述目标数据按照预设的不同存储方式存储时 |
---|