Modeling Concurrency Control as a Learnable Function
Concurrency control (CC) algorithms are important in modern transactional databases, as they enable high performance by executing transactions concurrently while ensuring correctness. However, state-of-the-art CC algorithms struggle to perform well across diverse workloads, and most do not consider workload drifts. In this paper, we propose NeurCC, a novel learned concurrency control algorithm that achieves high performance across diverse workloads. The algorithm is quick to optimize, making it robust against dynamic workloads. It learns a function that captures a large number of design choices from existing CC algorithms. The function is implemented as an efficient in-database lookup table that maps database states to concurrency control actions. The learning process is based on a combination of Bayesian optimization and a novel graph reduction search algorithm, which converges quickly to a function that achieves high transaction throughput. We compare NeurCC against five state-of-the-art CC algorithms and show that it consistently outperforms the baselines both in transaction throughput and in optimization time.
Authors
- Beng Chin Ooi (ORCID: https://orcid.org/0000-0003-4446-1100)
- Tien Tuan Anh Dinh (ORCID: https://orcid.org/0000-0002-8158-3636)
- Yeow Meng Chee (ORCID: https://orcid.org/0000-0001-7823-8068)
- Gang Chen (ORCID: https://orcid.org/0000-0001-7120-7058)
- Yuncheng Wu (ORCID: https://orcid.org/0000-0002-1436-3916)
- Haizhou Pan
Institutions
- Deakin University (AU)
- Singapore University of Technology and Design (SG)
- National University of Singapore (SG)
- Zhejiang University (CN)
- Renmin University of China (CN)
Publication Details
- Journal
- Proceedings of the ACM on Management of Data
- Published
- 2026-05-18
- DOI
- https://doi.org/10.1145/3802088
- Primary Topic
- Real-Time Systems Scheduling
- Type
- preprint
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China