共 50 条
Mixing Bottom-Up and Top-Down XPath Query Evaluation
被引:0
|作者:
Benter, Markus
[1
]
Boettcher, Stefan
[1
]
Hartel, Rita
[1
]
机构:
[1] Univ Paderborn, D-33102 Paderborn, Germany
来源:
关键词:
XML;
top-down XPath evaluation;
bottom-up XPath evaluation;
D O I:
暂无
中图分类号:
TP [自动化技术、计算机技术];
学科分类号:
0812 ;
摘要:
Available XPath evaluators basically follow one of two strategies to evaluate an XPath query on hierarchical XML data: either they evaluate it top-down or they evaluate it bottom-up. In this paper, we present an approach that allows evaluating an XPath query in arbitrary directions, including a mixture of bottom-up and top-down direction. For each location step, it can be decided whether to evaluate it top-down or bottom-up, such that we can start e.g. with a location step of low selectivity and evaluate all child-axis steps top-down at the same time. As our experiments have shown, this approach allows for a very efficient XPath evaluation which is 15 times faster than the JDK1.6 XPath query evaluation (JAXP) and which is several times faster than MonetDB if the file size is <= 30 MB or the query to be evaluated contains at least one location step that has a low selectivity. Furthermore, our approach is applicable to most compressed XML, formats too, which may prevent swapping when a large XML document does not fit into main memory but its compressed representation does.
引用
收藏
页码:27 / 41
页数:15
相关论文