Skip to main content

Query Optimization via Empty Joins

  • Conference paper
  • First Online:
Database and Expert Systems Applications (DEXA 2002)

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

Included in the following conference series:

  • 1392 Accesses

Abstract

A join of two relations in real databases is usually much smaller than their Cartesian product. This means that most of the combinations of tuples in the crossproduct of the respective relations do not appear together in the join result. We characterize these missing combinations as ranges of attributes that do not appear together and present experimental results on their discovery from real data sets. We then explore potential applications of this knowledge to query optimization. By modeling empty joins as materialized views, we show how knowledge of these regions can be used to improve query performance.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. S. Ceri, P. Fraternali, S. Paraboschi, and L. Tanca. Automatic generation of production rules for integrity maintenance. TODS, 19(3):367–422, 1994.

    Article  Google Scholar 

  2. S. Ceri and J. Widom. Deriving production rules for constraint maintanance. In Proceedings of the 16 th VLDB, pages 577–589, Brisbane, Australia, 1990.

    Google Scholar 

  3. U. Chakravarthy, J. Grant, and J. Minker. Logic-based approach to semantic query optimization. ACM TODS, 15(2):162–207, June 1990.

    Article  Google Scholar 

  4. S. Chaudhuri, R. Krishnamurthy, S. Potamianos, and K. Shim. Optimizing queries with materialized views. In Proceedings of the 11th ICDE, pages 190–200, Taipei, Taiwan, 1995. IEEE Computer Society.

    Google Scholar 

  5. I-Min. A. Chen and R. C. Lee. An approach to deriving object hierarchies from database schema and contents. In Proceedings of the 6th ISMIS, pages 112–121, Charlotte, NC, 1991.

    Google Scholar 

  6. Q. Cheng, J. Gryz, F. Koo, C. Leung, L. Liu, X. Qian, and B. Schiefer. Implementation of two semantic query optimization techniques in DB2 UDB. In Proc. of the 25th VLDB, pages 687–698, Edinburgh, Scotland, 1999.

    Google Scholar 

  7. W. Chu, R. C. Lee, and Q. Chen. Using type inference and induced rules to provide intensional answers. In Proc. of the 7th ICDE, pages 396–403, Kobe, Japan, 1991.

    Google Scholar 

  8. S. Dar, M. Franklin, B. Jonsson, D. Srivastava, and M. Tan. Semantic data caching and replacement. In Proc. of 22nd VLDB, pages 330–341, Bombay, India, 1996.

    Google Scholar 

  9. J. Edmonds, J. Gryz, D. Liang, and R. J. Miller. Mining for empty rectangles in large data sets. In Proceedings of the 8th ICDT, pages 174–188, London, UK, 2001.

    Google Scholar 

  10. P. Godfrey, J. Gryz, and C. Zuzarte. Exploiting constraint-like data characterizations in query optimization. In Proceedings of Sigmod, pages 582–592, Santa Barbara, CA, 2001.

    Google Scholar 

  11. J. Gryz, B. Schiefer, J. Zheng, and C. Zuzarte. Discovery and application of check constraints in DB2. In Proceedings of ICDE, pages 551–556, Heidelberg, Germany, 2001.

    Google Scholar 

  12. A. Gupta and I. S. Mumick. Maintenance of materialized views: Problems, techniques, and applications. Data Engineering Bulletin, 18(2):3–18, 1995.

    Google Scholar 

  13. M.T. Hammer and S.B. Zdonik. Knowledge-based query processing. Proc. 6th VLDB, pages 137–147, October 1980.

    Google Scholar 

  14. J. Han, Y. Cai, and N. Cercone. Knowledge discovery in databases: An attributeoriented approach. In Proceedings of the 18th VLDB, pages 547–559, Vancouver, Canada, 1992.

    Google Scholar 

  15. C. N. Hsu and C. A. Knoblock. Using inductive learning to generate rules for semantic query optimization. In Advances in Knowledge Discovery and Data Mining, pages 425–445. AAAI/MIT Press, 1996.

    Google Scholar 

  16. M. Jarke, J. Clifford, and Y. Vassiliou. An optimizing PROLOG front-end to a relational query system. In SIGMOD, pages 296–306, 1984.

    Google Scholar 

  17. J.J. King. Quist: A system for semantic query optimization in relational databases. In Proc. 7th VLDB, pages 510–517, Cannes, France, September 1981.

    Google Scholar 

  18. A. Y. Levy, A. O. Mendelzon, Y. Sagiv, and D. Srivastava. Answering queries using views. In Proceedings of the 14th PODS, pages 95–104, San Jose, California, 1995. ACM Press.

    Google Scholar 

  19. S. Shekar, B. Hamidzadeh, A. Kohli, and M. Coyle. Learning transformation rules for semantic query optimization. TKDE, 5(6):950–964, December 1993.

    Google Scholar 

  20. S.T. Shenoy and Z.M. Ozsoyoglu. Design and implementation of a semantic query optimizer. IEEE Transactions on Knowledge and Data Engineering, 1(3):344–361, September 1989.

    Article  Google Scholar 

  21. M.D. Siegel. Automatic rule derivation for semantic query optimization. In Proceedings of the 2nd International Conference on Expert Database Systems, pages 371–386, Vienna, Virginia, 1988.

    Google Scholar 

  22. D. Srivastava, S. Dar, H.V. Jagadish, and A. Levy. Answering queries with aggregation using views. In Proceedings of the 22nd VLDB, pages 318–329, Bombay, India, 1996.

    Google Scholar 

  23. Clement T. Yu and Wei Sun. Automatic knowledge acquisition and maintenance for semantic query optimization. IEEE Transactions on Knowledge and Data Engineering, 1(3):362–375, September 1989.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gryz, J., Liang, D. (2002). Query Optimization via Empty Joins. In: Hameurlain, A., Cicchetti, R., Traunmüller, R. (eds) Database and Expert Systems Applications. DEXA 2002. Lecture Notes in Computer Science, vol 2453. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46146-9_70

Download citation

  • DOI: https://doi.org/10.1007/3-540-46146-9_70

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-44126-7

  • Online ISBN: 978-3-540-46146-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics