返回
摘要
En 中文
We consider the problem of evaluating an XQuery query Q (involving only child and descendant axes) on an XML document D. D is stored on a disk and is read from there, in document order. Chen et al. [From Tree Patterns to Generalized Tree Patterns: on efficient evaluation of XQuery, Proceedings of International Conference on Very Large Data Bases (VLDB), 2003, pp. 237-248] presented an algorithm to convert Q (frorn a large fragment of XQuery) into a Generalized Tree Pattern GTP(Q), and a set J(Q) of value join conditions on its vertices. Evaluating Q on D reduces to finding the matches for GTP(Q) in D. We present an efficient algorithm for finding these matches. Excluding the computation of the value joins J(Q), our algorithm performs two linear passes over the data, and runs in O(d vertical bar Q vertical bar) memory space, where d denotes the depth of D; runtime and disk I/O are O(vertical bar Q parallel to D vertical bar). If separate input streams of document nodes for the individual vertices in GTP(Q) are available, our runtime and disk I/O are linear in the input size; this runtime and disk I/O are trivially optimal. (c) 2006 Elsevier B.V. All rights reserved.
Keyword:
XML
XPath
XQuery
generalized tree patterns
query evaluation
AI总结
对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。
期刊
IF:
3.9
论文数:
2.9K
被引数:
2.8K
机构
暂无机构信息
引用论文
Outside the envelope: rare events disrupt the relationshipbetween climate factors and species interactions
Ecology
IF0
In Vitro and in Silico Insights on the Biological Activities, Phenolic Compounds Composition of Hypericum perforatum L. Hairy Root Cultures
Phyton
IF0

