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

带投影的合取查询的枚举算法

Enumeration Algorithms for Conjunctive Queries with Projection

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);University of Waterloo(滑铁卢大学)

Shaleen Deep, Xiao Hu, Paraschos Koutris

AI总结:

研究带投影的星型和路径合取查询的高效枚举问题,提出通过交织预计算输出与连接处理来保证延迟的算法,改进了现有结果并应用于布尔矩阵乘法。

摘要:

我们研究了一个重要的带投影的 CQs(合取查询)子集(即星型查询和路径查询)的查询结果枚举问题。该任务旨在设计数据结构和算法,以允许在预处理阶段之后进行具有延迟保证的高效枚举。我们的主要贡献是一系列基于将预计算的输出与进一步的连接(join)处理相交织以维持延迟保证这一思想的研究结果,这可能具有独立的研究价值。具体而言,针对星型查询,我们设计了在线性预处理时间内提供实例特定延迟保证的组合算法。这些算法改进了目前已知的最优结果。此外,我们展示了如何利用快速矩阵乘法来改进现有结果。我们还提出了关于包含投影的路径查询枚举中预处理时间与延迟保证之间权衡的新结果。布尔矩阵乘法是一项重要的查询,它可以表示为一种投影掉连接属性的带投影 CQ。因此,我们的结果也可以被解释为具有延迟保证的稀疏、输出敏感的矩阵乘法。

英文摘要:

We investigate the enumeration of query results for an important subset of CQs with projections, namely star and path queries. The task is to design data structures and algorithms that allow for efficient enumeration with delay guarantees after a preprocessing phase. Our main contribution is a series of results based on the idea of interleaving precomputed output with further join processing to maintain delay guarantees, which maybe of independent interest. In particular, for star queries, we design combinatorial algorithms that provide instance-specific delay guarantees in linear preprocessing time. These algorithms improve upon the currently best known results. Further, we show how existing results can be improved upon by using fast matrix multiplication. We also present new results involving tradeoff between preprocessing time and delay guarantees for enumeration of path queries that contain projections. Boolean matrix multiplication is an important query that can be expressed as a CQ with projection where the join attribute is projected away. Our results can therefore also be interpreted as sparse, output-sensitive matrix multiplication with delay guarantees.

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

↑