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

面向维护连接查询的参数化难度

Towards Parameterized Hardness on Maintaining Conjunctive Queries

Nanyang Technological University(南洋理工大学)

Qichen Wang

AI总结:

本文研究了在单元更新下维护固定无自连接连接查询的细粒度复杂性,引入高度和维度参数,提出新的下界并设计高效算法,实现实例特定的性能。

摘要:

我们研究了在单元更新下维护固定无自连接连接查询的结果的细粒度复杂性。先前工作表明,无自连接查询的维护时间可以达到O(|D|δ),其中δ∈[0.5,1],|D|是当前数据库的大小。然而,最佳上界O(|D|)与任何ε≥0的下界Ω(|D|^{0.5-ε})之间仍存在差距。我们通过引入两个结构参数来量化连接查询的动态复杂性:高度k和维度d。我们建立了新的细粒度下界,表明任何维护具有这些参数的查询的算法必须花费Ω(|D|^{1-1/max(k,d)-ε})的时间,除非广泛相信的猜想失败。这些结果为维护无自连接查询提供了首个超√|D|的下界,并表明在考虑任意大的k和d时当前算法的紧致性。补充我们的下界,我们识别了一个数据依赖的参数,即广义H指数h(D),其上界为|D|^{1/d},并设计了维护星形查询的高效算法,这是一种常见的高度为2的无自连接查询。该算法实现了实例特定的更新时间O(h(D)^{d-1}),空间为O(|D|)。这与我们的参数化下界相匹配,并在有利情况下提供实例特定的性能。

英文摘要:

We investigate the fine-grained complexity of dynamically maintaining the result of fixed self-join free conjunctive queries under single-tuple updates. Prior work shows that free-connex queries can be maintained in update time $O(|D|^δ)$ for some $δ\in [0.5, 1]$, where $|D|$ is the size of the current database. However, a gap remains between the best known upper bound of $O(|D|)$ and lower bounds of $Ω(|D|^{0.5-ε})$ for any $ε\ge 0$. We narrow this gap by introducing two structural parameters to quantify the dynamic complexity of a conjunctive query: the height $k$ and the dimension $d$. We establish new fine-grained lower bounds showing that any algorithm maintaining a query with these parameters must incur update time $Ω(|D|^{1-1/\max(k,d)-ε})$, unless widely believed conjectures fail. These yield the first super-$\sqrt{|D|}$ lower bounds for maintaining free-connex queries, and suggest the tightness of current algorithms when considering arbitrarily large $k$ and~$d$. Complementing our lower bounds, we identify a data-dependent parameter, the generalized $H$-index $h(D)$, which is upper bounded by $|D|^{1/d}$, and design an efficient algorithm for maintaining star queries, a common class of height 2 free-connex queries. The algorithm achieves an instance-specific update time $O(h(D)^{d-1})$ with linear space $O(|D|)$. This matches our parameterized lower bound and provides instance-specific performance in favorable cases.

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

↑