Lune

ISSTA2025Top-tier venue

Hulk: Exploring Data-Sensitive Performance Anomalies in DBMSs via Data-Driven Analysis

Zhiyong Wu, Jie Liang, Jingzhou Fu, Mingzhe Wang, Yu Jiang

Abstract

Performance is crucial for database management systems (DBMSs), and they are always designed to handle ever-changing workloads efficiently. However, the complexity of the cost-based optimizer (CBO) and its interactions can introduce implementation errors, leading to data-sensitive performance anomalies. These anomalies may cause significant performance degradation compared to the expected design under certain datasets. To diagnose performance issues, DBMS developers often rely on intuitions or compare execution times to a baseline DBMS. These approaches overlook the impact of datasets on performance. As a result, only a subset of performance issues is identified and resolved. In this paper, we propose Hulk to automatically explore these data-sensitive performance anomalies via data-driven analysis. The key idea is to identify performance anomalies as the dataset evolves. Specifically, Hulk estimates a reasonable response time range for each data volume to pinpoint performance cliffs. Then, performance cliffs are checked for deviations from expected performance by finding a reasonable plan that aligns with performance expectations. We evaluate Hulk on six widely used DBMSs, namely MySQL, MariaDB, Percona, TiDB, PostgreSQL, and AntDB. Hulk totally reports 135 anomalies, with 129 have been confirmed as new bugs, including 14 CVEs. Among them, 94 are data-sensitive performance anomalies.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Sequence-Oriented DBMS Fuzzing cites Detecting optimization bugs in database engines via non-optimizing reference engine construction
  • Sequence-Oriented DBMS Fuzzing cites Testing Database Engines via Pivoted Query Synthesis
  • Sequence-Oriented DBMS Fuzzing cites Griffin : Grammar-Free DBMS Fuzzing
  • Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State Verification cites Sequence-Oriented DBMS Fuzzing
  • Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State Verification cites Automatic Detection of Performance Bugs in Database Systems using Equivalent Queries
  • Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State Verification cites Detecting optimization bugs in database engines via non-optimizing reference engine construction
  • Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State Verification cites Testing Database Engines via Pivoted Query Synthesis
  • Detecting optimization bugs in database engines via non-optimizing reference engine construction cites Testing Database Engines via Pivoted Query Synthesis
  • Griffin : Grammar-Free DBMS Fuzzing cites Testing Database Engines via Pivoted Query Synthesis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State VerificationZhiyong Wu, Jie Liang, Jingzhou Fu, Wenqian Deng et al.SOSP 2025 · 1 citation

Builds on11

  1. Testing Database Engines via Pivoted Query SynthesisManuel Rigger, Zhendong SuOSDI 2020 · 150 citations
  2. Detecting optimization bugs in database engines via non-optimizing reference engine constructionManuel Rigger, Zhendong SuFSE 2020 · 104 citations
  3. Griffin : Grammar-Free DBMS FuzzingJingzhou Fu, Jie Liang, Zhiyong Wu, Mingzhe Wang et al.ASE 2022 · 44 citations
  4. Automatic Detection of Performance Bugs in Database Systems using Equivalent QueriesXinyu Liu, Qi Zhou, Joy Arulraj, Alessandro OrsoICSE 2022 · 42 citations
  5. Sequence-Oriented DBMS FuzzingJie Liang, Yaoguang Chen, Zhiyong Wu, Jingzhou Fu et al.ICDE 2023 · 29 citations

Related papers

  1. PUPPY: Finding Performance Degradation Bugs in DBMSs via Limited-Optimization Plan ConstructionZhiyong Wu, Jie Liang, Jingzhou Fu, Mingzhe Wang et al.ICSE 2025 · 6 citations
  2. CERT: Finding Performance Issues in Database Systems Through the Lens of Cardinality EstimationJinsheng Ba, Manuel RiggerICSE 2024 · 12 citations
  3. DBPA: A Benchmark for Transactional Database Performance AnomaliesShiyue Huang, Ziwei Wang, Xinyi Zhang, Yaofeng Tu et al.SIGMOD 2023 · 8 citations
  4. Detecting Isolation Anomalies in Relational DBMSsRui Yang, Ziyu Cui, Wensheng Dou, Yu Gao et al.ISSTA 2025 · 3 citations
  5. Mozi: Discovering DBMS Bugs via Configuration-Based Equivalent TransformationJie Liang, Zhiyong Wu, Jingzhou Fu, Mingzhe Wang et al.ICSE 2024 · 18 citations
Dusk over the sea between two cliffs drawn in fine vertical lines