Skip to main content

A Tractable Query Cache by Approximation

  • Conference paper
  • First Online:
Abstraction, Reformulation, and Approximation (SARA 2002)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 2371))

Abstract

In this paper we present the organization of a predicate-based query cache suitable for integration with agent-based heterogeneous database systems. The cache is managed using a tractable (sound and complete) query containment algorithm, yet there are no language restrictions placed on the applications. This is accomplished by introducing query approximation.

Query approximation is a compilation technique where a query expression in a general query language is mapped to a query expression in a restricted language. We define a target language such that query containment can be tested in polynomial time. We specify the algorithms by which the query engine and the cache manager may negotiate a choice of approximation and the development of a query plan. We use two application workloads and the TPC-D benchmark queries to assess the value of the cache within the architecture of the InfoSleuth heterogeneous database system.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. C. Beeri, A. Levy and M.-C. Rousset. Rewriting queries using views in description logics. In Proc. of ACM Symp. on Principles of Database Systems, 1997.

    Google Scholar 

  2. A.K. Chandra and P.M. Merlin. Optimal implementation of conjunctive queries in relational databases. In Proc. of the ACM Symp. on Theory of Computing, 1977.

    Google Scholar 

  3. C. Chekuri and A. Rajaraman. Conjunctive query containment revisited. In Proc. of Int. Conf. on database theory (ICDT’ 97), pages 16–21, 1997.

    Google Scholar 

  4. C.M. Chen and N. Roussopoulos. The implementation and performance evaluation of the ADMS query optimizer: integrating query result caching and matching. Tech. Rep. CS-TR-3159, Computer Science Dept., University of Maryland, 1993.

    Google Scholar 

  5. R.W. Floyd. Algorithm 97: Shortest path. CACM, 5(6), June 1962.

    Google Scholar 

  6. H. Garcia-Molina, J. D. Ullman and J. D. Widom. Database Systems: The Complete Book, 1/e. Prentice-Hall, 2002.

    Google Scholar 

  7. A. Klug. On conjunctive queries containing inequalities. Journal of the ACM, 35(1), January 1988.

    Google Scholar 

  8. Ph.G. Kolaitis, D.L. Martin, M.N. Thakur. On the complexity of the containment problem for conjunctive queries with built-in predicates. In Proc. of ACM Symp. on Principles of Database Systems, 1998.

    Google Scholar 

  9. M. Nodine, J. Fowler, T. Ksiezyk, B. Perry, M. Taylor, A. Unruh. Active Information Gathering in InfoSleuth. IJCIS 9(1–2):3–28, 2000

    Google Scholar 

  10. X. Qian. Query folding. In Proc. of Twelfth Int. Conf. on Data Engineering, 1996.

    Google Scholar 

  11. D.J. Rosenkrantz and H.B. Hunt. Processing conjunctive predicates and queries. In Proc. of Int. Conf. on Very Large Databases, 1980.

    Google Scholar 

  12. Y. Saraiya. Subtree elimination algorithms in deductive databases. Ph.D. thesis, Computer Science Department, Stanford University, 1991.

    Google Scholar 

  13. M. Schaerf and M. Cadoli. Tractable reasoning via approximation. In Artificial Intelligence, 74, 1995.

    Google Scholar 

  14. R. van der Meyden. The complexity of querying infinite data about linearly ordered domains. Journal of Computer and System Sciences, 54(1), 1997.

    Google Scholar 

  15. D. Quass and J. Widom. On-line warehouse view maintenance. In Proc. of SIG-MOD’ 97, 1997.

    Google Scholar 

  16. X. Zhang and Z.M. Ozsoyoglu. Some results on the containment and minimization of (in)equality queries. Information Processing Letters, (50), 1994.

    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

Miranker, D., Taylor, M.C., Padmanaban, A. (2002). A Tractable Query Cache by Approximation. In: Koenig, S., Holte, R.C. (eds) Abstraction, Reformulation, and Approximation. SARA 2002. Lecture Notes in Computer Science(), vol 2371. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45622-8_11

Download citation

  • DOI: https://doi.org/10.1007/3-540-45622-8_11

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics