arXivDaily arXiv每日学术速递 周一至周五更新
今晚才能更新了~~大家休息下再来吧
arXiv 2507.14101cs.DB
收藏

投影连接分解与聚合分组连接查询的可处理性

Project-connex Decompositions and Tractability of Aggregate Group-by Conjunctive Queries

Diego Figueira, Cibele Freire

AI总结:

本文提出投影连接树宽作为半环聚合分组连接查询可处理性的统一度量,统一解释计数、枚举与聚合求值的可处理性结果,并证明其分解可由经典树分解算法得到。

摘要:

我们引入“投影连接(project-connex)”树宽,作为在半环上带“分组(group-by)”投影的计数与聚合连接查询(也称为“AJAR”或“FAQ”查询)可处理性的度量。这一基本度量能够获得与先前针对半环聚合查询高效求值、连接查询枚举算法以及连接查询答案计数可处理性所定制的结构条件相当的复杂度界。投影连接树分解被定义为已知“自由连接(free-connex)”分解概念的自然扩展。它们为聚合查询求值提供了统一、简单且直观的算法操作方式,并解释了连接查询枚举、连接查询计数求值以及半环聚合查询求值方面已有的一些可处理性结果。利用这一度量,我们还重新得到了将连接查询计数的可处理类与有界自由连接树宽相关联的结果,以及在有界投影连接类上对半环聚合查询进行常数时间延迟枚举的结果。我们进一步证明,投影连接树分解可以通过计算经典树分解的算法获得。

英文摘要:

We introduce 'project-connex' tree-width as a measure of tractability for counting and aggregate conjunctive queries over semirings with 'group-by' projection (also known as 'AJAR' or 'FAQ' queries). This elementary measure allows to obtain comparable complexity bounds to the ones obtained by previous structural conditions tailored for efficient evaluation of semiring aggregate queries, enumeration algorithms of conjunctive queries, and tractability of counting answers to conjunctive queries. Project-connex tree decompositions are defined as the natural extension of the known notion of 'free-connex' decompositions. They allow for a unified, simple and intuitive algorithmic manipulation for evaluation of aggregate queries and explain some existing tractability results on conjunctive query enumeration, counting conjunctive query evaluation, and evaluation of semiring aggregate queries. Using this measure we also recover results relating tractable classes of counting conjunctive queries and bounded free-connex tree-width, or the constant-time delay enumeration of semiring aggregate queries over bounded project-connex classes. We further show that project-connex tree decompositions can be obtained via algorithms for computing classical tree decompositions.

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

↑