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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Benedikt, M., Fan, W., Kuper, G.: Structural Properties of XPath Fragments. In: Proc. of ICDT 2003 (2003)
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
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
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
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
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
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)
Grust, T., van Keulen, M., Teubner, J.: Staircase Join: Teach a Relational DBMS to Watch its (Axis) Steps. In: VLDB 2003 (2003)
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)
Kwong, A., Gertz, M.: Schema-based Optimization of XPath Expressions. Technical report, Univ. of California, dept. of Computer Science (2001)
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)
Wadler, P.: Two semantics for XPath (1999), http://www.cs.bell-labs.com/who/wadler/topics/xml.html
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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