Skip to main content

An O(n2) algorithm for fan-out free query optimization

  • Session 5 Database Theory
  • Conference paper
  • First Online:
Foundations of Software Technology and Theoretical Computer Science (FSTTCS 1987)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 287))

Abstract

An optimization algorithm for fan-out free queries, which form an untyped subclass of conjunctive queries, based on the implication graph technique is presented. The algorithm takes O(n2) steps where n is the size of the query. This algorithm subsumes all known algorithms for optimizing subclasses of fan-out free queries.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A.V.Aho,Y.Sagiv and J.D.Ullman, Efficient optimization of a class of relational expressions, ACM Trans. on Database Systems, Vol. 4, No. 4, Dec 1979.

    Google Scholar 

  2. A.K.Chandra and P.M.Merlin, Optimal implementation of conjunctive queries in relational databases, Proc. 9th Annual Symposium on Theory of Computation, May 1977.

    Google Scholar 

  3. P.Dublish and S.N.Maheshwari, Optimization of a subclass of fan-out free queries, Unpublished Manuscript, Feb 1987.

    Google Scholar 

  4. D.S.Johnson and A.Klug, Optimizing conjunctive queries that contain untyped variables, SIAM Journal on Computing, Vol. 12, No. 4, Nov 1983.

    Google Scholar 

  5. B.N.S.Murthy and S.N.Maheshwari, Optimization of a class of relational expressions, Proc. 2nd Annual Conference on Foundations of Software Technology and Theoretical Computer Science, Bangalore, 1982.

    Google Scholar 

  6. B.N.S.Murthy, P.Dublish and S.N.Maheshwari, Some negative results on the optimization of conjunctive queries, Technical Report TR 85/01, Deptt. of Computer Science and Engg., IIT Delhi, Dec 1985.

    Google Scholar 

  7. D.Maier, The Theory of Relational Database, Computer Science Press, 1983.

    Google Scholar 

  8. Y.Sagiv, Quadratic algorithms for minimizing joins in restricted relational expressions, SIAM Journal on Computing, Vol. 12, No. 2, May 1983.

    Google Scholar 

  9. J.D.Ullman, Principles of Database Systems, Computer Science Press, 1982.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Kesav V. Nori

Rights and permissions

Reprints and permissions

Copyright information

© 1987 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Dublish, P., Maheshwari, S.N. (1987). An O(n2) algorithm for fan-out free query optimization. In: Nori, K.V. (eds) Foundations of Software Technology and Theoretical Computer Science. FSTTCS 1987. Lecture Notes in Computer Science, vol 287. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-18625-5_54

Download citation

  • DOI: https://doi.org/10.1007/3-540-18625-5_54

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-18625-0

  • Online ISBN: 978-3-540-48033-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics