Abstract

AbstractIn a database system, if the degree of concurrency is high, using a concurrency control algorithm alone will reduce the performance of the system, and the process of selecting a concurrency control algorithm will virtually improve the knowledge threshold of users. In order to overcome this limitation, this paper proposes a hybrid concurrency control algorithm, which is called cluster based concurrency control algorithm. It creatively puts forward the concept of transaction working set, uses the minimum hash algorithm to calculate the Jaccard similarity between different transaction working sets to measure the conflict rate between different transactions, and uses this as a standard to place transactions in different clusters, Transactions in the same cluster adopt pessimistic concurrency control algorithm, and transactions in different clusters adopt optimistic concurrency control algorithm. The clustering based concurrency control algorithm combines the traditional pessimistic concurrency control algorithm with the optimistic concurrency control algorithm to obtain the advantages of the two algorithms and alleviate the performance bottleneck of the two algorithms. Finally, through simple experiments, it is proved that the concurrency control algorithm based on clustering is indeed better than the traditional pessimistic and optimistic concurrency control algorithms.KeywordsDatabaseConcurrency controlClusteringMinHash

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call