Facilitating SQL Query Composition and Analysis
Not on the map. Why?
Abstract (arXiv)
Formulating efficient SQL queries requires several cycles of tuning and execution, particularly for inexperienced users. We examine methods that can accelerate and improve this interaction by providing insights about SQL queries prior to execution. We achieve this by predicting properties such as the query answer size, its run-time, and error class. Unlike existing approaches, our approach does not rely on any statistics from the database instance or query execution plans. This is particularly important in settings with limited access to the database instance. Our approach is based on using data-driven machine learning techniques that rely on large query workloads to model SQL queries and their properties. We evaluate the utility of neural network models and traditional machine learning models. We use two real-world query workloads: the Sloan Digital Sky Survey (SDSS) and the SQLShare query workload. Empirical results show that the neural network models are more accurate in predicting the query error class, achieving a higher F-measure on classes with fewer samples as well as performing better on other problems such as run-time and answer size prediction. These results are encouraging and confirm that SQL query workloads and data-driven machine learning methods can be leveraged to facilitate query composition and analysis.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 0; 2023: 1.
4 papers.
- 2021Efficient Deep Learning Pipelines for Accurate Cost Estimations Over Large Scale Query Workloadcited by 4
- 2023Real-time Workload Pattern Analysis for Large-scale Cloud Databasescited by 4
- 2021"What makes my queries slow?": Subgroup Discovery for SQL Workload Analysiscited by 3
- 2021Privacy in Open Search: A Review of Challenges and Solutionscited by 3
- 2023Real-time Workload Pattern Analysis for Large-scale Cloud Databases5 Jul 2023
- 2021Privacy in Open Search: A Review of Challenges and Solutions20 Oct 2021
- 2021"What makes my queries slow?": Subgroup Discovery for SQL Workload Analysis9 Aug 2021
- 2021Efficient Deep Learning Pipelines for Accurate Cost Estimations Over Large Scale Query Workload23 Mar 2021