Lune

SIGMOD2023Top-tier venue

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 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.

4 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

  • Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of Contention cites Polyjuice: High-Performance Transactions via Learned Concurrency Control
  • Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of Contention cites Towards Optimal Transaction Scheduling
  • Fair Transaction Processing For Multi-Tenant Databases cites Caracal: Contention Management with Deterministic Concurrency Control
  • Fair Transaction Processing For Multi-Tenant Databases cites Polyjuice: High-Performance Transactions via Learned Concurrency Control
  • Fair Transaction Processing For Multi-Tenant Databases cites Handling Highly Contended OLTP Workloads Using Fast Dynamic Partitioning
  • Fair Transaction Processing For Multi-Tenant Databases cites Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern Networks
  • Towards Optimal Transaction Scheduling cites Caracal: Contention Management with Deterministic Concurrency Control
  • Towards Optimal Transaction Scheduling cites Polyjuice: High-Performance Transactions via Learned Concurrency Control
  • Towards Optimal Transaction Scheduling cites Handling Highly Contended OLTP Workloads Using Fast Dynamic Partitioning
  • Towards Optimal Transaction Scheduling cites Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Towards Optimal Transaction SchedulingAudrey Cheng, Aaron N. Kabcenell, Jason Chan, Xiao Shi et al.VLDB 2024 · 14 citations
  2. Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference ServingShihong Gao, Xin Zhang, Yanyan Shen, Lei ChenSIGMOD 2025 · 7 citations
  3. Fair Transaction Processing For Multi-Tenant DatabasesAudrey Cheng, Xiao Shi, Aaron N. Kabcenell, Jolene Huey et al.VLDB 2025 · 2 citations
  4. 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

  1. Polyjuice: High-Performance Transactions via Learned Concurrency ControlJia-Chen Wang, Ding Ding, Huan Wang, Conrad Christensen et al.OSDI 2021 · 39 citations
  2. Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 citations
  3. Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 citations
  4. Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern NetworksErfan Zamanian, Julian Shun, Carsten Binnig, Tim KraskaSIGMOD 2020 · 29 citations

Related papers

  1. Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
  2. Improving the Concurrency Performance of Persistent Memory Transactions on MulticoresQing Wang, Youyou Lu, Zhongjie Wu, Fan Yang et al.DAC 2020 · 3 citations
  3. Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 citations
  4. Sharing Opportunities for OLTP Workloads in Different Isolation LevelsRobin Rehrmann, Carsten Binnig, Alexander Böhm, Kihong Kim et al.VLDB 2020 · 8 citations
  5. GaccO - A GPU-accelerated OLTP DBMSNils Boeschen, Carsten BinnigSIGMOD 2022 · 18 citations
Dusk over the sea between two cliffs drawn in fine vertical lines