• DocumentCode
    610396
  • Title

    Top down plan generation: From theory to practice

  • Author

    Fender, P. ; Moerkotte, G.

  • Author_Institution
    Univ. of Mannheim, Mannheim, Germany
  • fYear
    2013
  • fDate
    8-12 April 2013
  • Firstpage
    1105
  • Lastpage
    1116
  • 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. But only the top-down approach allows for branch-and-bound pruning, which can improve compile time by several orders of magnitude while still preserving optimality. For both optimization strategies, efficient enumeration algorithms have been published. However, there are two severe limitations for the top-down approach: The published algorithms can handle only (1) simple (binary) join predicates and (2) inner joins. Since real queries may contain complex join predicates involving more than two relations, and outer joins as well as other non-inner joins, efficient top-down join enumeration cannot be used in practice yet. We develop a novel top-down join enumeration algorithm that overcomes these two limitations. Furthermore, we show that our new algorithm is competitive when compared with the state of the art in bottom-up processing even without playing out its advantage by making use of its branch-and-bound pruning capabilities.
  • Keywords
    query processing; tree searching; bottom-up join enumeration; bottom-up processing; branch-and-bound pruning capabilities; cost-based query optimizers; enumeration algorithms; optimization strategies; top down plan generation; top-down approach; top-down join enumeration algorithm; Abstracts; Dynamic programming; Generators; Heuristic algorithms; Joining processes; Optimization; Partitioning algorithms;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering (ICDE), 2013 IEEE 29th International Conference on
  • Conference_Location
    Brisbane, QLD
  • ISSN
    1063-6382
  • Print_ISBN
    978-1-4673-4909-3
  • Electronic_ISBN
    1063-6382
  • Type

    conf

  • DOI
    10.1109/ICDE.2013.6544901
  • Filename
    6544901