The application discloses a read-write performance optimization method based on a persistent memory B+ tree index and belongs to the field of data storage, and comprises the following steps: establishing a B+ tree, non-leaf nodes of the B+ tree are stored in
DRAM, and leaf nodes are stored in PM; introducing a concurrent
hash table for storing hot data on the
DRAM, transferring the access of the hot data from the PM to the
DRAM, and relieving the read-write
interference problem on the PM; based on the characteristic that there are hot spots in the work load under a real scene, a lightweight hot
data identification and replacement strategy is also implemented, a weight is set for each storage element based on the
access frequency, and the dynamic change of the hot data in the work load is dealt with; a low-overhead write operation is realized by combining an additional update mechanism and a self-
verification insertion mechanism in the B+ tree, the
data consistency guarantee overhead is greatly reduced, and a semi-sequenced leaf node is adopted, so that the query efficiency of the leaf node is improved, and meanwhile, the write efficiency is not affected. The application can provide high performance for read operation and write operation simultaneously.