| CPC G06F 3/0608 (2013.01) [G06F 3/0653 (2013.01); G06F 3/0673 (2013.01)] | 20 Claims |

|
1. A method for compressing data, comprising:
determining a plurality of access levels of a plurality of storage areas in a storage space based on a plurality of input/output (IO) counts of the plurality of storage areas in a historical time period;
determining an access level threshold based on utilization of the storage space;
selecting at least one target storage area among the plurality of storage areas based on the plurality of access levels and the access level threshold; and
compressing a plurality of pages in the at least one target storage area;
wherein determining the plurality of access levels of the plurality of storage areas comprises:
dividing the historical time period into a plurality of segments;
determining a plurality of segment IO counts of a first storage area among the plurality of storage areas in the plurality of segments; and
determining a first access level of the first storage area based on the plurality of segment IO counts and one or more corresponding segment access levels.
|