Predictive Transaction Scheduling for Alleviating Lock Thrashing

0Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.
Get full text

Abstract

To improve the performance for high-contention workloads, modern main-memory database systems seek to design efficient lock managers. However, OLTP engines adopt the classic FCFS strategy to process operations, where the generated execution order does not take current and future conflicts into consideration. In this case, lock dependencies will happen more frequently and thus resulting in high transaction waiting time, referred to as lock thrashing, which is proved to be the main bottleneck of lock-based concurrency control mechanisms. In this paper, we present a transaction scheduler that generates efficient execution order to alleviate the lock thrashing issue. To proactively resolve conflicts, LOTAS predicts which data will be accessed by following operations through building Markov-based prediction graphs. Then LOTAS uses the information to schedule transactions by judging whether a transaction needs to be deferred to acquire locks. Experimental results demonstrate that LOTAS can significantly reduce the lock waiting time and improves the throughput up to 4.8x than the classic FCFS strategy under highly contended workloads.

Cite

CITATION STYLE

APA

Wang, D., Cai, P., Qian, W., & Zhou, A. (2020). Predictive Transaction Scheduling for Alleviating Lock Thrashing. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 12112 LNCS, pp. 139–156). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-030-59410-7_9

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free