CPC G06F 3/0655 (2013.01) [G06F 3/0622 (2013.01); G06F 3/0679 (2013.01)] | 20 Claims |
1. A key-value (KV) storage method, comprising:
receiving a write request, wherein the write request is associated with writing a first key and a first value;
storing the first key in a first memory chip of a solid state drive (SSD), and storing the first value in a second memory chip of the SSD, based on an erase count of the first memory chip being less than an erase count of the second memory chip; and
creating a mapping relationship between the first key, a physical address of the first key, and a physical address of the first value, wherein the physical address of the first key indicates that the first key is stored in storage space of the first memory chip, and wherein the physical address of the first value indicates that the first value is stored in storage space of the second memory chip.
|