Title :
Effective and Robust Pruning for Top-Down Join Enumeration Algorithms
Author :
Fender, Pit ; Moerkotte, Guido ; Neumann, Thomas ; Leis, Viktor
Author_Institution :
Database Res. Group, Mannheim Univ., Mannheim, Germany
Abstract :
Finding the optimal execution order of join operations is a crucial task of today´s cost-based query optimizers. There are two approaches to identify the best plan: bottom-up and top-down join enumeration. For both optimization strategies efficient algorithms have been published. However, only the top-down approach allows for branch-and-bound pruning. Two pruning techniques can be found in the literature. We add six new ones. Combined, they improve performance roughly by an average factor of 2 - 5. Even more important, our techniques improve the worst case by two orders of magnitude. Additionally, we introduce a new, very efficient, and easy to implement top-down join enumeration algorithm. This algorithm, together with our improved pruning techniques, yields a performance which is by an average factor of 6 - 9 higher than the performance of the original top-down enumeration algorithm with the original pruning methods.
Keywords :
database management systems; optimisation; query processing; tree searching; DBMS; bottom-up join enumeration; branch-and-bound pruning; cost-based query optimizers; optimal execution order; optimization strategies; robust pruning; top-down join enumeration algorithms; Complexity theory; Heuristic algorithms; Optimization; Partitioning algorithms; Prediction algorithms; Robustness; Upper bound;
Conference_Titel :
Data Engineering (ICDE), 2012 IEEE 28th International Conference on
Conference_Location :
Washington, DC
Print_ISBN :
978-1-4673-0042-1
DOI :
10.1109/ICDE.2012.27