{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T11:42:12Z","timestamp":1794742932494,"version":"4.9.1"},"reference-count":60,"publisher":"Association for Computing Machinery (ACM)","issue":"ISSTA","license":[{"start":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T00:00:00Z","timestamp":1750550400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,22]]},"abstract":"<jats:p>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.<\/jats:p>\n                  <jats:p>\n                    In this paper, we propose\n                    <jats:sc>Hulk<\/jats:sc>\n                    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,\n                    <jats:sc>Hulk<\/jats:sc>\n                    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\n                    <jats:sc>Hulk<\/jats:sc>\n                    on six widely-used DBMSs, namely MySQL, MariaDB, Percona, TiDB, PostgreSQL, and AntDB.\n                    <jats:sc>Hulk<\/jats:sc>\n                    totally reports 135 anomalies, with 129 have been confirmed as new bugs, including 14 CVEs. Among them, 94 are data-sensitive performance anomalies.\n                  <\/jats:p>","DOI":"10.1145\/3728973","type":"journal-article","created":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T10:52:56Z","timestamp":1750589576000},"page":"2181-2202","source":"Crossref","is-referenced-by-count":6,"title":["Hulk: Exploring Data-Sensitive Performance Anomalies in DBMSs via Data-Driven Analysis"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1908-5043","authenticated-orcid":false,"given":"Zhiyong","family":"Wu","sequence":"first","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1046-0337","authenticated-orcid":false,"given":"Jie","family":"Liang","sequence":"additional","affiliation":[{"name":"Beihang University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9759-878X","authenticated-orcid":false,"given":"Jingzhou","family":"Fu","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2153-6766","authenticated-orcid":false,"given":"Mingzhe","family":"Wang","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0955-503X","authenticated-orcid":false,"given":"Yu","family":"Jiang","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,22]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"[n. d.]. databases. https:\/\/en.wikipedia.org\/wiki\/Database. Accessed: April 24 2025."},{"key":"e_1_3_1_3_2","unstructured":"[n. d.]. MariaDB. https:\/\/mariadb.org\/. Accessed: April 24 2025."},{"key":"e_1_3_1_4_2","unstructured":"[n. d.]. MariaDB GitHub. https:\/\/github.com\/MariaDB\/server. Accessed: 2023-10-05."},{"key":"e_1_3_1_5_2","unstructured":"[n. d.]. MySQL. https:\/\/www.mysql.com\/. Accessed: April 24 2025."},{"key":"e_1_3_1_6_2","unstructured":"[n. d.]. PostgreSQL. https:\/\/www.postgresql.org\/. Accessed: April 24 2025."},{"key":"e_1_3_1_7_2","unstructured":"[n. d.]. PostgreSQL derived databases. https:\/\/wiki.postgresql.org\/wiki\/PostgreSQL_derived_databases. Accessed: April 24 2025."},{"key":"e_1_3_1_8_2","unstructured":"[n. d.]. SQLite and SQLite alternatives - databases for the Mobile and IoT edge. https:\/\/objectbox.io\/sqlite-alternatives\/. Accessed: April 24 2025."},{"key":"e_1_3_1_9_2","unstructured":"AISWare. [n. d.]. AntDB Github. https:\/\/github.com\/ADBSQL. Accessed: April 24 2025."},{"key":"e_1_3_1_10_2","unstructured":"AISWare. [n. d.]. AntDB Website. http:\/\/www.antdb.co\/\/. Accessed: April 24 2025."},{"key":"e_1_3_1_11_2","doi-asserted-by":"crossref","first-page":"12","DOI":"10.1109\/ICST.2018.00012","volume-title":"2018 IEEE 11th International Conference on Software Testing, Verification and Validation (ICST)","author":"Alsharif Abdullah","year":"2018","unstructured":"Abdullah Alsharif, Gregory M Kapfhammer, and Phil McMinn. 2018. DOMINO: Fast and effective test data generation for relational database schemas. In 2018 IEEE 11th International Conference on Software Testing, Verification and Validation (ICST). IEEE, 12\u201322."},{"key":"e_1_3_1_12_2","doi-asserted-by":"crossref","unstructured":"Jinsheng Ba and Manuel Rigger. 2024. CERT: Finding Performance Issues in Database Systems Through the Lens of Cardinality Estimation. In Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering. 1\u201313.","DOI":"10.1145\/3597503.3639076"},{"key":"e_1_3_1_13_2","volume-title":"MariaDB cookbook","author":"Bartholomew Daniel","year":"2014","unstructured":"Daniel Bartholomew. 2014. MariaDB cookbook. Packt Publishing Ltd."},{"key":"e_1_3_1_14_2","unstructured":"Youssef Bassil. 2012. A comparative study on the performance of the Top DBMS systems. arXiv preprint arXiv:1205.2889 (2012)."},{"key":"e_1_3_1_15_2","doi-asserted-by":"crossref","unstructured":"Carsten Binnig Donald Kossmann Eric Lo and M Tamer \u00d6zsu. 2007. QAGen: generating query-aware test databases. In Proceedings of the 2007 ACM SIGMOD international conference on Management of data. 341\u2013352.","DOI":"10.1145\/1247480.1247520"},{"key":"e_1_3_1_16_2","unstructured":"BlackFriday. [n. d.]. Get Access to Black Friday Prices All Year. https:\/\/blackfriday.com\/. Accessed: April 24 2025."},{"key":"e_1_3_1_17_2","unstructured":"Avatar Magnus Bl\u00e5udd. [n. d.]. Percona Website. https:\/\/www.percona.com\/. Accessed: April 24 2025."},{"key":"e_1_3_1_18_2","unstructured":"Nicolas Bruno and Surajit Chaudhuri. 2005. Flexible database generators. In Proceedings of the 31st international conference on Very large data bases. 1097\u20131107."},{"key":"e_1_3_1_19_2","unstructured":"Olegs \u010capligins and Andrejs Ermui\u017ea. [n. d.]. MySQL Database Management System Forks Comparison and Usage. ([n. d.])."},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.ins.2014.01.015"},{"key":"e_1_3_1_21_2","volume-title":"The inverse Gaussian distribution: theory: methodology, and applications","author":"Chhikara Raj","year":"1988","unstructured":"Raj Chhikara. 1988. The inverse Gaussian distribution: theory: methodology, and applications. Vol. 95. CRC Press."},{"key":"e_1_3_1_22_2","unstructured":"Jingzhou Fu Jie Liang Zhiyong Wu Mingzhe Wang and Yu Jiang. 2022. Griffin: Grammar-Free DBMS Fuzzing. In Conference on Automated Software Engineering (ASE\u201922)."},{"key":"e_1_3_1_23_2","doi-asserted-by":"crossref","unstructured":"Jim Gray Prakash Sundaresan Susanne Englert Ken Baclawski and Peter J Weinberger. 1994. Quickly generating billion-record synthetic databases. In Proceedings of the 1994 ACM SIGMOD international conference on Management of data. 243\u2013252.","DOI":"10.1145\/191839.191886"},{"key":"e_1_3_1_24_2","unstructured":"Kenneth Houkj\u00e6r Kristian Torp and Rico Wind. 2006. Simple and realistic data generation. In Proceedings of the 32nd international conference on Very large data bases. 1243\u20131246."},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.14778\/3415478.3415535"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/1270.1498"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/234313.234367"},{"key":"e_1_3_1_28_2","unstructured":"ISO\/IEC. [n. d.]. ISO\/IEC 9075-1:2003. https:\/\/www.iso.org\/standard\/34132.html. Accessed: April 24 2025."},{"key":"e_1_3_1_29_2","unstructured":"Solid IT. [n. d.]. DB-Engines Ranking. https:\/\/db-engines.com\/en\/ranking. Accessed: April 24 2025."},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/356924.356928"},{"key":"e_1_3_1_31_2","volume-title":"Proceedings of the 46th International Conference on Very Large Data Bases (VLDB)","author":"Jung Jinho","year":"2020","unstructured":"Jinho Jung, Hong Hu, Joy Arulraj, Taesoo Kim, and Woonhak Kang. 2020. APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems (to appear). In Proceedings of the 46th International Conference on Very Large Data Bases (VLDB). Tokyo, Japan."},{"key":"e_1_3_1_32_2","doi-asserted-by":"crossref","first-page":"238","DOI":"10.1109\/ASE.2008.34","volume-title":"2008 23rd IEEE\/ACM International Conference on Automated Software Engineering","author":"Khalek Shadi Abdul","year":"2008","unstructured":"Shadi Abdul Khalek, Bassem Elkarablieh, Yai O Laleye, and Sarfraz Khurshid. 2008. Query-aware test generation using a relational constraint solver. In 2008 23rd IEEE\/ACM International Conference on Automated Software Engineering. IEEE, 238\u2013247."},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.4097\/kjae.2017.70.2.144"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.1007\/s41019-020-00149-7"},{"key":"e_1_3_1_35_2","volume-title":"Cost-based Oracle fundamentals","author":"Lewis Jonathan","year":"2006","unstructured":"Jonathan Lewis and Thomas Kyte. 2006. Cost-based Oracle fundamentals. Springer."},{"key":"e_1_3_1_36_2","volume-title":"2023 IEEE International Conference on Data Engineering (ICDE)","author":"Liang Jie","unstructured":"Jie Liang, Yaoguang Chen, Zhiyong Wu, Jingzhou Fu, Mingzhe Wang, Yu Jiang, Xiangdong Huang, Ting Chen, Jiashui Wang, and Jiajia Li. [n. d.]. Sequence-Oriented DBMS Fuzzing. In 2023 IEEE International Conference on Data Engineering (ICDE). IEEE."},{"key":"e_1_3_1_37_2","doi-asserted-by":"crossref","unstructured":"Jie Liang Zhiyong Wu Jingzhou Fu Mingzhe Wang Chengnian Sun and Yu Jiang. 2024. Mozi: Discovering DBMS bugs via configuration-based equivalent transformation. In Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering. 1\u201312.","DOI":"10.1145\/3597503.3639112"},{"key":"e_1_3_1_38_2","doi-asserted-by":"crossref","unstructured":"Xinyu Liu Qi Zhou Joy Arulraj and Alessandro Orso. 2022. Automatic Detection of Performance Bugs in Database Systems using Equivalent Queries. (2022).","DOI":"10.1145\/3510003.3510093"},{"key":"e_1_3_1_39_2","volume-title":"PostgreSQL: introduction and concepts","author":"Momjian Bruce","year":"2001","unstructured":"Bruce Momjian. 2001. PostgreSQL: introduction and concepts. Vol. 192. Addison-Wesley New York."},{"key":"e_1_3_1_40_2","volume-title":"Applied statistics and probability for engineers","author":"Montgomery Douglas C","year":"2010","unstructured":"Douglas C Montgomery and George C Runger. 2010. Applied statistics and probability for engineers. John wiley & sons."},{"key":"e_1_3_1_41_2","unstructured":"Oracle. [n. d.]. MySQL Bug List. https:\/\/bugs.mysql.com\/. Accessed:April 24 2025."},{"key":"e_1_3_1_42_2","unstructured":"Oracle. [n. d.]. MySQL Explain Manual. https:\/\/dev.mysql.com\/doc\/refman\/8.0\/en\/using-explain.html. Accessed: April 24 2025."},{"key":"e_1_3_1_43_2","unstructured":"PingCAP. [n. d.]. TiDB. https:\/\/github.com\/pingcap\/tidb. Accessed: April 24 2025."},{"key":"e_1_3_1_44_2","volume-title":"Database management systems","author":"Ramakrishnan Raghu","year":"2003","unstructured":"Raghu Ramakrishnan, Johannes Gehrke, and Johannes Gehrke. 2003. Database management systems. Vol. 3. McGraw-Hill New York."},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/2897356.2897362"},{"key":"e_1_3_1_46_2","article-title":"Finding Bugs in Database Systems via Query Partitioning","volume":"4","author":"Rigger M","unstructured":"M Rigger and Z Su. [n. d.]. Finding Bugs in Database Systems via Query Partitioning. PACMPL 4 (OOPSLA)(Nov 2020).","journal-title":"PACMPL"},{"key":"e_1_3_1_47_2","doi-asserted-by":"crossref","unstructured":"Manuel Rigger and Zhendong Su. 2020. Detecting optimization bugs in database engines via non-optimizing reference engine construction. In Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. 1140\u20131152.","DOI":"10.1145\/3368089.3409710"},{"key":"e_1_3_1_48_2","unstructured":"Manuel Rigger and Zhendong Su. 2020. Testing database engines via pivoted query synthesis. In 14th USENIX Symposium on Operating Systems Design and Implementation OSDI 20). 667\u2013682."},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1073\/pnas.42.1.43"},{"key":"e_1_3_1_50_2","unstructured":"Andreas Seltenreich Bo Tang and Sjoerd Mullender. 2018. SQLsmith: a random SQL query generator. https:\/\/github.com\/anse1\/sqlsmith"},{"key":"e_1_3_1_51_2","first-page":"309","volume-title":"2012 USENIX Annual Technical Conference, Boston, MA, USA, June 13-15, 2012","author":"Serebryany Konstantin","year":"2012","unstructured":"Konstantin Serebryany, Derek Bruening, Alexander Potapenko, and Dmitriy Vyukov. 2012. AddressSanitizer: A Fast Address Sanity Checker. In 2012 USENIX Annual Technical Conference, Boston, MA, USA, June 13-15, 2012, Gernot Heiser and Wilson C. Hsieh (Eds.). USENIX Association, 309\u2013318. https:\/\/www.usenix.org\/conference\/atc12\/technical-sessions\/presentation\/serebryany"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.5555\/67942"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE-SEIP52600.2021.00042"},{"key":"e_1_3_1_54_2","unstructured":"Qingshuai Wang Yuming Li Rong Zhang Ke Shu Zhenjie Zhang and Aoying Zhou. 2022. A Scalable Query-Aware Enormous Database Generator for Database Evaluation. IEEE Transactions on Knowledge and Data Engineering (2022)."},{"key":"e_1_3_1_55_2","doi-asserted-by":"crossref","unstructured":"Zuozhi Wang Kai Zeng Botong Huang Wei Chen Xiaozong Cui Bo Wang Ji Liu Liya Fan Dachuan Qu Zhenyu Hou et al. 2020. Tempura: A general cost based optimizer framework for incremental data processing (extended version). arXiv preprint arXiv:2009.13631 (2020).","DOI":"10.14778\/3421424.3421427"},{"key":"e_1_3_1_56_2","volume-title":"MySQL reference manual: documentation from the source","author":"Widenius Michael","year":"2002","unstructured":"Michael Widenius, David Axmark, and Kaj Arno. 2002. MySQL reference manual: documentation from the source. \" O\u2019Reilly Media, Inc.\"."},{"key":"e_1_3_1_57_2","unstructured":"Zhiyong Wu Jie Liang Jingzhou Fu Mingzhe Wang and Yu Jiang. 2024. PUPPY: Finding Performance Degradation Bugs in DBMSs via Limited-Optimization Plan Construction. In 2025 IEEE\/ACM 47th International Conference on Software Engineering (ICSE). IEEE Computer Society 560\u2013571."},{"key":"e_1_3_1_58_2","unstructured":"Zhiyong Wu Jie Liang Mingzhe Wang Chijin Zhou and Yu Jiang. 2022. Unicorn: Detect Runtime Errors in Time-Series Databases With Hybrid Input Synthesis. In Symposium on Software Testing and Analysis (ISSTA\u201922)."},{"issue":"1","key":"e_1_3_1_59_2","first-page":"51","article-title":"Oracle\u2019s SQL Performance Analyzer","volume":"31","author":"Yagoub Khaled","year":"2008","unstructured":"Khaled Yagoub, Peter Belknap, Benoit Dageville, Karl Dias, Shantanu Joshi, and Hailing Yu. 2008. Oracle\u2019s SQL Performance Analyzer. IEEE Data Eng. Bull. 31, 1 (2008), 51\u201358.","journal-title":"IEEE Data Eng. Bull"},{"key":"e_1_3_1_60_2","doi-asserted-by":"crossref","unstructured":"Jiaqi Yan Qiuye Jin Shrainik Jain Stratis D Viglas and Allison Lee. 2018. Snowtrail: Testing with production queries on a cloud database. In Proceedings of the Workshop on Testing Database Systems. 1\u20136.","DOI":"10.1145\/3209950.3209958"},{"key":"e_1_3_1_61_2","doi-asserted-by":"crossref","unstructured":"Rui Zhong Yongheng Chen Hong Hu Hangfan Zhang Wenke Lee and Dinghao Wu. 2020. Squirrel: Testing Database Management Systems with Language Validity and Coverage Feedback. In The ACM Conference on Computer and Communications Security (CCS) 2020.","DOI":"10.1145\/3372297.3417260"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3728973","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T13:44:25Z","timestamp":1787492665000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3728973"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,22]]},"references-count":60,"journal-issue":{"issue":"ISSTA","published-print":{"date-parts":[[2025,6,22]]}},"alternative-id":["10.1145\/3728973"],"URL":"https:\/\/doi.org\/10.1145\/3728973","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,22]]}}}