Provided in the present application are a
data scheduling method and apparatus, and an electronic device. In the embodiment, a
unit memory (which is referred to as a cold
unit memory), an
access frequency per unit time of which is lower than a first set threshold, in a first memory and a
unit memory (which is referred to as a hot memory unit), an
access frequency per unit time of which is greater than or equal to a second set threshold, in a second memory are automatically identified, data in the hot unit memory in the second memory is automatically scheduled and migrated into an idle unit memory in the first memory, and data in the cold unit memory in the first memory is automatically scheduled and migrated into an idle unit memory in the second memory, such that data with high
access frequency is stored in the local first memory of a
system, and data with low access frequency is stored in the extended second memory, so as to maximize the advantages of high-speed access performed by means of a local memory and memory capacity expansion performed by means of an
extended memory, thereby improving the
data access efficiency.