Abstract
We describe the design and preliminary analysis of an optimization technique for XPath called warp-edge optimization. The XPath data model is a tree-like data model that has an edge from an element to each component in the content of that element. The edges are traversed in the evaluation of an XPath expression. A warp edge is an edge that is something other than a parent to child edge, i.e., an edge from an element to a sibling or to a grandchild. Warp edges can be dynamically generated and stored during query evaluation to improve the efficiency of future queries. We describe the implementation of warp- edge optimization as a layer on top of Xalan, the XPath evaluation engine from Apache. Experiments demonstrate that in the evaluation of some XPath expressions, the use of warp edges results in substantial savings of time.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
World Wide Web Consortium. Extensible Markup Language (XML). http://www.w3c.org/XML. Current as of October 2000.
World Wide Web Consortium. XML in 10 points. http://www.w3c.org/XML/1999/XML-in-10-points. Current as of November 2001.
J. McHugh, S. Abiteboul, R. Goldman, D. Quass, and J. Widom. Lore: A Data-base Management System for Semistructured Data. SIGMOD Record, 26(3):54–66, September 1997.
World Wide Web Consortium. XQuery 1.0: An XML Query Language. http://www.w3c.org/TR/xquery/. Current as of April 2002.
A. Deutsch, M. Fernandez, D. Florescu, A. Levy, and D. Suciu. XML-QL: A query language for XML. WWW10, Toronto, CA.
World Wide Web Consortium. XSL Transformations (XSLT) Version 1.0. http://www.w3c.org/TR/1999/REC-xslt-19991116. Current as of November 1999.
World Wide Web Consortium. XML Path Language (XPath) Version 1.0. http://www.w3c.org/TR/xpath. Current as of April 2002.
J. McHugh and J. Widom. Query Optimization for XML. In Proceedings of VLDB, Edinburgh, Scotland, September 1999.
J. McHugh, J. Widom, S. Abiteboul, Q. Luo, and A. Rajaraman. Indexing Semistructured Data. Technical Report, Stanford University, Database Group, January 1998.
T. Milo and D. Suciu. Index structures for path expressions. In ICDT’99, Jerusalem, Israel, January 10–12, 1999, pages 277-295, 1999.
B. Cooper, N. Sample, M. Franklin, G. Hjaltason, and M. Shadmon. A Fast Index for Semistructured Data. In Proceedings of VLDB, September 2001, pp. 341–350.
R. Goldman and J. Widom. DataGuides: Enabling query formulation and optimization in semistructured databases. In Proceedings of VLDB, August 1997, pp.436–445.
G. Gardarin, J. Gruser, and Z. Tang. Cost-based Selection of Path Expression Processing Algorithms in Object-oriented Databases. In Proceedings of VLDB, Bombay, India, pp. 390–401.
J. McHugh and J. Widom. Compile-Time Path Expansion in Lore. In Proceedings of the Workshop on Query Processing for Semistructured Data and Non-Standard Data Formats, Jerusalem, Israel, January 1999.
J. McHugh and J. Widom. Optimizing Branching Path Expressions. Technical report, Stanford University, Database Group, June 1999.
M. Fernandez, D. Florescu, J. Kang, A. Levy, and D. Suciu. Catching the Boat with Strudel: Experiences with a Web-site Management System. In Proceedings of SIGMOD, Seattle, Washington, June 1998, pp. 414–425.
Michael Kay. SAXON The XSLT Processor. http://saxon.sourceforge.net. Current as of February 2002.
Ginger Alliance. Sablotron XSLT, DOM and XPath processor. http://www.gingerall.com/charlie/ga/xml/p_sab.xml. Current as of March 2002.
James Clark. XT. http://www.jclark.com/xml/xt.html. Current as of November 1999.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
He, H., Dyreson, C. (2002). Warp-Edge Optimization in XPath. In: Bruel, JM., Bellahsene, Z. (eds) Advances in Object-Oriented Information Systems. OOIS 2002. Lecture Notes in Computer Science, vol 2426. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46105-1_22
Download citation
DOI: https://doi.org/10.1007/3-540-46105-1_22
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44088-8
Online ISBN: 978-3-540-46105-0
eBook Packages: Springer Book Archive