Lune

VLDB2025Top-tier venue

A Hybrid Approach to Integrating Deterministic and Non-deterministic Concurrency Control in Database Systems

Yinhao Hong, Hongyao Zhao, Wei Lu, Xiaoyong Du, Yuxing Chen, Anqun Pan, Lixiong Zheng

Abstract

Deterministic and non-deterministic concurrency control algorithms have shown respective advantages under diverse workloads. Thus, a natural idea is to blend them together. However, because deterministic algorithms work with stringent assumptions, e.g., batched execution and non-interactive transactions, they hardly work together with non-deterministic algorithms. To address this issue, we propose HDCC, a hybrid approach that adaptively employs Calvin and OCC, which have distinct concurrency control and logging schemes, in the same database system. To ensure serializability and recovery correctness, we introduce lock-sharing, global validation, and two-log-interleaving mechanisms. Additionally, we introduce a rule-based assignment mechanism to dynamically select Calvin or OCC based on workload characteristics. Experimental results using TPC-C and YCSB benchmarks demonstrate that HDCC surpasses existing hybrid approaches by up to 3.1×.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Modeling Concurrency Control as a Learnable Function cites Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase Locking
  • Modeling Concurrency Control as a Learnable Function cites Polyjuice: High-Performance Transactions via Learned Concurrency Control
  • When Private Blockchain Meets Deterministic Database cites Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase Locking
  • When Private Blockchain Meets Deterministic Database cites Opportunities for Optimism in Contended Main-Memory Multicore Transactions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Modeling Concurrency Control as a Learnable FunctionHexiang Pan, Shaofeng Cai, Tien Tuan Anh Dinh, Yuncheng Wu et al.SIGMOD 2026 · 5 citations
  2. Epoch-based Optimistic Concurrency Control in Geo-replicated DatabasesYunhao Mao, Harunari Takata, Michail Bachras, Yuqiu Zhang et al.SIGMOD 2026

Builds on8

  1. Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
  2. Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase LockingZhihan Guo, Kan Wu, Cong Yan, Xiangyao YuSIGMOD 2021 · 44 citations
  3. Polyjuice: High-Performance Transactions via Learned Concurrency ControlJia-Chen Wang, Ding Ding, Huan Wang, Conrad Christensen et al.OSDI 2021 · 39 citations
  4. When Private Blockchain Meets Deterministic DatabaseZiliang Lai, Chris Liu, Eric LoSIGMOD 2023 · 22 citations
  5. A Study of Database Performance Sensitivity to Experiment SettingsYang Wang, Miao Yu, Yujie Hui, Fang Zhou et al.VLDB 2022 · 13 citations

Related papers

  1. Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 citations
  2. Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 citations
  3. Aria: A Fast and Practical Deterministic OLTP DatabaseYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2020
  4. Unifying Timestamp with Transaction Ordering for MVCC with Decentralized Scalar TimestampXingda Wei, Rong Chen, Haibo Chen, Zhaoguo Wang et al.NSDI 2021 · 24 citations
  5. Concurrency Control as a ServiceWeixing Zhou, Yanfeng Zhang, Xinji Zhou, Zhiyou Wang et al.VLDB 2025
Dusk over the sea between two cliffs drawn in fine vertical lines