Abstract:
A storage device obtains data access temperature of a first storage unit group The data access temperature of the first storage unit group is determined by data access temperature of each storage unit, and the data access temperature of each storage unit is determined by a logical unit in which the storage unit is located. When the data access temperature of the first storage unit group reaches a specified threshold, the storage device migrates data in the first storage unit group to a second storage unit group. Access performance of the second storage unit group is higher than access performance of the first storage unit group. Practicing the implementations of this application, accuracy of collecting statistics about data access temperature can be improved, thereby improving hierarchical storage performance of a storage device.
Abstract:
A method, an apparatus, and a system for calculating a identification threshold to distinguish cold data and hot data. The method includes: obtaining, according to a total capacity of hot data storage mediums, a size of data blocks, and the IO count statistical values on all the storage nodes and when the hot data storage mediums are filled with the data blocks corresponding to large IO count statistical values, a minimum IO count value in a count range corresponding to a minimum IO count statistical value in the large IO count statistical value, and using the minimum IO count value as a identification threshold to distinguish cold data and hot data. In the present invention, all storage nodes in a storage system, independently but cooperatively, implement hierarchical data storage in the entire storage system.