An empirical evaluation of in-memory multi-version concurrency control
Authors:
Top Cited Papers
Open Access
- 1 March 2017
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 10 (7) , 781-792
Abstract
Multi-version concurrency control (MVCC) is currently the most popular transaction management scheme in modern database management systems (DBMSs). Although MVCC was discovered in the late 1970s, it is used in almost every major relational DBMS released in the last decade. Maintaining multiple versions of data potentially increases parallelism without sacrificing serializability when processing transactions. But scaling MVCC in a multi-core and in-memory setting is non-trivial: when there are a large number of threads running in parallel, the synchronization overhead can outweigh the benefits of multi-versioning. To understand how MVCC perform when processing transactions in modern hardware settings, we conduct an extensive study of the scheme's four key design decisions: concurrency control protocol, version storage, garbage collection, and index management. We implemented state-of-the-art variants of all of these in an in-memory DBMS and evaluated them using OLTP workloads. Our analysis identifies the fundamental bottlenecks of each design choice.Keywords
This publication has 32 references indexed in Scilit:
- Staring into the abyssProceedings of the VLDB Endowment, 2014
- High-performance concurrency control mechanisms for main-memory databasesProceedings of the VLDB Endowment, 2011
- HYRISEProceedings of the VLDB Endowment, 2010
- Making snapshot isolation serializableACM Transactions on Database Systems, 2005
- The performance of multiversion concurrency control algorithmsACM Transactions on Computer Systems, 1986
- The design of POSTGRESACM SIGMOD Record, 1986
- Implementing atomic actions on decentralized dataACM Transactions on Computer Systems, 1983
- On optimistic methods for concurrency controlACM Transactions on Database Systems, 1981
- Concurrency Control in Distributed Database SystemsACM Computing Surveys, 1981
- The notions of consistency and predicate locks in a database systemCommunications of the ACM, 1976