A computer-implemented method for managing data in a partition table based on creation time of data in partitions of the partition table, comprising: obtaining (1001, 1101, 1201, 1301, 1401) a creation duration range of data belonging to a same period of time and combined into a target partition in the partition table at a current point in time, wherein the creation duration range of the data of a target partition in the partition table is a combination of a minimum duration and a maximum duration, the minimum duration is a distance between a latest creation time of data in a range of creation times and the current point in time, and the maximum duration is a distance between an earliest creation time of data in the range of creation times and the current point in time; obtaining (1002, 1102, 1202, 1302, 1402) a geographical area to which the target partition belongs, historical access information of the target partition, or a service type of the target partition; and when the creation duration range of the data of the target partition meets a predetermined time range of a first storage stage and a preset condition is met, altering (1004, 1104, 1204, 1304, 1404) the data that is of the target partition and that has been stored based on a storage policy corresponding to a second storage stage to be stored based on a storage policy corresponding to the first storage stage, wherein storage performance of the first storage stage is lower than storage performance of the second storage stage; and the preset condition comprises one or a combination of the following three conditions: the geographical area to which the target partition belongs is a target area, the historical access information of the target partition meets a target condition, and the service type of the target partition is a target service type. obtaining (1001, 1101, 1201, 1301, 1401) a creation duration range of data belonging to a same period of time and combined into a target partition in the partition table at a current point in time, wherein the creation duration range of the data of a target partition in the partition table is a combination of a minimum duration and a maximum duration, the minimum duration is a distance between a latest creation time of data in a range of creation times and the current point in time, and the maximum duration is a distance between an earliest creation time of data in the range of creation times and the current point in time; obtaining (1002, 1102, 1202, 1302, 1402) a geographical area to which the target partition belongs, historical access information of the target partition, or a service type of the target partition; and when the creation duration range of the data of the target partition meets a predetermined time range of a first storage stage and a preset condition is met, altering (1004, 1104, 1204, 1304, 1404) the data that is of the target partition and that has been stored based on a storage policy corresponding to a second storage stage to be stored based on a storage policy corresponding to the first storage stage, wherein storage performance of the first storage stage is lower than storage performance of the second storage stage; and the preset condition comprises one or a combination of the following three conditions: the geographical area to which the target partition belongs is a target area, the historical access information of the target partition meets a target condition, and the service type of the target partition is a target service type.