DocumentCode :
2456783
Title :
Parametric Plan Caching Using Density-Based Clustering
Author :
Aluç, Gunes ; DeHaan, David E. ; Bowman, Ivan T.
Author_Institution :
Univ. of Waterloo, Waterloo, ON, Canada
fYear :
2012
fDate :
1-5 April 2012
Firstpage :
402
Lastpage :
413
Abstract :
Query plan caching eliminates the need for repeated query optimization, hence, it has strong practical implications for relational database management systems (RDBMSs). Unfortunately, existing approaches consider only the query plan generated at the expected values of parameters that characterize the query, data and the current state of the system, while these parameters may take different values during the lifetime of a cached plan. A better alternative is to harvest the optimizer´s plan choice for different parameter values, populate the cache with promising query plans, and select a cached plan based upon current parameter values. To address this challenge, we propose a parametric plan caching (PPC) framework that uses an online plan space clustering algorithm. The clustering algorithm is density-based, and it exploits locality-sensitive hashing as a pre-processing step so that clusters in the plan spaces can be efficiently stored in database histograms and queried in constant time. We experimentally validate that our approach is precise, efficient in space-and-time and adaptive, requiring no eager exploration of the plan spaces of the optimizer.
Keywords :
cache storage; pattern clustering; query processing; relational databases; PPC; RDBMS; database histogram; density-based clustering; locality sensitive hashing; online plan space clustering algorithm; parametric plan caching; query plan caching; relational database management system; repeated query optimization; Clustering algorithms; Computational modeling; Couplings; History; Optimization; Prediction algorithms; Query processing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering (ICDE), 2012 IEEE 28th International Conference on
Conference_Location :
Washington, DC
ISSN :
1063-6382
Print_ISBN :
978-1-4673-0042-1
Type :
conf
DOI :
10.1109/ICDE.2012.57
Filename :
6228101
Link To Document :
بازگشت