Eager Evaluation of Partial Tree-Pattern Queries on XML Streams
被引:0
作者:
Theodoratos, Dimitri
论文数: 0引用数: 0
h-index: 0
机构:
New Jersey Inst Technol, Dept Comp Sci, Newark, NJ 07102 USANew Jersey Inst Technol, Dept Comp Sci, Newark, NJ 07102 USA
Theodoratos, Dimitri
[1
]
Wu, Xiaoying
论文数: 0引用数: 0
h-index: 0
机构:
New Jersey Inst Technol, Dept Comp Sci, Newark, NJ 07102 USANew Jersey Inst Technol, Dept Comp Sci, Newark, NJ 07102 USA
Wu, Xiaoying
[1
]
机构:
[1] New Jersey Inst Technol, Dept Comp Sci, Newark, NJ 07102 USA
来源:
DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, PROCEEDINGS
|
2009年
/
5463卷
关键词:
D O I:
暂无
中图分类号:
TP [自动化技术、计算机技术];
学科分类号:
0812 ;
摘要:
Current streaming applications have stringent requirements on query response time and memory consumption because of the large (possibly unbounded) size of data they handle. Further, known query evaluation algorithms on streaming XML documents focus almost exclusively on tree-pattern queries (TPQs). However recently, requirements for flexible querying of XML data have motivated the introduction of query languages that are more general and flexible than TPQs. These languages are not supported by known algorithms. In this paper, we consider a language which generalizes and strictly contains TPQs. Queries in this language can be represented as dags enhanced with constraints. We explore this representation to design an original polynomial time streaming algorithm for these queries. Our algorithm avoids storing and processing matches of the query dag that do not contribute to new solutions (redundant matches). Its key feature is that it applies an eager evaluation strategy to quickly determine when node matches should be returned as solutions to the user and also to proactively detect redundant matches. We experimentally test its time and space performance. The results show the superiority of the eager algorithm compared to the only known algorithm for this class of queries which is a lazy algorithm.