Opportunities for Optimism in Contended Main-Memory Multicore Transactions
Yihe Huang, William Qian, Eddie Kohler, Barbara Liskov, Liuba Shrira
Abstract
Main-memory multicore transactional systems have achieved excellent performance using single-version optimistic concurrency control (OCC), especially on uncontended workloads. Nevertheless, systems based on other concurrency control protocols, such as hybrid OCC/ locking and variations on multiversion concurrency control (MVCC), are reported to outperform the best OCC systems, especially with increasing contention. This paper shows that implementation choices unrelated to concurrency control can explain some of these performance differences. Our evaluation shows the strengths and weaknesses of OCC, MVCC, and TicToc concurrency control under varying workloads and contention levels, and the importance of several implementation choices called basis factors . Given sensible basis factor choices, OCC performance does not collapse on high-contention TPC-C. We also present two optimization techniques, deferred updates and timestamp splitting , that can dramatically improve the high-contention performance of both OCC and MVCC. These techniques are known, but we apply them in a new context and highlight their potency: when combined, they lead to performance gains of 4.74 × for MVCC and 5.01 × for OCC in a TPC-C workload.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dd10fade-23e3-42da-8aa7-e03372c37d02Cited by top-tier papers27
- Teseo and the Analysis of Structural Dynamic GraphsDean De Leo, Peter BonczVLDB 2021 · 65 citations
- An Analysis of Concurrency Control Protocols for In-Memory Database with CCBenchTakayuki Tanabe, Takashi Hoshino, Hideyuki Kawashima, Osamu TatebeVLDB 2020 · 40 citations
- Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 citations
- Plor: General Transactions with Predictable, Low Tail LatencyYoumin Chen, Xiangyao Yu, Paraschos Koutris, Andrea C. Arpaci-Dusseau et al.SIGMOD 2022 · 25 citations
- When Private Blockchain Meets Deterministic DatabaseZiliang Lai, Chris Liu, Eric LoSIGMOD 2023 · 22 citations
Related papers
- Unifying Timestamp with Transaction Ordering for MVCC with Decentralized Scalar TimestampXingda Wei, Rong Chen, Haibo Chen, Zhaoguo Wang et al.NSDI 2021 · 24 citations
- Focus! Fast On-disk Concurrency-control Using SketchesDeukyeon Hwang, Alexander Conway, Carlos Garcia-Alvarado, Jun Yuan et al.SIGMOD 2026
- Transaction Scheduling: From Conflicts to Runtime ConflictsYang Cao, Wenfei Fan, Weijie Ou, Rui Xie et al.SIGMOD 2023 · 8 citations
- Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 citations
- OOCC: One-Round Optimistic Concurrency Control for Read-Only Disaggregated TransactionsHao Wu, Mingxing Zhang, Kang Chen, Xia Liao et al.ICDE 2025 · 4 citations
