arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.04190cs.DB
收藏

合取查询的分区约束:界限与最坏情况最优连接

Partition Constraints for Conjunctive Queries: Bounds and Worst-Case Optimal Joins

Kyle Deeds, Timo Camillo Merkl

AI总结:

本文提出分区约束这一新统计信息,通过将关系划分为具有更紧度约束的子关系来捕捉潜在结构,从而改进合取查询的基数界限和最坏情况最优连接算法。

摘要:

在过去十年中,多项研究利用关系上的统计信息来改进合取查询执行的理论与实践。从利用关系大小的 AGM 界限开始,后来的工作纳入了函数依赖和度约束等统计信息。每一种新的统计信息都推动了两个方向的研究:界定合取查询输出的大小,以及最坏情况最优连接算法。在本工作中,我们延续这一路线,引入一种称为分区约束的新统计信息。该统计信息通过将关系划分为若干子关系来捕捉关系内部的潜在结构,每个子关系都具有紧得多的度约束。我们表明,该方法既可以改进现有的基数界限,又可以改进现有的最坏情况最优连接算法。

英文摘要:

In the last decade, various works have used statistics on relations to improve both the theory and practice of conjunctive query execution. Starting with the AGM bound which took advantage of relation sizes, later works incorporated statistics like functional dependencies and degree constraints. Each new statistic prompted work along two lines; bounding the size of conjunctive query outputs and worst-case optimal join algorithms. In this work, we continue in this vein by introducing a new statistic called a \emph{partition constraint}. This statistic captures latent structure within relations by partitioning them into sub-relations which each have much tighter degree constraints. We show that this approach can both refine existing cardinality bounds and improve existing worst-case optimal join algorithms.

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

↑