zTuned: Automated SQL Tuning through Trial and (Sometimes) Error
نویسنده
چکیده
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 intuition and trial and error for SQL tuning. This work takes the position that the trial and error (or, experiment-driven) process of SQL tuning can be automated by the database system itself in an efficient manner; freeing the user or administrator from this burden in most cases. We formalize the problem of tuning a poorly-performing execution plan. We then describe the design of a prototype system that automates SQL tuning using an experiment-driven approach. Experiments are conducted with almost zero impact on the user-facing production database. The nontrivial challenge we addressed was to plan the best set of experiments to conduct, so that a satisfactory (new) plan can be found quickly.
منابع مشابه
QueryScope: visualizing queries for repeatable database tuning
Reading and perceiving complex SQL queries has been a time consuming task in traditional database applications for decades. When it comes to decision support systems with automatically generated and sometimes highly nested SQL queries, human understanding or tuning of these workloads becomes even more challenging. This demonstration explores visualization methods to represent queries as graphs....
متن کاملAutomated FM-AFM Feedback Tuning
FM-AFM is an extremely powerful and versatile imaging technique capable of atomic resolution imaging in vacuum, air or liquid. However, obtaining such results in practice currently requires tedious and time consuming manual tuning of many feedback parameters by trial and error. We present a recently developed algorithm for automated tuning of FM-AFM feedback parameters. The algorithm optimizes ...
متن کاملAutomated FM-AFM Feedback Tuning
FM-AFM is an extremely powerful and versatile imaging technique capable of atomic resolution imaging in vacuum, air or liquid. However, obtaining such results in practice currently requires tedious and time consuming manual tuning of many feedback parameters by trial and error. We present a recently developed algorithm for automated tuning of FM-AFM feedback parameters. The algorithm optimizes ...
متن کاملAutomated parameter tuning based on RMS errors for nonequispaced FFTs
In this paper we study the error behavior of the well known fast Fourier transform for nonequispaced data (NFFT) with respect to the L2-norm. We compare the arising errors for different window functions and show that the accuracy of the algorithm can be significantly improved by modifying the shape of the window function. Based on the considered error estimates for different window functions we...
متن کاملManipulation Control of a Flexible Space Free Flying Robot Using Fuzzy Tuning Approach
Cooperative object manipulation control of rigid-flexible multi-body systems in space is studied in this paper. During such tasks, flexible members like solar panels may get vibrated that in turn may lead to some oscillatory disturbing forces on other subsystems, and consequently produces error in the motion of the end-effectors of the cooperative manipulating arms. Therefore, to design and dev...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009