skip to main content
10.5555/1182635.1164207acmconferencesArticle/Chapter ViewAbstractPublication PagesvldbConference Proceedingsconference-collections
Article

Analysis of two existing and one new dynamic programming algorithm for the generation of optimal bushy join trees without cross products

Published:01 September 2006Publication History

ABSTRACT

Two approaches to derive dynamic programming algorithms for constructing join trees are described in the literature. We show analytically and experimentally that these two variants exhibit vastly diverging runtime behaviors for different query graphs. More specifically, each variant is superior to the other for one kind of query graph (chain or clique), but fails for the other. Moreover, neither of them handles star queries well. This motivates us to derive an algorithm that is superior to the two existing algorithms because it adapts to the search space implied by the query graph.

References

  1. {1} T. Cormen, C. Leiserson, R. Rivest, and C. Stein. Introduction to Algorithms. MIT Press, 2001. 2nd Edition. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. {2} P. Gassner, G. Lohman, and K. Schiefer. Query optimization in the IBM DB2 family. IEEE Data Engineering Bulletin, 16:4-18, Dec. 1993.Google ScholarGoogle Scholar
  3. {3} D. Kossmann and K. Stocker. Iterative dynamic programming: a new class of query optimization algorithms. ACM Trans. on Database Systems, 25(1):43-82, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. {4} G. Moerkotte. Dp-counter analytics. Technical Report 2, University of Mannheim, 2006.Google ScholarGoogle Scholar
  5. {5} K. Ono and G. Lohman. Measuring the complexity of join enumeration in query optimization. In Proc. Int. Conf. on Very Large Data Bases (VLDB), pages 314-325, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. {6} G. Rücker and C. Rücker. Automatic enumeration of all connected subgraphs. Commun. Math. Comput. Chem., 41:145-149, 2000.Google ScholarGoogle Scholar
  7. {7} P. Selinger, M. Astrahan, D. Chamberlin, R. Lorie, and T. Price. Access path selection in a relational database management system. In Proc. of the ACM SIGMOD Conf. on Management of Data, pages 23-34, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. {8} A. R. Sharafat and O. R. Ma'rouzi. A novel and efficient algorithm for scanning all minimal cutsets of a graph. ArXiv Mathematics e-prints, 2002.Google ScholarGoogle Scholar
  9. {9} B. Vance. Join-order Optimization with Cartesian Products. PhD thesis, Oregon Graduate Institute of Science and Technology, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. {10} B. Vance and D. Maier. Rapid bushy join-order optimization with cartesian products. In Proc. of the ACM SIGMOD Conf. on Management of Data, pages 35-46, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Analysis of two existing and one new dynamic programming algorithm for the generation of optimal bushy join trees without cross products

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader