Data caching method, electronic equipment and computer readable medium
The embodiment of the invention discloses a data caching method, electronic equipment and a computer readable medium. The data caching method comprises the following steps: firstly, acquiring a firstdata size of to-be-cached data and a second data size of a data set to which the to-be-cached data be...
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 embodiment of the invention discloses a data caching method, electronic equipment and a computer readable medium. The data caching method comprises the following steps: firstly, acquiring a firstdata size of to-be-cached data and a second data size of a data set to which the to-be-cached data belongs; secondly, determining cache thresholds corresponding to the first data size and the second data size; and then determining a cache mode corresponding to the cache threshold, so as to perform data caching on the data set comprising the to-be-cached data through the corresponding cache mode. The caching mode is determined based on the first data size of the to-be-cached data and the second data size of the data set to which the to-be-cached data belongs. Therefore, the caching mode suitable for different data sets can be determined according to the different data sets; the cache allocation of the data set is intelligently carried out according to the attributes of the data set, and a plurality of different cac |
---|