Robustness against Read Committed for Transaction Templates
Brecht Vandevoort, Bas Ketsman, Christoph Koch, Frank Neven
摘要
The isolation level Multiversion Read Committed (RC), offered by many database systems, is known to trade consistency for increased transaction throughput. Sometimes, transaction workloads can be safely executed under RC obtaining the perfect isolation of serializability at the lower cost of RC. To identify such cases, we introduce an expressive model of transaction programs to better reason about the serializability of transactional workloads. We develop tractable algorithms to decide whether any possible schedule of a workload executed under RC is serializable (referred to as the robustness problem). Our approach yields robust subsets that are larger than those identified by previous methods. We provide experimental evidence that workloads that are robust against RC can be evaluated faster under RC compared to stronger isolation levels. We discuss techniques for making workloads robust against RC by promoting selective read operations to updates. Depending on the scenario, the performance improvements can be considerable. Robustness testing and safely executing transactions under the lower isolation level RC can therefore provide a direct way to increase transaction throughput without changing DBMS internals.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Oze: Decentralized Graph-based Concurrency Control for Long-running Update Transactions 引用了 Aria: A Fast and Practical Deterministic OLTP Database
- Oze: Decentralized Graph-based Concurrency Control for Long-running Update Transactions 引用了 Opportunities for Optimism in Contended Main-Memory Multicore Transactions
- Using Read Promotion and Mixed Isolation Levels for Performant Yet Serializable Execution of Transaction Programs 引用了 Opportunities for Optimism in Contended Main-Memory Multicore Transactions
引用它的顶会 Paper3
- Oze: Decentralized Graph-based Concurrency Control for Long-running Update TransactionsJun Nemoto, Taksahi Kambayashi, Takashi Hoshino, Hideyuki KawashimaVLDB 2025 · 3 次引用
- TxnSails: Achieving Serializable Transaction Scheduling with Self-Adaptive Isolation Level SelectionQiyu Zhuang, Wei Lu, Shuang Liu, Yuxing Chen 等VLDB 2025 · 1 次引用
- Using Read Promotion and Mixed Isolation Levels for Performant Yet Serializable Execution of Transaction ProgramsBrecht Vandevoort, Alan D. Fekete, Bas Ketsman, Frank Neven 等VLDB 2025
它引用的 Paper3
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov 等VLDB 2020 · 60 次引用
- Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 次引用
- Aria: A Fast and Practical Deterministic OLTP DatabaseYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2020
相关 Paper
- Sharing Opportunities for OLTP Workloads in Different Isolation LevelsRobin Rehrmann, Carsten Binnig, Alexander Böhm, Kihong Kim 等VLDB 2020 · 8 次引用
- AWDIT: An Optimal Weak Database Isolation TesterLasse Møldrup, Andreas PavlogiannisPLDI 2025 · 5 次引用
- On the Complexity of Checking Mixed Isolation Levels for SQL TransactionsAhmed Bouajjani, Constantin Enea, Enrique Román-CalvoCAV 2025 · 3 次引用
- Repairing serializability bugs in distributed database programs via automated schema refactoringKia Rahmani, Kartik Nagar, Benjamin Delaware, Suresh JagannathanPLDI 2021 · 4 次引用
- Boosting End-to-End Database Isolation Checking via Mini-TransactionsHengfeng Wei, Jiang Xiao, Na Yang, Si Liu 等ICDE 2025 · 3 次引用
