Debugging Database Queries: A Survey of Tools, Techniques, and Users
Authors
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.
Research Questions / Practical Problems
Question signals indexed for this paper.
- 67%
ReverSim: An Open-Source Environment for the Controlled Study of Human Aspects in Hardware Reverse Engineering
CHI '25· Explainable AI (XAI) +1
- 67%
SQLucid: Grounding Natural Language Database Queries with Interactive Explanations
UIST '24· Explainable AI (XAI) +1
- 60%
Computational Interaction: Theory and Practice
CHI '18· Computational Methods in HCI
- 60%
Model-based Evaluation of Recall-based Interaction Techniques
CHI '24· Computational Methods in HCI
- 60%
I Think I Get Your Point, AI! The Illusion of Explanatory Depth in Explainable AI
IUI '21· Explainable AI (XAI)
- 60%
Small-Step Live Programming by Example
UIST '20· Computational Methods in HCI
Based on Jaccard similarity of research subtopics & professions (≥60%)