Please use this identifier to cite or link to this item:
https://hdl.handle.net/20.500.14279/13852
Title: | Automated SQL tuning through trial and (sometimes) error | Authors: | Herodotou, Herodotos Babu, Shivnath |
Major Field of Science: | Medical and Health Sciences | Field Category: | Electrical Engineering - Electronic Engineering - Information Engineering | Keywords: | SQL tuning;database query;Database systems | Issue Date: | 23-Nov-2009 | Source: | Proceedings of the 2nd International Workshop on Testing Database Systems, DBTest '09 | Conference: | International Workshop on Testing Database Systems | Abstract: | SQL tuning - the attempt to improve a poorly-performing execution plan produced by the database query optimizer - is a critical aspect of database performance tuning. Ironically, as commercial databases strive to improve on the manageability front, SQL tuning is becoming more of a black art. It requires a high level of expertise in areas like (i) query optimization, run-time execution of query plan operators, configuration parameter settings, and other database internals; (ii) identification of missing indexes and other access structures; (iii) statistics maintained about the data; and (iv) characteristics of the underlying storage system. Since database systems, their workloads, and the data that they manage are not getting any simpler, database users and administrators often rely on trial and error for SQL tuning. In this paper, we take the position that the trial-and-error (or, experiment-driven) process of SQL tuning can be automated by the database system in an e cient manner; freeing the user or administrator from this burden in most cases. A number of current approaches to SQL tuning indeed take an experiment-driven approach. We are prototyping a tool, called zTuned, that automates experiment-driven SQL tuning. This paper describes the design choices in zTuned to address three nontrivial issues: (i) how is the SQL tuning logic integrated with the regular query optimizer, (ii) how to plan the experiments to conduct so that a satisfactory (new) plan can be found quickly, and (iii) how to conduct experiments with minimal impact on the user-facing production workload. We conclude with a preliminary empirical evaluation and outline promising new directions in automated SQL tuning. Copyright 2009 ACM. | ISBN: | 9781605587066 | DOI: | 10.1145/1594156.1594171 | Rights: | © ACM | Type: | Conference Papers | Affiliation : | Duke University | Publication Type: | Peer Reviewed |
Appears in Collections: | Δημοσιεύσεις σε συνέδρια /Conference papers or poster or presentation |
CORE Recommender
SCOPUSTM
Citations
10
6
checked on Mar 14, 2024
Page view(s)
267
Last Week
0
0
Last month
3
3
checked on Dec 3, 2024
Google ScholarTM
Check
Altmetric
Items in KTISIS are protected by copyright, with all rights reserved, unless otherwise indicated.