Remember The Past: Self-Tuning Histograms Based On Query-Feedback Logs

Xiaojing Li,Bo Zhou,Jinxiang Dong
2005-01-01
Abstract:Inaccurate or outdated statistics used by the query optimizer of a relational DBMS often result in poor query execution plans and hence unacceptable long query processing times in information systems. Traditionally, statistics are manually maintained by the DBA, which is time and energy consuming. While self-tuning histograms provide an approach to creating and maintaining statistics of relatively high accuracy and low cost, existing technologies often ignore the history of query feedback and later timing often ruins results of former ones. In this paper we introduce Query-Feedback-Log based Self-Tuning Histograms (qflSTH). By smart coding of query-feedback logs, the histogram can be viewed as a set of deducible rules. Using rules, more accurate statistics can be inferred and damages to results of former tunings by later ones are avoided. Sufficient experiments validated the high accuracy and low maintaining cost of qflSYH.
What problem does this paper attempt to address?