• DocumentCode
    3144513
  • Title

    A new, highly efficient, and easy to implement top-down join enumeration algorithm

  • Author

    Fender, Pit ; Moerkotte, Guido

  • Author_Institution
    Database Res. Group, Univ. of Mannheim, Mannheim, Germany
  • fYear
    2011
  • fDate
    11-16 April 2011
  • Firstpage
    864
  • Lastpage
    875
  • Abstract
    Finding an optimal execution order of join operations is a crucial task in every cost-based query optimizer. Since there are many possible join trees for a given query, the overhead of the join (tree) enumeration algorithm per valid join tree should be minimal. In the case of a clique-shaped query graph, the best known top-down algorithm has a complexity of Θ(n2) per join tree, where n is the number of relations. In this paper, we present an algorithm that has an according O(1) complexity in this case. We show experimentally that this more theoretical result has indeed a high impact on the performance in other non-clique settings. This is especially true for cyclic query graphs. Further, we evaluate the performance of our new algorithm and compare it with the best top-down and bottom-up algorithms described in the literature.
  • Keywords
    computational complexity; graph theory; query processing; tree data structures; trees (mathematics); bottom-up algorithm; clique shaped query graph; computational complexity; cost based query optimizer; cyclic query graph; join tree; optimal execution order; top-down join enumeration algorithm; Algorithm design and analysis; Complexity theory; Data structures; Heuristic algorithms; Niobium; Optimization; Partitioning algorithms;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering (ICDE), 2011 IEEE 27th International Conference on
  • Conference_Location
    Hannover
  • ISSN
    1063-6382
  • Print_ISBN
    978-1-4244-8959-6
  • Electronic_ISBN
    1063-6382
  • Type

    conf

  • DOI
    10.1109/ICDE.2011.5767901
  • Filename
    5767901