Patent ID: 11861222
Assignee: MICRON TECHNOLOGY, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 16:
17. A system, comprising
a first memory device comprising a first type of memory medium;
a second memory device comprising a second type of memory medium;
wherein the first memory device and the second memory device are external to a host; and
a controller coupled to the first device and the second memory device and configured to:
write each of a plurality of memory objects to the first memory device, wherein the plurality of memory objects are each associated with a first set of keys of a key-value database structure associated with the first memory device and the first set of keys are stored in the first memory device; and
in response to a size of a particular one of the plurality of memory objects reaching a page size of the second memory device, writing the particular one memory object to the second memory device; or
in response to an access frequency of the particular one of the plurality of memory objects being below a threshold access frequency, writing the particular one memory object to the second memory device;

wherein:
writing the particular one memory object to the second memory device comprises:
retrieving a key of the first set of keys associated with the particular one memory object from the first memory device to locate the particular one memory object in the first memory device;
deleting the key of the first set of keys associated with the particular one memory object from the first memory device; and
associating the particular one memory object with a key of a second set of keys associated with the second memory device and storing the key of the second set of keys in the first memory device, wherein the key of the second set of keys indicates where the particular one memory object is stored in the second memory device;

the first type of memory medium is a non-volatile memory comprising phase-change memory or resistive random access memory (RAM); and
the second type of memory medium comprise NAND Flash or NOR Flash.