Skip to main content

Avoiding Unnecessary Ordering Operations in XPath

  • Conference paper
Database Programming Languages (DBPL 2003)

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

Included in the following conference series:

Abstract

We present a sound and complete rule set for determining whether sorting by document order and duplicate removal operations in the query plan of XPath expressions are unnecessary. Additionally we define a deterministic automaton that illustrates how these rules can be translated into an efficient algorithm. This work is an important first step in the understanding and tackling of XPath/XQuery optimization problems that are related to ordering and duplicate removal.

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. Benedikt, M., Fan, W., Kuper, G.: Structural Properties of XPath Fragments. In: Proc. of ICDT 2003 (2003)

    Google Scholar 

  2. Berglund, A., Boag, S., Chamberlin, D., Fernández, M.F., Kay, M., Robie, J., Siméon, J.: XML Path Language (XPath) 2.0, W3C Working Draft (May 02, 2003), http://www.w3.org/TR/xpath20

  3. Boag, S., Chamberlin, D., Fernández, M.F., Florescu, D., Robie, J., Siméon, J.: XQuery 1.0 An XML Query Language, W3C Working Draft (May 02, 2003), http://www.w3.org/TR/xquery

  4. Choi, B., Fernández, M., Siméon, J.: The XQuery Formal Semantics: A Foundation for Implementation and Optimization. Internal Working Document at AT&T and Lucent (2002), http://www.cis.upenn.edu/~kkchoi/galax.pdf

  5. Draper, D., Fankhauser, P., Fernández, M., Malhotra, A., Rose, K., Rys, M., Siméon, J., Wadler, P.: XQuery 1.0 and XPath 2.0 Formal Semantics, W3C Working Draft, May 2, 2003 (2002), http://www.w3.org/TR/query-semantics

  6. Fernández, M., Siméon, J.: Galax, the XQuery implementation for discriminating hackers. AT&T Bell Labs and Lucent Technologies, v0.3 edition (2003), http://www-db-out.bell-labs.com/galax

  7. Fernández, M., Suciu, D.: Optimizing Regular Path Expressions Using Graph Schemas. In: Proceedings of the International Conference on Data Engineering, pp. 14–24 (1998)

    Google Scholar 

  8. Grust, T., van Keulen, M., Teubner, J.: Staircase Join: Teach a Relational DBMS to Watch its (Axis) Steps. In: VLDB 2003 (2003)

    Google Scholar 

  9. Helmer, S., Kanne, C.-C., Moerkotte, G.: Optimized Translation of XPath into Algebraic Expressions Parameterized by Programs Containing Navigational Primitives. In: Proc. of the 3rd International Conference on Web Information Systems Engineering (WISE 2002), Singapore, pp. 215–224 (2002)

    Google Scholar 

  10. Kwong, A., Gertz, M.: Schema-based Optimization of XPath Expressions. Technical report, Univ. of California, dept. of Computer Science (2001)

    Google Scholar 

  11. Olteanu, D., Meuss, H., Furche, T., Bry, F.: XPath: Looking Forward. In: Chaudhri, A.B., Unland, R., Djeraba, C., Lindner, W. (eds.) EDBT 2002. LNCS, vol. 2490, pp. 109–127. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  12. Wadler, P.: Two semantics for XPath (1999), http://www.cs.bell-labs.com/who/wadler/topics/xml.html

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hidders, J., Michiels, P. (2004). Avoiding Unnecessary Ordering Operations in XPath. In: Lausen, G., Suciu, D. (eds) Database Programming Languages. DBPL 2003. Lecture Notes in Computer Science, vol 2921. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24607-7_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24607-7_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20896-9

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics