Transaction Scheduling: From Conflicts to Runtime Conflicts
Yang Cao, Wenfei Fan, Weijie Ou, Rui Xie, Wenyue Zhao
Abstract
This paper studies how to improve the performance of main memory multicore OLTP systems for executing transactions with conflicts. A promising approach is to partition transaction workloads into mutually conflict-free clusters, and distribute the clusters to different cores for concurrent execution. We show that if transactions in each cluster are properly scheduled, transactions that are traditionally considered conflicting can be executed without conflicts at runtime. In light of this, we propose to schedule transactions and reduce runtime conflicts, instead of partitioning based on the conventional notion of conflicts. We formulate the transaction scheduling problem to minimize runtime conflicts, and show that the problem is NP-complete. This said, we develop an efficient scheduling algorithm to improve parallelism. Moreover, for transactions that are not packed in batches, we show that runtime conflict analysis also helps reduce conflict penalties, by proposing a proactive deferring method. Using standard and enhanced benchmarks, we show that on average our scheduling and proactive deferring methods improve the throughput of existing partitioners and concurrency control protocols by 131% and 109%, respectively, up to 294% and 152%.
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 d13ebeb7-b08b-4a0f-bf29-6e2b38a4aae5Cited by top-tier papers4
- Towards Optimal Transaction SchedulingAudrey Cheng, Aaron N. Kabcenell, Jason Chan, Xiao Shi et al.VLDB 2024 · 14 citations
- Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference ServingShihong Gao, Xin Zhang, Yanyan Shen, Lei ChenSIGMOD 2025 · 7 citations
- Fair Transaction Processing For Multi-Tenant DatabasesAudrey Cheng, Xiao Shi, Aaron N. Kabcenell, Jolene Huey et al.VLDB 2025 · 2 citations
- Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of ContentionQian Zhang, Yiwen Xiang, Jianhao Wei, Yang Yang et al.VLDB 2025 · 1 citation
Builds on4
- Polyjuice: High-Performance Transactions via Learned Concurrency ControlJia-Chen Wang, Ding Ding, Huan Wang, Conrad Christensen et al.OSDI 2021 · 39 citations
- Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 citations
- Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 citations
- Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern NetworksErfan Zamanian, Julian Shun, Carsten Binnig, Tim KraskaSIGMOD 2020 · 29 citations
Related papers
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
- Improving the Concurrency Performance of Persistent Memory Transactions on MulticoresQing Wang, Youyou Lu, Zhongjie Wu, Fan Yang et al.DAC 2020 · 3 citations
- Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 citations
- Sharing Opportunities for OLTP Workloads in Different Isolation LevelsRobin Rehrmann, Carsten Binnig, Alexander Böhm, Kihong Kim et al.VLDB 2020 · 8 citations
- GaccO - A GPU-accelerated OLTP DBMSNils Boeschen, Carsten BinnigSIGMOD 2022 · 18 citations
