Efficient Algorithms for Processing XPath Queries
Georg Gottlob, Christoph E. Koch, Reinhard Pichler · Elsevier eBooks · 2002
Our experimental analysis of several popular XPath processors reveals a striking fact: Query evaluation in each of the systems requires time exponential in the size of queries in the worst case. We show that XPath can be processed much more efficiently, and propose main-memory algorithms for this problem with polynomial-time combined query evaluation complexity. Moreover, we show how the main ideas of our algorithm can be profitably integrated into existing XPath processors. Finally, we present two fragments of XPath for which linear-time query processing algorithms exist and another fragment with linear-space/quadratic-time query processing.
Cited by 468 works. doi:10.1016/b978-155860869-6/50017-2
Authors
References
- Efficient Filtering of XML Documents for Selective Dissemination of Information
- Holistic twig joins
- Data on the web?
- Algorithms for acyclic database schemes
- Algorithmics and applications of tree and graph searching
- Containment and equivalence for an XPath fragment
- Processing XML Streams with Deterministic Automata
- Stream processing of XPath queries with predicates
- Typechecking for XML transformers
- Tree Matching Problems with Applications to Structured Text Databases