arXiv:2609.05288cs.PLSep 2026

Manuscript Offprint

arXiv:2609.05288

Augur: Predicting View Serializability Violations in Relational Data Store Applications

Chujun Geng, Noah Charlton, Spyros Blanas, Michael D. Bond, Yang Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

CHUJUN GENG ∗^{*}, Ohio State University, USA

NOAH CHARLTON, Ohio State University, USA

SPYROS BLANAS, Ohio State University, USA

MICHAEL D. BOND, Ohio State University, USA

YANG WANG, Ohio State University, USA

Relational data stores are widely used because they provide persistence, scalability, and fault tolerance with a simple interface. However, most data store applications configure the data store to use weak isolation for scalable performance, permitting sporadic unserializable executions that produce incorrect results or failures. Prior work uses dynamic predictive analysis to infer violations from execution traces, but existing techniques cannot handle relational (i.e., SQL) queries with complex predicates, and they predict executions that do not violate VIEW SERIALIZABILITY, leading to false negatives and false positives.

This paper introduces AUGUR, the first dynamic predictive program analysis that (1) supports data store applications with complex relational queries and (2) reports only executions that violate VIEW SERIALIZABILITY. The evaluation demonstrates that AUGUR finds feasible, unserializable executions in OLTP-Bench programs and in the widely used e-commerce application Spree.

CCS Concepts: • Software and its engineering → Software testing and debugging.

Additional Key Words and Phrases: weak isolation, relational databases, dynamic predictive analysis

ACM Reference Format:

Chujun Geng, Noah Charlton, Spyros Blanas, Michael D. Bond, and Yang Wang. 2026. AUGUR: Predicting VIEW SERIALIZABILITY Violations in Relational Data Store Applications (extended arXiv version). Proc. ACM Program. Lang. 10, OOPSLA2, Article 348 (October 2026), 32 pages. https://doi.org/10.1145/3839480

1 Introduction

Relational data stores are indispensable components of many systems [16, 18, 32, 42]. They are popular in no small part because they scale well, tolerate faults, and provide a relatively simple interface. These benefits come at a cost, so many applications configure data stores to use weak isolation such as READ COMMITTED and REPEATABLE READ [5] because they outperform strong isolation, i.e., SERIALIZABILITY [7, 35]. However, weak isolation permits unserializable behaviors (i.e., outcomes not produced by any serial ordering of transactions). Unserializable behaviors may not be inherently erroneous, but they are difficult for developers to reason about and as a result lead to serious errors in real systems [14, 45, 50].

In this paper, we target the problem of finding unserializable behaviors of data store applications that are feasible under (correctly implemented) weak isolation. This problem is also referred to as finding robustness violations in the application [4, 6]. Unserializable behaviors are hard to

Authors' Contact Information: Chujun Geng, Ohio State University, Columbus, USA, geng.195@osu.edu; Noah Charlton, Ohio State University, Columbus, USA, charlton.78@osu.edu; Spyros Blanas, Ohio State University, Columbus, USA, blanas.2@osu.edu; Michael D. Bond, Ohio State University, Columbus, USA, mikebond@cse.ohio-state.edu; Yang Wang, Ohio State University, Columbus, USA, wang.7564@osu.edu.

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License.

© 2026 Copyright held by the owner/author(s).

ACM 2475-1421/2026/10-ART348

https://doi.org/10.1145/3839480

348:2

Chujun Geng, Noah Charlton, Spyros Blanas, Michael D. Bond, and Yang Wang

detect; they can manifest unexpectedly in testing or production environments, e.g., under heavy request load, high contention, or other unusual conditions. Researchers have introduced various program analysis-based approaches to detect unserializable behaviors of data store applications, but classical limitations extend to this domain. Static analysis scales poorly with analysis precision and program complexity [13, 33, 38]. Model checking explores all executions but encounters search space explosion [1, 10, 23]. Dynamic analysis can find unserializable behaviors in only one observed execution at a time [8, 9, 11, 12]. Notably, MonkeyDB is a dynamic approach that tries to expose unserializable behaviors at run time, but it relies on a custom data store to model weak isolation semantics [9], preventing it from finding unserializable behaviors that are realizable only in real testing or production settings—a major drawback since unserializable behaviors are often environment sensitive.

A promising alternative to the aforementioned techniques is to “predict” unserializable executions from observed serializable¹ executions. Dynamic predictive analysis aims to find a feasible, legal, unserializable execution based on an observed serializable execution alone, i.e., without looking at the application program (thus avoiding the limitations of static analysis). Although predictive analysis is not a panacea—it can only find behaviors that are “predictable” from the observed execution (a notion defined in §3.3)—it can nonetheless expose unserializable executions that are “close to” a real, observed serializable execution in the execution space. In finding such a predictable execution based on an observed execution, predictive analysis subsumes dynamic analysis by essentially checking a set of executions instead of a single execution, while avoiding the precision and scalability pitfalls of static analysis and model checking.

There exists prior work in the “predictive analysis of data store applications” space—approaches that predict unserializable executions from observed serializable executions [19, 20, 50]—but they have two major limitations:

  • They do not model relational (i.e., SQL) queries as anything more than executed reads and writes, which incurs false negatives and false positives, as our evaluation shows for false negatives specifically.
  • They predict executions that do not violate VIEW SERIALIZABILITY (which are false positives), as our evaluation shows.

Addressing these limitations of existing predictive analyses presents challenges unaddressed by existing art. Modeling SQL queries with predicates in the context of predictive analysis requires symbolically encoding predicate-matching, conditional responses, and conditional updates. VIEW UNSERIALIZABILITY cannot be encoded directly in polynomial-size, quantifier-free SMT constraints, requiring a new solution. §2 provides more details on these challenges.

This paper introduces AUGUR, a dynamic predictive analysis-based approach that models SQL queries accurately and predicts executions that violate VIEW SERIALIZABILITY. AUGUR generates SMT constraints that model its supported SQL subset exactly, accounting for different behaviors in the predicted execution. Specifically, if a query reads different values, then it can write different values, different rows can match its predicate, more queries can read different values, and so on. An off-the-shelf SMT solver solves the constraints, yielding a feasible, unserializable execution that satisfies the target weak isolation level. To find VIEW SERIALIZABILITY violations, AUGUR uses a novel iterative approach that rules out an equivalence class of execution histories whenever it detects a view-serializable execution. In this way, AUGUR soundly finds unserializable behaviors that are predictable from the observed SQL trace and is complete except for one approximation (§4.6).

¹If the observed execution is unserializable, there is no need for prediction.

AUGUR : Predicting VIEW SERIALIZABILITY Violations in Relational Data Store Applications (extended arXiv version) 348:3

In addition to solving these fundamental limitations of prior work, AUGUR has two other features that are not universally provided by prior work: It is conservative about potential application-level dependencies, and it is data-store agnostic by observing executions at the application-data store boundary. The result is a high-coverage, precise approach that finds unserializable executions that satisfy a target weak isolation level. Moreover, the paper introduces a novel formulation of executions and isolation levels that exposes the relationship between dependency- and view-based isolation level definitions.

Our evaluation has two components. First, we evaluate AUGUR's key contributions that differentiate it from prior work: (1) modeling SQL queries and (2) finding VIEW SERIALIZABILITY violations. We compare AUGUR directly with prior work IsoPredict [20] by using IsoPredict's custom data store as the data store backend for both approaches. This evaluation demonstrates that there exist (1) executions for which modeling SQL queries avoids false negatives (in spite of methodological limitations preventing greater evidence of this effect) and (2) executions for which finding VIEW SERIALIZABILITY violations avoids false positives. Second, we evaluate AUGUR on widely used benchmarks [17] and a real e-commerce data store application framework called Spree [47], using MySQL as the data store backend. Notably, AUGUR finds several feasible VIEW SERIALIZABILITY violations in Spree. Although a scalability evaluation on Spree traces suggests that AUGUR cannot scale to very long executions, the results show that analyzing shorter (windows of) executions is sufficient to predict unserializable executions.

This work advances the state of the art by demonstrating the first predictive analysis-based approach that models SQL queries and detects VIEW SERIALIZABILITY violations.

References (21)