Debugging Database Queries: A Survey of Tools, Techniques, and Users
摘要
Database management systems (or DBMSs) have been around for decades, and yet are still difficult to use, particularly when trying to identify and fix errors in user programs (or queries). We seek to understand what methods have been proposed to help people debug database queries, and whether these techniques have ultimately been adopted by DBMSs (and users). We conducted an interdisciplinary review of 112 papers and tools from the database, visualisation and HCI communities. To better understand whether academic and industry approaches are meeting the needs of users, we interviewed 20 database users (and some designers), and found surprising results. In particular, there seems to be a wide gulf between users' debugging strategies and the functionality implemented in existing DBMSs, as well as proposed in the literature. In response, we propose new design guidelines to help system designers to build features that more closely match users debugging strategies.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper8
- SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World ApplicationsJinyang Li, Xiaolong Li, Ge Qu, Per Jacobsson 等NeurIPS 2025 · 15 次引用
- DIEL: Interactive Visualization Beyond the Here and NowYifan Wu, Remco Chang, Joseph M. Hellerstein, Arvind Satyanarayan 等IEEE VIS 2021 · 9 次引用
- QEVIS: Multi-Grained Visualization of Distributed Query ExecutionQiaomu Shen, Zhengxin You, Xiao Yan, Chaozu Zhang 等IEEE VIS 2023 · 5 次引用
- VegaProf: Profiling Vega VisualizationsJunran Yang, Alex Bäuerle, Dominik Moritz, Çagatay DemiralpUIST 2023 · 5 次引用
- Understanding and Supporting Debugging Workflows in CADFelix Hähnlein, Gilbert Bernstein, Adriana SchulzUIST 2024 · 5 次引用
相关 Paper
- I-Rex: An Interactive Debugger for SQLYihao Hu, Zian Chen, Zhiming Leong, Sharan Sokhi 等VLDB 2026
- Interactive Text-to-SQL Generation via Editable Step-by-Step ExplanationsYuan Tian, Zheng Zhang, Zheng Ning, Toby Jia-Jun Li 等EMNLP 2023 · 14 次引用
- QOVIS: Understanding and Diagnosing Query Optimizer via a Visualization-assisted Approach (Revision)Zhengxin You, Qiaomu Shen, Man Lung Yiu, Bo TangVLDB 2025 · 1 次引用
- Understanding Query Optimization Bugs in Graph Database SystemsYuyu Chen, Zhongxing YuASPLOS 2026 · 1 次引用
- SQLucid: Grounding Natural Language Database Queries with Interactive ExplanationsYuan Tian, Jonathan K. Kummerfeld, Toby Jia-Jun Li, Tianyi ZhangUIST 2024 · 13 次引用
