Using Read Promotion and Mixed Isolation Levels for Performant Yet Serializable Execution of Transaction Programs
Brecht Vandevoort, Alan D. Fekete, Bas Ketsman, Frank Neven, Stijn Vansummeren
Abstract
We propose a theory that can determine the lowest isolation level that can be allocated to each transaction program in an application in a mixed-isolation-level setting, to guarantee that all executions will be serializable and thus preserve all integrity constraints, even those that are not explicitly declared. This extends prior work applied to completely known transactions, to deal with the realistic situation where transactions are generated by running programs with parameters that are not known in advance. Using our theory, we propose an optimization method that allows for high throughput while ensuring that all executions are serializable. Our method is based on searching for application code modifications that are semantics-preserving while improving the isolation level allocation. We illustrate our approach to the SmallBank benchmark.
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.
Builds on3
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
- Robustness against Read Committed for Transaction TemplatesBrecht Vandevoort, Bas Ketsman, Christoph Koch, Frank NevenVLDB 2021 · 13 citations
- IsoDiff: Debugging Anomalies Caused by Weak IsolationYifan Gan, Xueyuan Ren, Drew Ripberger, Spyros Blanas et al.VLDB 2020
Related papers
- On the Complexity of Checking Mixed Isolation Levels for SQL TransactionsAhmed Bouajjani, Constantin Enea, Enrique Román-CalvoCAV 2025 · 3 citations
- Repairing serializability bugs in distributed database programs via automated schema refactoringKia Rahmani, Kartik Nagar, Benjamin Delaware, Suresh JagannathanPLDI 2021 · 4 citations
- Boosting End-to-End Database Isolation Checking via Mini-TransactionsHengfeng Wei, Jiang Xiao, Na Yang, Si Liu et al.ICDE 2025 · 3 citations
- TxnSails: Achieving Serializable Transaction Scheduling with Self-Adaptive Isolation Level SelectionQiyu Zhuang, Wei Lu, Shuang Liu, Yuxing Chen et al.VLDB 2025 · 1 citation
- Leopard: A Black-Box Approach for Efficiently Verifying Various Isolation LevelsKeqiang Li, Siyang Weng, Peiyuan Liu, Lyu Ni et al.ICDE 2023 · 3 citations
