Navigation- vs. index-based XML multi-query processing
Authors:
- N. KoudasNKN. Koudas
- Divesh SrivastavaDSDivesh Srivastava
- 13 May 2004
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 139-150
Abstract
XML path queries form the basis of complex filtering of XML data. Most current XML path query processing techniques can be divided in two groups. Navigation-based algorithms compute results by analyzing an input document one tag at a time. In contrast, index-based algorithms take advantage of precomputed numbering schemes over the input XML document. We introduce a new index-based technique, index-filter, to answer multiple XML path queries. Index-filter uses indexes built over the document tags to avoid processing large portions of the input document that are guaranteed not to be part of any match. We analyze index-filter and compare it against Y-filter, a state-of-the-art navigation-based technique. We show that both techniques have their advantages, and we discuss the scenarios under which each technique is superior to the other one. In particular, we show that while most XML path query processing techniques work off SAX events, in some cases it pays off to preprocess the input document, augmenting it with auxiliary information that can be used to evaluate the queries faster. We present experimental results over real and synthetic XML documents that validate our claims.Keywords
This publication has 9 references indexed in Scilit:
- Efficient filtering of XML documents with XPath expressions2003
- Structural joins: a primitive for efficient XML query pattern matching2003
- Holistic twig joins2002
- Evaluating Queries on Structure with eXtended Access Support RelationsLecture Notes in Computer Science, 2001
- On supporting containment queries in relational database management systems2001
- SilkRoute: trading between relations and XMLComputer Networks, 2000
- LoreACM SIGMOD Record, 1997
- Index structures for selective dissemination of information under the Boolean modelACM Transactions on Database Systems, 1994
- Optimizing queries on files1994