Skip to main content

Optimization of Object-Oriented Queries Involving Weakly Dependent Subqueries

  • Conference paper
Object Databases (ICOODB 2009)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 5936))

Included in the following conference series:

Abstract

A new static optimization method in object query languages is presented. We introduce a special kind of subqueries of a query referred to as “weakly dependent subqueries”. A subquery is weakly dependent if it depends from an external query operator only on an expression returning the result of an enumerated type. If a query contains such subqueries then we rewrite it to an equivalent form which guarantees much better performance. Our method is based on the stack-based approach (SBA) and its query language SBQL (Stack-Based Query Language) implemented in the ODRA system. SBA is relevant for a general object model and for its specific variants. Clean formal semantics and abstract implementation of SBQL, integration with the constructs of programming languages and advanced data structures give the possibility to investigate different areas that are related to query optimization techniques. The paper presents examples how the optimization method works. General and detailed features of the implemented algorithm are also presented.

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. Adamus, R., et al.: Stack-Based Architecture and Stack-Based Query Language. In: Proc. 1st ICOODB Conf., pp. 77–95 (2008)

    Google Scholar 

  2. Adamus, R., et al.: Overview of the Project ODRA. In: Proc. 1st ICOODB Conf., pp. 179–197 (2008)

    Google Scholar 

  3. Atkinson, M., Morrison, R.: Orthogonally Persistent Object Systems. The VLDB Journal 4(3), 319–401 (1995)

    Article  Google Scholar 

  4. Bancilhon, F.: Understanding Object-Oriented Database Systems. In: Pirotte, A., Delobel, C., Gottlob, G. (eds.) EDBT 1992. LNCS, vol. 580, pp. 1–9. Springer, Heidelberg (1992)

    Chapter  Google Scholar 

  5. Cattell, R.G.G., Barry, D.K., Berler, M., Eastman, J., Jordan, D., Russell, C., Schadow, O., Stanienda, T., Velez, F.: The Object Data Standard: ODMG 3.0. Morgan Kaufman, San Francisco (2000)

    Google Scholar 

  6. Cluet, S., Delobel, C.: A General Framework for the Optimization of Object-Oriented Queries. In: Proc. SIGMOD Conf., pp. 383–392 (1992)

    Google Scholar 

  7. Hryniów, R., Lentner, M., Stencel, K., Subieta, K.: Types and Type Checking in Stack-Based Query Languages. Institute of Computer Science PAS Report 984, Warszawa (March 2005), http://www.si.pjwstk.edu.pl/publications/en/publications-2005.html

  8. Ioannidis, Y.E.: Query Optimization. Computing Surveys 28(1), 121–123 (1996)

    Article  Google Scholar 

  9. Jarke, M., Koch, J.: Query Optimization in Database Systems. ACM Computing Surveys 16(2), 111–152 (1984)

    Article  MATH  MathSciNet  Google Scholar 

  10. Kowalski, T., et al.: Optimization by Indices in ODRA. In: Proc. 1st ICOODB Conf., pp. 97–117 (2008)

    Google Scholar 

  11. Lentner, M., Subieta, K.: ODRA: A Next Generation Object-Oriented Environment for Rapid Database Application Development. In: Ioannidis, Y., Novikov, B., Rachev, B. (eds.) ADBIS 2007. LNCS, vol. 4690, pp. 130–140. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  12. ODRA (Object Database for Rapid Application Development) Description and Programmer Manual (2008), http://www.sbql.pl/various/ODRA/ODRA_manual.html

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

    Article  MATH  Google Scholar 

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

    Google Scholar 

  15. Płodzień, J., Subieta, K.: Static Analysis of Queries as a Tool for Static Optimization. In: Proc. IDEAS Conf., pp. 117–122 (2001)

    Google Scholar 

  16. Stencel, K.: Semi-strong Type Checking in Database Programming Languages (in Polish). Editors of the Polish-Japanese Institute of Information Technology (2006)

    Google Scholar 

  17. Subieta, K., Beeri, C., Matthes, F., Schmidt, J.W.: A Stack Based Approach to Query Languages. In: Proc. of 2nd Intl. East-West Database Workshop, Klagenfurt, Austria (1995)

    Google Scholar 

  18. Subieta, K.: Theory and Construction of Object Query Languages (in Polish). Editors of the Polish-Japanese Institute of Information Technology (2004)

    Google Scholar 

  19. Subieta, K.: Stack-Based Approach (SBA) and Stack-Based Query Language, SBQL (2008), http://www.sbql.pl

  20. VIDE: Visualise All Model Driven Programming. European Commission 6th Framework Programme, IST 033606 STP (2009), http://www.vide-ist.eu/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bleja, M., Kowalski, T., Adamus, R., Subieta, K. (2010). Optimization of Object-Oriented Queries Involving Weakly Dependent Subqueries. In: Norrie, M.C., Grossniklaus, M. (eds) Object Databases. ICOODB 2009. Lecture Notes in Computer Science, vol 5936. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-14681-7_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-14681-7_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-14680-0

  • Online ISBN: 978-3-642-14681-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics