An empirical evaluation of in-memory multi-version concurrency control
The DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Benchmarking cloud serving systems with YCSB
Cooper, B. F., Silberstein, A., Tam, E., Ramakrishnan, R., & Sears, R. (2010) · Proceedings of the 1st ACM symposium on Cloud computing · doi:10.1145/1807128.1807152 · Cited by 3,716 · cited 1×
“We modified the YCSB [14] benchmark to model different workload settings of OLTP applications.”
MethodThe notions of consistency and predicate locks in a database system
Eswaran, K. P., Gray, J. N., Lorie, R. A., & Traiger, I. L. (1976) · Communications of the ACM · doi:10.1145/360363.360369 · Cited by 1,956 · cited 1×
“We omit range queries because multi-versioning does not bring any benefits to phantom prevention [17].”
BackgroundOn optimistic methods for concurrency control
Kung, H. T., & Robinson, J. T. (1981) · ACM Transactions on Database Systems · doi:10.1145/319566.319567 · Cited by 1,439 · cited 1×
“The next protocol is based on the optimistic concurrency control (OCC) scheme proposed in 1981 [26].”
MethodConcurrency Control in Distributed Database Systems
Bernstein, P. A., & Goodman, N. (1981) · ACM Computing Surveys · doi:10.1145/356842.356846 · Cited by 1,186 · cited 3×
“sion that each of them is executing alone on a dedicated system [9].”
Background(2015) · KTH Publication Database DiVA (KTH Royal Institute of Technology) · Cited by 1,144
A critique of ANSI SQL isolation levels
Berenson, H., Bernstein, P., Gray, J., Melton, J., O'Neil, E., & O'Neil, P. (1995) · Proceedings of the 1995 ACM SIGMOD international conference on Management of data - SIGMOD '95 · doi:10.1145/223784.223785 · Cited by 856
Stonebraker, M., & Rowe, L. A. (1986) · ACM SIGMOD Record · doi:10.1145/16856.16888 · Cited by 696
Speedy transactions in multicore in-memory databases
Tu, S., Zheng, W., Kohler, E., Liskov, B. H., & Madden, S. R. (2013) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/2517349.2522713 · Cited by 688 · cited 3×
“As such, it avoids the overhead of maintaining the database’s indexes whenever a transaction updates a tuple and is ideal for queries that access the current version of a tuple.”
BackgroundMethodHekaton: SQL server's memory-optimized OLTP engine
Diaconu, C., Freedman, C., Ismert, E., Larson, P.-Å., Mittal, P., Stonecipher, R., Verma, N., & Zwilling, M. (2013) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2463676.2463710 · Cited by 576 · cited 9×
“Larson et al. [27] compare pessimistic ( MV2PL ) and optimistic ( MVOCC ) protocols in an early version of the Microsoft Hekaton DBMS [16].”
BackgroundInfluentialThe end of an architectural era: (it's time for a complete rewrite)
Stonebraker, M. R., Madden, S. R., Abadi, D. J., Harizopoulos, S., Hachem, N. I., & Helland, P. (2007) · Cited by 558
Cache craftiness for fast multicore key-value storage
Mao, Y., Kohler, E., & Morris, R. T. (2012) · Proceedings of the 7th ACM european conference on Computer Systems · doi:10.1145/2168836.2168855 · Cited by 467
The adaptive radix tree: ARTful indexing for main-memory databases
Leis, V., Kemper, A., & Neumann, T. (2013) · 2013 IEEE 29th International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2013.6544812 · Cited by 420 · cited 1×
“Leis et al. [30] and Mao et al. [34] respectively proposed ART and Masstree, which are scalable index structures based on tries.”
BackgroundNAMING AND SYNCHRONIZATION IN A DECENTRALIZED COMPUTER SYSTEM
Reed, D. P. (1978) · Defense Technical Information Center (DTIC) · Cited by 326
Making snapshot isolation serializable
Fekete, A., Liarokapis, D., O'Neil, E., O'Neil, P., & Shasha, D. (2005) · ACM Transactions on Database Systems · doi:10.1145/1071610.1071615 · Cited by 317 · cited 3×
“Serial-izable snapshot isolation (SSI) ensures serializability by eliminating anomalies that can happen in snapshot isolation [12, 20].”
BackgroundMethodImplementing atomic actions on decentralized data
Reed, D. P. (1983) · ACM Transactions on Computer Systems · doi:10.1145/357353.357355 · Cited by 307 · cited 1×
“If it is, then DBMS will set the value of txn-id to T id using a CaS instruction [27, 44].”
MethodHigh-performance concurrency control mechanisms for main-memory databases
Larson, P.-Å., Blanas, S., Diaconu, C., Freedman, C., Patel, J. M., & Zwilling, M. (2011) · Proceedings of the VLDB Endowment · doi:10.14778/2095686.2095689 · Cited by 302 · cited 8×
“Larson et al. [27] compare pessimistic ( MV2PL ) and optimistic ( MVOCC ) protocols in an early version of the Microsoft Hekaton DBMS [16].”
BackgroundMethodInfluentialMemC3: Compact and Concurrent MemCache with Dumber Caching and Smarter Hashing
Fan, B., Andersen, D. G., & Kaminsky, M. (2018) · doi:10.1184/r1/6607223 · Cited by 296
Fast Serializable Multi-Version Concurrency Control for Main-Memory Database Systems
Neumann, T., Mühlbauer, T., & Kemper, A. (2015) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2723372.2749436 · Cited by 291 · cited 4×
“Neumann et al. [36] improved the performance of MVCC DBMSs with the transaction-local storage optimization to reduce the synchronization cost.”
BackgroundInfluentialHYRISE: a main memory hybrid storage engine
Grund, M., Krüger, J., Plattner, H., Zeier, A., Cudre-Mauroux, P., & Madden, S. (2010) · Proceedings of the VLDB Endowment · doi:10.14778/1921071.1921077 · Cited by 256 · cited 1×
“The last extensive study was in the 1980s [13], but it used simulated workloads running in a disk-oriented DBMS with a single CPU core.”
BackgroundEfficient transaction processing in SAP HANA database: the end of a column store myth
Sikka, V., Färber, F., Lehner, W., Cha, S. K., Peh, T., & Bornhövd, C. (2012) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2213836.2213946 · Cited by 241 · cited 1×
“The last extensive study was in the 1980s [13], but it used simulated workloads running in a disk-oriented DBMS with a single CPU core.”
BackgroundEverything you always wanted to know about synchronization but were afraid to ask
David, T., Guerraoui, R., & Trigonakis, V. (2013) · Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles · doi:10.1145/2517349.2522714 · Cited by 239 · cited 1×
“We also optimized Peloton’s performance by leveraging latch-free programming techniques [15].”
MethodWhat's Really New with NewSQL?
Pavlo, A., & Aslett, M. (2016) · ACM SIGMOD Record · doi:10.1145/3003665.3003674 · Cited by 216 · cited 1×
“Until now, there has not been a comprehensive evaluation of MVCC in a modern DBMS operating environment.”
BackgroundSelf-citationMohan, C. (1990) · Very Large Data Bases · Cited by 209
Rethinking serializable multiversion concurrency control
Faleiro, J. M., & Abadi, D. J. (2015) · Proceedings of the VLDB Endowment · doi:10.14778/2809974.2809981 · Cited by 168 · cited 1×
“Lomet et al. [31] proposed a scheme that uses ranges of timestamps for resolving conflicts among transactions, and Faleiro et al. [18] decouple MVCC’s concurrency control protocol and version management from the DBMS’s transaction execution.”
BackgroundHyder - A Transactional Record Manager for Shared Flash
Bernstein, P. A., Reid, C. W., & Das, S. (2011) · Conference on Innovative Data Systems Research · Cited by 163
ERMIA: Fast Memory-Optimized Database System for Heterogeneous Workloads
Kim, K., Wang, T., Johnson, R., & Pandis, I. (2016) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2882903.2882905 · Cited by 157 · cited 3×
“This can cause starvation of long-running read-only transactions [24].”
BackgroundInfluentialFast Databases with Fast Durability and Recovery Through Multicore Parallelism
Zheng, W., Tu, S., Kohler, E., & Liskov, B. H. (2014) · Digital Access to Scholarship at Harvard (DASH) (Harvard University) · Cited by 144
Serializable isolation for snapshot databases
Cahill, M. J., Röhm, U., & Fekete, A. D. (2008) · Proceedings of the 2008 ACM SIGMOD international conference on Management of data · doi:10.1145/1376616.1376690 · Cited by 120
The performance of multiversion concurrency control algorithms
Carey, M. J., & Muhanna, W. A. (1986) · ACM Transactions on Computer Systems · doi:10.1145/6513.6517 · Cited by 98 · cited 2×
“After that, researchers focused on understanding the theory and performance of MVCC in single-core disk-based DBMSs [9, 11, 13].”
BackgroundMethodPositional update handling in column stores
Héman, S., Żukowski, M., Nes, N. J., Sidirourgos, L., & Boncz, P. A. (2010) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/1807167.1807227 · Cited by 84
Multi-version Concurrency via Timestamp Range Conflict Management
Lomet, D., Fekete, A. D., Wang, R., & Ward, P. (2012) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2012.10 · Cited by 68 · cited 1×
“[31] proposed a scheme that uses ranges of timestamps for resolving conflicts among transactions, and”
BackgroundEfficiently making (almost) any concurrency control mechanism serializable
Wang, T., Johnson, R., Fekete, A., & Pandis, I. (2017) · The VLDB Journal · doi:10.1007/s00778-017-0463-8 · Cited by 54 · cited 2×
“In a multi-version setting, if the transaction updates version B x , then the DBMS creates version B x+1 with its txn-id set to T id .”
BackgroundHybrid Garbage Collection for Multi-Version Concurrency Control in SAP HANA
Lee, J., Shin, H., Park, C. G., Ko, S., Noh, J., Chuh, Y., Stephan, W., & Han, W.-S. (2016) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2882903.2903734 · Cited by 44 · cited 1×
“As we discuss below, the chain’s HEAD is either the newest or oldest version.”
Background
Cited by
Blurring the Lines between Blockchains and Database Systems: the Case of Hyperledger Fabric
Sharma, A., Schuhknecht, F. M., Agrawal, D., & Dittrich, J. (2019) · Proceedings of the 2019 International Conference on Management of Data · doi:10.1145/3299869.3319883 · Cited by 188
“In the context of a local parallel database system implementing multi-version concurrency control (MVCC) [16, 21, 25, 27], the authors propose to protect each frequently accessed entry additionally with a shared lock.”
Background
Metadata
- Authors
- Wu, Y., Arulraj, J., Lin, J., Xian, R., & Pavlo, A.
- Venue
- Proceedings of the VLDB Endowment
- Published
- 2017-03
- Volume
- 10
- Issue
- 7
- Pages
- 781-792
- ISSN
- 2150-8097 (ISSN-L)
- OpenAlex
- W2604961016
- Cited by
- 185
- References
- 33
- FWCI
- 11.56
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.