The application discloses a kind of HNSW index
data management method, device, equipment and medium, comprising: obtaining the target node corresponding to the transaction to be executed, according to the transaction to be executed, target node corresponding storage location is operated, generates the target
redo log corresponding to target operation, target
undo log and the version
transaction data of the target node for target operation of the transaction to be executed, before the transaction to be executed is completed, the line lock is executed to the corresponding storage location in target node, according to the transaction to be executed, the neighbor relationship of neighbor node and target node is updated, generates the neighbor
redo log corresponding to update operation and / or neighbor
undo log, before the transaction to be executed is completed, neighbor relationship of neighbor node is not limited to access.The HNSW index data is decoupled and classified, and a differentiated
transaction processing mechanism is used, a good balance is achieved between ensuring global strong consistency and reducing neighbor relationship
transaction management overhead, effectively balancing performance and consistency.