Transaction Scheduling: From Conflicts to Runtime Conflicts
Yang Cao, Wenfei Fan, Weijie Ou, Rui Xie, Wenyue Zhao
摘要
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%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of Contention 引用了 Polyjuice: High-Performance Transactions via Learned Concurrency Control
- Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of Contention 引用了 Towards Optimal Transaction Scheduling
- Fair Transaction Processing For Multi-Tenant Databases 引用了 Caracal: Contention Management with Deterministic Concurrency Control
- Fair Transaction Processing For Multi-Tenant Databases 引用了 Polyjuice: High-Performance Transactions via Learned Concurrency Control
- Fair Transaction Processing For Multi-Tenant Databases 引用了 Handling Highly Contended OLTP Workloads Using Fast Dynamic Partitioning
- Fair Transaction Processing For Multi-Tenant Databases 引用了 Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern Networks
- Towards Optimal Transaction Scheduling 引用了 Caracal: Contention Management with Deterministic Concurrency Control
- Towards Optimal Transaction Scheduling 引用了 Polyjuice: High-Performance Transactions via Learned Concurrency Control
- Towards Optimal Transaction Scheduling 引用了 Handling Highly Contended OLTP Workloads Using Fast Dynamic Partitioning
- Towards Optimal Transaction Scheduling 引用了 Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern Networks
引用它的顶会 Paper4
- Towards Optimal Transaction SchedulingAudrey Cheng, Aaron N. Kabcenell, Jason Chan, Xiao Shi 等VLDB 2024 · 14 次引用
- Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference ServingShihong Gao, Xin Zhang, Yanyan Shen, Lei ChenSIGMOD 2025 · 7 次引用
- Fair Transaction Processing For Multi-Tenant DatabasesAudrey Cheng, Xiao Shi, Aaron N. Kabcenell, Jolene Huey 等VLDB 2025 · 2 次引用
- Rebirth-Retire: A Concurrency Control Protocol Adaptable to Different Levels of ContentionQian Zhang, Yiwen Xiang, Jianhao Wei, Yang Yang 等VLDB 2025 · 1 次引用
它引用的 Paper4
- Polyjuice: High-Performance Transactions via Learned Concurrency ControlJia-Chen Wang, Ding Ding, Huan Wang, Conrad Christensen 等OSDI 2021 · 39 次引用
- Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 次引用
- Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 次引用
- Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern NetworksErfan Zamanian, Julian Shun, Carsten Binnig, Tim KraskaSIGMOD 2020 · 29 次引用
相关 Paper
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov 等VLDB 2020 · 60 次引用
- Improving the Concurrency Performance of Persistent Memory Transactions on MulticoresQing Wang, Youyou Lu, Zhongjie Wu, Fan Yang 等DAC 2020 · 3 次引用
- Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 次引用
- Sharing Opportunities for OLTP Workloads in Different Isolation LevelsRobin Rehrmann, Carsten Binnig, Alexander Böhm, Kihong Kim 等VLDB 2020 · 8 次引用
- GaccO - A GPU-accelerated OLTP DBMSNils Boeschen, Carsten BinnigSIGMOD 2022 · 18 次引用
