Affiliation:
1. Umeå University, Sweden
2. Hasselt University and Transnational University of Limburg, Belgium
3. Technical University of Dortmund, Germany
Abstract
Incremental view maintenance for XPath queries asks to maintain a materialized XPath view over an XML database. It assumes an underlying XML database
D
and a query
Q
. One is given a sequence of updates
U
to
D
, and the problem is to compute the result of
Q
(
U
(
D
)): the result of evaluating query
Q
on database
D
after having applied updates
U
. This article initiates a systematic study of the Boolean version of this problem. In the Boolean version, one only wants to know whether
Q
(
U
(
D
)) is empty or not.
In order to quickly answer this question, we are allowed to maintain an auxiliary data structure. The complexity of the maintenance algorithms is measured in, (1) the size of the auxiliary data structure, (2) the worst-case time per update needed to compute
Q
(
U
(
D
)), and (3) the worst-case time per update needed to bring the auxiliary data structure up to date. We allow three kinds of updates: node insertion, node deletion, and node relabeling. Our main results are that downward XPath queries can be incrementally maintained in time O(depth(
D
)·poly(|
Q
|)) per update and conjunctive forward XPath queries in time O(depth(
D
) · log(width(
D
))·poly(|
Q
|)) per update, where |
Q
| is the size of the query, and depth(
D
) and width(
D
) are the nesting depth and maximum number of siblings in database
D
, respectively. The auxiliary data structures for maintenance are linear in |
D
| and polynomial in |
Q
| in all these cases.
Publisher
Association for Computing Machinery (ACM)
Reference45 articles.
1. Abiteboul S. Bourhis P. and Marinoiu B. 2007. Incremental view maintenance for active documents. In Journées Bases de Données Avancées (BDA). Abiteboul S. Bourhis P. and Marinoiu B. 2007. Incremental view maintenance for active documents. In Journées Bases de Données Avancées (BDA).
2. Efficient maintenance techniques for views over active documents
3. Incremental validation of XML documents
4. On the memory requirements of XPath evaluation over XML streams
Cited by
9 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Database Principles and Challenges in Text Analysis;ACM SIGMOD Record;2021-08-24
2. MSO Queries on Trees;Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science;2018-07-09
3. Certain Query Answering on Compressed String Patterns: From Streams to Hyperstreams;Lecture Notes in Computer Science;2018
4. Answering Conjunctive Queries under Updates;Proceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems;2017-05-09
5. Efficient Incremental Evaluation of Succinct Regular Expressions;Proceedings of the 24th ACM International on Conference on Information and Knowledge Management;2015-10-17