Lune

SIGMOD2025Top-tier venue

Ultraverse: An Efficient What-if Analysis Framework for Software Applications Interacting with Database Systems

Ronny Ko, Chuan Xiao, Makoto Onizuka, Zhiqiang Lin, Yihe Huang

Abstract

Existing what-if analysis systems are predominantly tailored to operate on either only the application layer or only the database layer of software. This isolated approach limits their effectiveness in scenarios where intensive interaction between applications and database systems occurs. To address this gap, we introduce Ultraverse, a what-if analysis framework that seamlessly integrates both application and database layers. Ultraverse employs dynamic symbolic execution to effectively translate application code into compact SQL procedure representations, thereby synchronizing application semantics at both SQL and application levels during what-if replays. A novel aspect of Ultraverse is its use of advanced query dependency analysis, which serves two key purposes: (1) it eliminates the need to replay irrelevant transactions that do not influence the outcome, and (2) it facilitates parallel replay of mutually independent transactions, significantly enhancing the analysis efficiency. Ultraverse is applicable to existing unmodified database systems and legacy application codes. Our extensive evaluations of the framework have demonstrated remarkable improvements in what-if analysis speed, achieving performance gains ranging from 7.7x to 291x across diverse benchmarks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on5

  1. The Flan Collection: Designing Data and Methods for Effective Instruction TuningShayne Longpre, Le Hou, Tu Vu, Albert Webson et al.ICML 2023 · 908 citations
  2. Enabling Reconstruction of Attacks on Users via Efficient Browsing SnapshotsPhani Vadrevu, Jienan Liu, Bo Li, Babak Rahbarinia et al.NDSS 2017 · 22 citations
  3. Runtime Recovery of Web Applications under Zero-Day ReDoS AttacksZhihao Bai, Ke Wang, Hang Zhu, Yinzhi Cao et al.S&P 2021 · 19 citations
  4. Fast and Service-preserving Recovery from Malware Infections Using CRIUAshton Webster, Ryan Eckenrod, James PurtiloUSENIX Security 2018 · 19 citations
  5. Efficient Answering of Historical What-if QueriesFelix S. Campbell, Bahareh Sadat Arab, Boris GlavicSIGMOD 2022 · 7 citations

Related papers

  1. HypeR: Hypothetical Reasoning With What-If and How-To Queries Using a Probabilistic Causal ApproachSainyam Galhotra, Amir Gilad, Sudeepa Roy, Babak SalimiSIGMOD 2022 · 15 citations
  2. RID: Deduplicating Snapshot ComputationsNikos Tsikoudis, Liuba ShriraSIGMOD 2020 · 2 citations
  3. I-Rex: An Interactive Debugger for SQLYihao Hu, Zian Chen, Zhiming Leong, Sharan Sokhi et al.VLDB 2026
  4. Excalibur: A Virtual Machine for Adaptive Fine-grained JIT-Compiled Query Execution based on VOILATim Gubner, Peter BonczVLDB 2023 · 10 citations
  5. One WITH RECURSIVE is Worth Many GOTOsDenis Hirn, Torsten GrustSIGMOD 2021 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines