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

低度数据库上一阶查询的答案枚举

Enumerating Answers to First-Order Queries over Databases of Low Degree

Arnaud Durand, Nicole Schweikardt, Luc Segoufin

AI总结:

本文研究低度数据库上的一阶查询评估,证明计数、成员测试和枚举答案均可实现伪线性时间或常数延迟。

摘要:

一类关系数据库具有低度,如果对于所有$\delta>0$,该类中除有限个数据库外的所有数据库的度至多为$n^\delta$,其中$n$是数据库的大小。典型的例子是度有界或度以$\log n$为界的数据库。已知在具有低度的数据库类上,一阶布尔查询可以在伪线性时间内检查,即对于所有$\epsilon>0$,时间以$n^{1+\epsilon}$为界。我们将此结果推广到查询评估。我们证明,计算查询答案的数量可以在伪线性时间内完成,并且在伪线性时间预处理后,我们可以在常数时间内测试给定元组是否是查询的解,或者以常数延迟枚举查询的答案。

英文摘要:

A class of relational databases has low degree if for all $δ>0$, all but finitely many databases in the class have degree at most $n^δ$, where $n$ is the size of the database. Typical examples are databases of bounded degree or of degree bounded by $\log n$. It is known that over a class of databases having low degree, first-order boolean queries can be checked in pseudo-linear time, i.e.\ for all $ε>0$ in time bounded by $n^{1+ε}$. We generalize this result by considering query evaluation. We show that counting the number of answers to a query can be done in pseudo-linear time and that after a pseudo-linear time preprocessing we can test in constant time whether a given tuple is a solution to a query or enumerate the answers to a query with constant delay.

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

↑