Lune

CAV2025顶会

On the Complexity of Checking Mixed Isolation Levels for SQL Transactions

Ahmed Bouajjani, Constantin Enea, Enrique Román-Calvo

摘要

Abstract Concurrent accesses to databases are typically grouped in transactions which define units of work that should be isolated from other concurrent computations and resilient to failures. Modern databases provide different levels of isolation for transactions that correspond to different trade-offs between consistency and throughput. Quite often, an application can use transactions with different isolation levels at the same time. In this work, we investigate the problem of testing isolation level implementations in databases, i.e., checking whether a given execution composed of multiple transactions adheres to the prescribed isolation level semantics. We particularly focus on transactions formed of SQL queries and the use of multiple isolation levels at the same time. We show that many restrictions of this problem are NP-complete and provide an algorithm which is exponential-time in the worst-case, polynomial-time in relevant cases, and practically efficient.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Plume: Efficient and Complete Black-Box Checking of Weak Isolation Levels 引用了 Elle: Inferring Isolation Anomalies from Experimental Observations
  • Plume: Efficient and Complete Black-Box Checking of Weak Isolation Levels 引用了 Efficient Black-box Checking of Snapshot Isolation in Databases
  • Augur: Predicting View Serializability Violations in Relational Data Store Applications 引用了 Elle: Inferring Isolation Anomalies from Experimental Observations
  • Augur: Predicting View Serializability Violations in Relational Data Store Applications 引用了 MonkeyDB: effectively testing correctness under weak isolation levels
  • Efficient Black-box Checking of Snapshot Isolation in Databases 引用了 Elle: Inferring Isolation Anomalies from Experimental Observations
  • Efficient Black-box Checking of Snapshot Isolation in Databases 引用了 MonkeyDB: effectively testing correctness under weak isolation levels
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Arbitration-Free Consistency Is Available (and Vice Versa)Hagit Attiya, Constantin Enea, Enrique Román-CalvoPOPL 2026
  2. Augur: Predicting View Serializability Violations in Relational Data Store ApplicationsChujun Geng, Noah Charlton, Spyros Blanas, Michael D. Bond 等OOPSLA 2026

它引用的 Paper5

  1. Elle: Inferring Isolation Anomalies from Experimental ObservationsPeter Alvaro, Kyle KingsburyVLDB 2021 · 88 次引用
  2. Stateless Model Checking Under a Reads-Value-From EquivalencePratyush Agarwal, Krishnendu Chatterjee, Shreya Pathak, Andreas Pavlogiannis 等CAV 2021 · 25 次引用
  3. MonkeyDB: effectively testing correctness under weak isolation levelsRanadeep Biswas, Diptanshu Kakwani, Jyothi Vedurada, Constantin Enea 等OOPSLA 2021 · 18 次引用
  4. Efficient Black-box Checking of Snapshot Isolation in DatabasesKaile Huang, Si Liu, Zhenge Chen, Hengfeng Wei 等VLDB 2023 · 18 次引用
  5. Plume: Efficient and Complete Black-Box Checking of Weak Isolation LevelsSi Liu, Long Gu, Hengfeng Wei, David A. BasinOOPSLA 2024 · 9 次引用

相关 Paper

  1. AWDIT: An Optimal Weak Database Isolation TesterLasse Møldrup, Andreas PavlogiannisPLDI 2025 · 5 次引用
  2. Robustness against Read Committed for Transaction TemplatesBrecht Vandevoort, Bas Ketsman, Christoph Koch, Frank NevenVLDB 2021 · 13 次引用
  3. Detecting Isolation Bugs via Transaction Oracle ConstructionWensheng Dou, Ziyu Cui, Qianwang Dai, Jiansen Song 等ICSE 2023 · 21 次引用
  4. 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
  5. DBStorm: Generating Various Effective Workloads for Testing Isolation LevelsKeqiang Li, Siyang Weng, Lyu Ni, Chengcheng Yang 等ISSTA 2024 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖