A memory access method, wherein the method is applied to a computer system comprising a hybrid memory, the hybrid memory comprises a first memory and a second memory, the first memory is a nonvolatile memory, the second memory is a volatile memory, and the method comprises: receiving a first access request, wherein the access request comprises a first virtual address; translating the first virtual address into a first physical address according to a first page table buffer stored in a first translation lookaside buffer, TLB, of the computer system, wherein the first physical address is a physical address of a first large page in the first memory, and the first large page comprises a plurality of small pages; and in a process of accessing the first memory according to the first physical address, when it is determined that data of a first small page in the first large page is migrated to the second memory, accessing the second memory according to a second physical address stored in the first small page, wherein the second physical address is a physical address of a second small page in the second memory, the second small page stores the data migrated from the first small page, the second memory comprises a plurality of small pages, and a size of a small page in the second memory is less than a size of a large page in the first memory; wherein migrating the data in the first small page to the second small page occurs when a quantity of times of accessing the first small page exceeds a specified threshold; and wherein the second physical address of the second small page is stored in the first small page; and wherein the computer system further comprises a second page table buffer, and after the migrating the data in the first small page to the second small page, the method further comprises: adding a mapping relationship between a second virtual address and the second physical address to a second page table buffer stored in a second TLB of the computer system, wherein the second page table buffer is used to record a mapping relationship between a virtual address and a physical address of a small page in the second memory. receiving a first access request, wherein the access request comprises a first virtual address; translating the first virtual address into a first physical address according to a first page table buffer stored in a first translation lookaside buffer, TLB, of the computer system, wherein the first physical address is a physical address of a first large page in the first memory, and the first large page comprises a plurality of small pages; and in a process of accessing the first memory according to the first physical address, when it is determined that data of a first small page in the first large page is migrated to the second memory, accessing the second memory according to a second physical address stored in the first small page, wherein the second physical address is a physical address of a second small page in the second memory, the second small page stores the data migrated from the first small page, the second memory comprises a plurality of small pages, and a size of a small page in the second memory is less than a size of a large page in the first memory; wherein migrating the data in the first small page to the second small page occurs when a quantity of times of accessing the first small page exceeds a specified threshold; and wherein the second physical address of the second small page is stored in the first small page; and wherein the computer system further comprises a second page table buffer, and after the migrating the data in the first small page to the second small page, the method further comprises: adding a mapping relationship between a second virtual address and the second physical address to a second page table buffer stored in a second TLB of the computer system, wherein the second page table buffer is used to record a mapping relationship between a virtual address and a physical address of a small page in the second memory.