DocumentCode :
2729574
Title :
Adaptively Reordering Joins during Query Execution
Author :
Quanzhong Li ; Minglong Sha ; Markl, V. ; Beyer, K. ; Colby, L. ; Lohman, G.
Author_Institution :
IBM Almaden Res. Center, San Jose, CA, USA
fYear :
2007
fDate :
15-20 April 2007
Firstpage :
26
Lastpage :
35
Abstract :
Traditional query processing techniques based on static query optimization are ineffective in applications where statistics about the data are unavailable at the start of query execution or where the data characteristics are skewed and change dynamically. Several adaptive query processing techniques have been proposed in recent years to overcome the limitations of static query optimizers through either explicit re-optimization of plans during execution or by using a row-routing based approach. In this paper, we present a novel method for processing pipelined join plans that dynamically arranges the join order of both inner and outer-most tables at run-time. We extend the Eddies concept of "moments of symmetry" to reorder indexed nested-loop joins, the join method used by all commercial DBMSs for building pipelined query plans for applications for which low latencies are crucial. Unlike row-routing techniques, our approach achieves adaptability by changing the pipeline itself which avoids the bookkeeping and routing decision associated with each row. Operator selectivities monitored during query execution are used to change the execution plan at strategic points, and the change of execution plans utilizes a novel and efficient technique for avoiding duplicates in the query results. Our prototype implementation in a commercial DBMS shows a query execution speedup of up to 8 times.
Keywords :
adaptive systems; database management systems; query processing; adaptive query processing; data characteristics; database management system; join method; join order; pipelined join plans; pipelined query plans; query execution; routing decision; static query optimization; Cost function; Delay; Demography; Filtering; Monitoring; Pipelines; Query processing; Runtime; Statistical distributions; Statistics;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 2007. ICDE 2007. IEEE 23rd International Conference on
Conference_Location :
Istanbul
Print_ISBN :
1-4244-0802-4
Type :
conf
DOI :
10.1109/ICDE.2007.367848
Filename :
4221651
Link To Document :
بازگشت