arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1702.08764cs.DBcs.LO
收藏

有界度数据库上FO + MOD查询在更新下的排序

Answering FO+MOD queries under updates on bounded degree databases

Christoph Berkholz, Jens Keppeler, Nicole Schweikardt

摘要:

我们调查的查询评估问题,固定查询完全动态的数据库,元组可以插入或删除。任务是设计一个动态算法,在每次数据库更新后立即报告固定查询的新结果。我们考虑查询一阶逻辑(FO)及其扩展与模计数量词(FO+MOD),并表明,他们可以有效地评估更新下,提供的动态数据库不超过一定程度的界限。特别是,我们构建了一个数据结构,允许回答一个布尔FO+MOD查询,并计算一个非布尔查询的结果在恒定的时间内每次数据库更新后的大小。此外,在每次更新之后,我们能够立即枚举新的查询结果,并且在输出元组之间具有恒定的延迟。构建数据结构所需的时间与数据库的大小成线性关系。我们的结果扩展了早期在有界度静态数据库上评估一阶查询的工作,并依赖于最近由Heimberg,Kuske和Schweikardt(LICS 2016)获得的FO+MOD的有效Hanf范式。

英文摘要:

We investigate the query evaluation problem for fixed queries over fully dynamic databases, where tuples can be inserted or deleted. The task is to design a dynamic algorithm that immediately reports the new result of a fixed query after every database update. We consider queries in first-order logic (FO) and its extension with modulo-counting quantifiers (FO+MOD), and show that they can be efficiently evaluated under updates, provided that the dynamic database does not exceed a certain degree bound. In particular, we construct a data structure that allows to answer a Boolean FO+MOD query and to compute the size of the result of a non-Boolean query within constant time after every database update. Furthermore, after every update we are able to immediately enumerate the new query result with constant delay between the output tuples. The time needed to build the data structure is linear in the size of the database. Our results extend earlier work on the evaluation of first-order queries on static databases of bounded degree and rely on an effective Hanf normal form for FO+MOD recently obtained by Heimberg, Kuske, and Schweikardt (LICS 2016).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑