Incremental XPath evaluation

Author:

Björklund Henrik1,Gelade Wouter2,Martens Wim3

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)

Subject

Information Systems

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3