The invention discloses a
hybrid index-based
hybrid memory performance optimization method and
system, which belongs to the field of
computer data storage, and comprises the following steps of: establishing a
hash table in an NVM (Non-
Volatile Memory) of a
hybrid memory in advance, and establishing a skip table and a waiting
queue in a
DRAM (
Dynamic Random Access Memory); for each operation request, if the operation request is an
insertion operation, inserting the operation request into a
hash table according to a key value of a key value pair to be inserted, and adding the key value pair andan
insertion operation mark into a waiting
queue; if the operation request is deletion operation, deleting the key value pair from the
hash table according to the key value of the key value pair to bedeleted, and adding the key value pair and a deletion operation mark into a waiting
queue; if the operation request is the single-point query operation, obtaining the key value pair from the hash table according to the key value of the key value pair to be queried; and if the operation request is a range query operation,
synchronizing all the key value pairs in the waiting queue into the
skip list, and obtaining all the key value pairs in the query range from the
skip list. According to the invention, various operation requests including range query can be efficiently realized.