Dynamic Complexity under Definable Changes

Author:

Schwentick Thomas1,Vortmeier Nils1,Zeume Thomas1

Affiliation:

1. TU Dortmund University, Germany

Abstract

In the setting of dynamic complexity, the goal of a dynamic program is to maintain the result of a fixed query for an input database that is subject to changes, possibly using additional auxiliary relations. In other words, a dynamic program updates a materialized view whenever a base relation is changed. The update of query result and auxiliary relations is specified using first-order logic or, equivalently, relational algebra. The original framework by Patnaik and Immerman only considers changes to the database that insert or delete single tuples. This article extends the setting to definable changes , also specified by first-order queries on the database, and generalizes previous maintenance results to these more expressive change operations. More specifically, it is shown that the undirected reachability query is first-order maintainable under single-tuple changes and first-order defined insertions, likewise the directed reachability query for directed acyclic graphs is first-order maintainable under insertions defined by quantifier-free first-order queries. These results rely on bounded bridge properties , which basically say that, after an insertion of a defined set of edges, for each connected pair of nodes there is some path with a bounded number of new edges. While this bound can be huge, in general, it is shown to be small for insertion queries defined by unions of conjunctive queries. To illustrate that the results for this restricted setting could be practically relevant, they are complemented by an experimental study that compares the performance of dynamic programs with complex changes, dynamic programs with single changes, and with recomputation from scratch. The positive results are complemented by several inexpressibility results. For example, it is shown that—unlike for single-tuple insertions—dynamic programs that maintain the reachability query under definable, quantifier-free changes strictly need update formulas with quantifiers. Finally, further positive results unrelated to reachability are presented: it is shown that for changes definable by parameter-free first-order formulas, all LOGSPACE-definable (and even AC 1 -definable) queries can be maintained by first-order dynamic programs.

Funder

European Research Council

DFG

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems

Reference47 articles.

1. Serge Abiteboul Richard Hull and Victor Vianu. 1995. Foundations of Databases. Addison-Wesley Boston MA. Retrieved from http://webdam.inria.fr/Alice/. Serge Abiteboul Richard Hull and Victor Vianu. 1995. Foundations of Databases. Addison-Wesley Boston MA. Retrieved from http://webdam.inria.fr/Alice/.

2. On the expressive power of update primitives

3. gMark: Schema-Driven Generation of Graphs and Queries

4. Reachability is in DynFO

5. Samir Datta Raghav Kulkarni Anish Mukherjee Thomas Schwentick and Thomas Zeume. 2015. Reachability is in DynFO. CoRR abs/1502.07467 (2015). arxiv:arXiv:abs/1502.07467. Retrieved from http://arxiv.org/abs/1502.07467. Samir Datta Raghav Kulkarni Anish Mukherjee Thomas Schwentick and Thomas Zeume. 2015. Reachability is in DynFO. CoRR abs/1502.07467 (2015). arxiv:arXiv:abs/1502.07467. Retrieved from http://arxiv.org/abs/1502.07467.

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Dynamic Complexity of Parity Exists Queries;Logical Methods in Computer Science;2021-11-16

2. Dynamic Complexity of Expansion;Computer Science – Theory and Applications;2021

3. Sketches of Dynamic Complexity;ACM SIGMOD Record;2020-12-09

4. A STRATEGY FOR DYNAMIC PROGRAMS: START OVER AND MUDDLE THROUGH;LOG METH COMPUT SCI;2019

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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