arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2201.02401cs.DBcs.CC
收藏

连接查询直接访问的紧细粒度边界

Tight Fine-Grained Bounds for Direct Access on Join Queries

Karl Bringmann, Nofar Carmeli, Stefan Mengel

AI总结:

该研究针对连接查询字典序直接访问任务,提出基于分解的通用算法,结合Zero-Clique猜想证明预处理时间下界,证实算法边界的紧性,还拓展了相关枚举难度的证据。

摘要:

我们研究对查询结果进行字典序直接访问的任务,即模拟一个存储了连接查询结果的数组,这些结果按用户选择的字典序排序。近期的一项二分法研究指出了哪些查询和排序可以在拟线性预处理后实现多对数级访问时间,但该二分法并未说明被归类为困难的情况需要多少时间。我们确定了所有连接查询和所有字典序下,实现多对数级访问时间所需的预处理时间。为此,我们提出了一种基于分解的通用连接查询直接访问算法。随后我们通过基于某类在线集合不相交问题难度证明预处理时间下界,来探究该算法的最优性,结果表明我们的算法边界对连接查询的所有字典序都是紧的。接着,我们基于细粒度复杂度理论中已确立的Zero-Clique猜想(零团猜想),证明了集合不相交问题的难度。有趣的是,在证明下界的过程中,我们发现自连接不会影响直接访问的复杂度(至多相差对数因子)。我们的算法还可用于求解带投影和宽松排序要求的查询,不过在这些情况下,其运行时间未必是最优的。我们还表明,下界证明中使用的类似技术可用于证明:对于枚举Loomis-Whitney连接的结果,无法显著优于预处理阶段直接计算所有结果的朴素方法。这反过来又基于Zero-Clique猜想,为线性预处理和常数延迟下无自连接循环连接的枚举难度提供了进一步证据。

英文摘要:

We consider the task of lexicographic direct access to query answers. That is, we want to simulate an array containing the answers of a join query sorted in a lexicographic order chosen by the user. A recent dichotomy showed for which queries and orders this task can be done in polylogarithmic access time after quasilinear preprocessing, but this dichotomy does not tell us how much time is required in the cases classified as hard. We determine the preprocessing time needed to achieve polylogarithmic access time for all join queries and all lexicographical orders. To this end, we propose a decomposition-based general algorithm for direct access on join queries. We then explore its optimality by proving lower bounds for the preprocessing time based on the hardness of a certain online Set-Disjointness problem, which shows that our algorithm's bounds are tight for all lexicographic orders on join queries. Then, we prove the hardness of Set-Disjointness based on the Zero-Clique Conjecture which is an established conjecture from fine-grained complexity theory. Interestingly, while proving our lower bound, we show that self-joins do not affect the complexity of direct access (up to logarithmic factors). Our algorithm can also be used to solve queries with projections and relaxed order requirements, though in these cases, its running time not necessarily optimal. We also show that similar techniques to those used in our lower bounds can be used to prove that, for enumerating answers to Loomis-Whitney joins, it is not possible to significantly improve upon trivially computing all answers at preprocessing. This, in turn, gives further evidence (based on the Zero-Clique Conjecture) to the enumeration hardness of self-join free cyclic joins with respect to linear preprocessing and constant delay.

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

↑