Title
A SQL Debugger Built from Spare Parts: Turning a SQL: 1999 Database System into Its Own Debugger
Abstract
We demonstrate a new incarnation of Habitat, an observational debugger for SQL. In observational debugging, users highlight parts of a presumably faulty query to observe the evaluation of SQL subexpressions and learn about the query's actual runtime behavior. The present version of Habitat has been redesigned from scratch and employs a query instrumentation technique that exclusively relies on the SQL facilities of the underlying RDBMS. We particularly shed light on new features like (1) the debugging of recursive SQL queries and (2) the observation of row groups (before and after aggregation). Habitat can turn any reasonably modern SQL:1999 RDBMS into its own language-level SQL debugger.
Year
DOI
Venue
2015
10.1145/2723372.2735358
ACM SIGMOD Conference
Keywords
Field
DocType
SQL,debuggers,observational debugging
PL/SQL,Stored procedure,Programming language,Language Integrated Query,Computer science,Query by Example,SQL:1999,SQL injection,Database,Null (SQL),SQL/PSM
Conference
Citations 
PageRank 
References 
2
0.41
4
Authors
2
Name
Order
Citations
PageRank
Benjamin Dietrich120.41
Torsten Grust21482148.79