Title :
Efficient XPath Evaluation Using a Structural Summary Index
Author :
Yuan, Xiaojie ; Wang, Xin ; Wang, Chenying
Author_Institution :
Dept. of Comput. Sci. & Technol., Nankai Univ., Tianjin
Abstract :
XPath has been widely used as a query language for selecting nodes from XML documents. Efficient XPath evaluation is thus a core building block in XML query processors. In the paper, we first introduce a compact structural summary index for XML data and then propose an efficient XPath evaluation algorithm based on this index. Our algorithm takes full advantage of the structural summary to prune a large unnecessary search space. By combining consecutive parent-child steps into a single path fragment, we show how the number of required index lookups and join operations can be significantly reduced. More importantly, our algorithm can process a large class of twig patterns consisting of both parent-child and ancestor-descendant relationships. Finally, we report experimental results on a range of data and queries.
Keywords :
XML; database indexing; query languages; query processing; search problems; XML documents; XML query processors; XPath evaluation; core building block; index lookups; query language; search space; single path fragment; structural summary index; Algorithm design and analysis; Computer science; Costs; Data models; Data structures; Database languages; Pattern matching; Pressing; Software engineering; XML; XML; XPath evaluation; path expression; query; structural summary index;
Conference_Titel :
Computer Science and Software Engineering, 2008 International Conference on
Conference_Location :
Wuhan, Hubei
Print_ISBN :
978-0-7695-3336-0
DOI :
10.1109/CSSE.2008.1058