Hulk: Exploring Data-Sensitive Performance Anomalies in DBMSs via Data-Driven Analysis
Zhiyong Wu, Jie Liang, Jingzhou Fu, Mingzhe Wang, Yu Jiang
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Sequence-Oriented DBMS Fuzzing 引用了 Detecting optimization bugs in database engines via non-optimizing reference engine construction
- Sequence-Oriented DBMS Fuzzing 引用了 Testing Database Engines via Pivoted Query Synthesis
- Sequence-Oriented DBMS Fuzzing 引用了 Griffin : Grammar-Free DBMS Fuzzing
- Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State Verification 引用了 Sequence-Oriented DBMS Fuzzing
- Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State Verification 引用了 Automatic Detection of Performance Bugs in Database Systems using Equivalent Queries
- Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State Verification 引用了 Detecting optimization bugs in database engines via non-optimizing reference engine construction
- Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State Verification 引用了 Testing Database Engines via Pivoted Query Synthesis
- Detecting optimization bugs in database engines via non-optimizing reference engine construction 引用了 Testing Database Engines via Pivoted Query Synthesis
- Griffin : Grammar-Free DBMS Fuzzing 引用了 Testing Database Engines via Pivoted Query Synthesis
引用它的顶会 Paper1
它引用的 Paper11
- Testing Database Engines via Pivoted Query SynthesisManuel Rigger, Zhendong SuOSDI 2020 · 150 次引用
- Detecting optimization bugs in database engines via non-optimizing reference engine constructionManuel Rigger, Zhendong SuFSE 2020 · 104 次引用
- Griffin : Grammar-Free DBMS FuzzingJingzhou Fu, Jie Liang, Zhiyong Wu, Mingzhe Wang 等ASE 2022 · 44 次引用
- Automatic Detection of Performance Bugs in Database Systems using Equivalent QueriesXinyu Liu, Qi Zhou, Joy Arulraj, Alessandro OrsoICSE 2022 · 42 次引用
- Sequence-Oriented DBMS FuzzingJie Liang, Yaoguang Chen, Zhiyong Wu, Jingzhou Fu 等ICDE 2023 · 29 次引用
相关 Paper
- PUPPY: Finding Performance Degradation Bugs in DBMSs via Limited-Optimization Plan ConstructionZhiyong Wu, Jie Liang, Jingzhou Fu, Mingzhe Wang 等ICSE 2025 · 6 次引用
- CERT: Finding Performance Issues in Database Systems Through the Lens of Cardinality EstimationJinsheng Ba, Manuel RiggerICSE 2024 · 12 次引用
- DBPA: A Benchmark for Transactional Database Performance AnomaliesShiyue Huang, Ziwei Wang, Xinyi Zhang, Yaofeng Tu 等SIGMOD 2023 · 8 次引用
- Detecting Isolation Anomalies in Relational DBMSsRui Yang, Ziyu Cui, Wensheng Dou, Yu Gao 等ISSTA 2025 · 3 次引用
- Mozi: Discovering DBMS Bugs via Configuration-Based Equivalent TransformationJie Liang, Zhiyong Wu, Jingzhou Fu, Mingzhe Wang 等ICSE 2024 · 18 次引用
