Skip to main content

Query Optimization through Removing Dead Subqueries

  • Conference paper
  • First Online:

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

Abstract

A dead subquery is a part of a query not contributing to the final query result. Dead subqueries appear mostly due to querying views. A method of detecting and eliminating dead subqueries is presented. It assumes that views are processed by query modification, which macro-substitutes a view invocation with the corresponding view definition. The method is founded on a new semantic framework of object-oriented query languages, referred to as the stack-based approach. Dead parts are detected through static (compile-time) analysis of scoping and binding properties for names occurring in a query. The method is explained by a pseudo-code algorithm and illustrated by examples.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Fernandez, M., Simeon, J., Wadler, P.: XML Query Languages: Experiences and Exemplars. http://www-db.research.bell-labs.com/user/simeon/xquery.html. (2000).

  2. Cattel, R., Barry, D.: Object Data Standard 3.0. Morgan Kaufmann. (2000).

    Google Scholar 

  3. Ott, N., Horlander, K.: Removing Redundant Join Operations in Queries Involving Views. Information Systems 10(3). (1985) 279–288.

    Article  MATH  Google Scholar 

  4. Płodzień, J.: Optimization Methods in Object Query Languages. Ph.D. Thesis. Institute of Computer Science, Polish Academy of Sciences. (2000).

    Google Scholar 

  5. Płodzień, J., Kraken, A.: Object Query Optimization through Detecting Independent Subqueries. Information Systems 25(8). (2000) 467–490.

    Article  MATH  Google Scholar 

  6. Płodzień, J., Subieta, K.: Optimization of Object-Oriented Queries by Factoring Out Independent Subqueries. Institute of Computer Science, Polish Academy of Sciences. Report 889. (1999).

    Google Scholar 

  7. Płodzień, J., Subieta, K.: Static Analysis of Queries as a Tool for Static Optimization. Proc. of IDEAS. to appear (2001).

    Google Scholar 

  8. Stonebraker, M.: Implementation of Integrity Constraints and Views by Query Modification. Proc. of SIGMOD. (1975) 65–78.

    Google Scholar 

  9. Subieta, K.: Mapping Heterogeneous Ontologies through Object Views. Proc. of 3rd Workshop on Engineering Federated Information Systems. (2000) 1–10.

    Google Scholar 

  10. Subieta, K., Beeri, C., Matthes, F., Schmidt, J.: A Stack-Based Approach to Query Languages. Proc. of 2 nd Intl. East-West Database Workshop. (1995) 159–180.

    Google Scholar 

  11. Subieta, K., Kambayashi, Y., Leszczylowski, J.: Procedures in Object-Oriented Query Languages. Proc. of VLDB. (1995) 182–193.

    Google Scholar 

  12. Subieta, K., Płodzień, J.: Object Views and Query Modification. In: Barzdins, J., Caplinskas, A. (eds.): Databases and Information Systems. Kluwer Academic Publishers. (2001) 3–14.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Płodzień, J., Subieta, K. (2001). Query Optimization through Removing Dead Subqueries. In: Caplinskas, A., Eder, J. (eds) Advances in Databases and Information Systems. ADBIS 2001. Lecture Notes in Computer Science, vol 2151. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44803-9_4

Download citation

  • DOI: https://doi.org/10.1007/3-540-44803-9_4

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

  • Online ISBN: 978-3-540-44803-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics