Method and device for data access, electronic apparatus and storage medium
AssigneeSamsung Electronics Co., Ltd.
InventorsCunbao Chang, Wenbin Cao, Sha Shi, Lijuan Xue, Kunpeng Sun, Ningning Zhu
Life of this patent
Estimating the term…
Abstract
A method and device for data access, electronic apparatus and storage medium are provided. The method for data access includes: writing a key of a first key-value pair to a host memory in response to a write request to write the first key-value pair to the memory database; determining whether to write a value of the first key-value pair to the host memory or a Computing Express Link (CXL) memory based on a length of the value of the first key-value pair; and writing the value of the first key-value pair to the host memory or the CXL memory, based on a result of the determination.
Claims20
A method for data access to a memory database, the method comprising:
- writing a key of a first key-value pair to a host memory, in response to a write request to write the first key-value pair to the memory database;
- determining whether to write a value of the first key-value pair to the host memory or a Computing Express Link (CXL) memory device, based on a comparison between a length of the value of the first key-value pair and a threshold;
- and
- writing the value of the first key-value pair to the host memory or the CXL memory device, based on a result of the determining.
A device for data access to a memory database, the device comprising:
- a data writing unit configured to:
- write a key of a first key-value pair to a host memory, in response to a write request to write the first key-value pair to the memory database,
- determine whether to write a value of the first key-value pair to the host memory or a Computing Express Link (CXL) memory device, based on a comparison between a length of the value of the first key-value pair and a threshold, and
- write the value of the first key-value pair to the host memory or the CXL memory device based on a result of the determination.
An electronic apparatus comprising:
- at least one processor;
- and
- at least one memory storing computer executable instructions,
- wherein the at least one processor is configured to execute the computer executable instructions to:
- write a key of a first key-value pair to a host memory, in response to a write request to write the first key-value pair to a memory database;
- determine whether to write a value of the first key-value pair to the host memory or a Computing Express Link (CXL) memory device, based on a comparison between a length of the value of the first key-value pair and a threshold;
- and
- write the value of the first key-value pair to the host memory or the CXL memory device, based on a result of the determination.
Dependencies are inferred from the claim text.