The invention particularly relates to a Key-value separated storage method and a Key-value separated storage
system. According to the Key-value separation storage method and
system, an ART prefix tree is used as a
basic data structure of a data index, spaces are distributed for a key value and a value value in a node Node of each piece of data for storage, corresponding Sequence Number and
Value Type are stored in the node Node, separation of Key-value is achieved, coding is not carried out any more in the data storage process, the key, the Sequence Number, the
Value Type and the value are directly stored and read, and the data
storage efficiency is improved. And therefore, the IO
throughput is reduced, the
CPU cache hit rate is increased, and the read-write performance of the
database is improved. According to the Key-value separated storage method and
system, corresponding information does not need to be decoded during data read-write operation, and the information can be obtained by directly using the node Node, so that the I / O consumption of a disk is reduced, the IO
throughput is reduced, the
CPU cache hit rate is increased, and the read-write performance of a
database is improved.