English

Towards Parameterized Hardness on Maintaining Conjunctive Queries

Databases 2026-03-17 v1 Computational Complexity

Abstract

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δ)O(|D|^{\delta}) for some δ[0.5,1]\delta \in [0.5, 1], where D|D| is the size of the current database. However, a gap remains between the best known upper bound of O(D)O(|D|) and lower bounds of Ω(D0.5ϵ)\Omega(|D|^{0.5-\epsilon}) for any ϵ0\epsilon \ge 0. We narrow this gap by introducing two structural parameters to quantify the dynamic complexity of a conjunctive query: the height kk and the dimension dd. We establish new fine-grained lower bounds showing that any algorithm maintaining a query with these parameters must incur update time Ω(D11/max(k,d)ϵ)\Omega(|D|^{1-1/\max(k,d)-\epsilon}), unless widely believed conjectures fail. These yield the first super-D\sqrt{|D|} lower bounds for maintaining free-connex queries, and suggest the tightness of current algorithms when considering arbitrarily large kk and~dd. Complementing our lower bounds, we identify a data-dependent parameter, the generalized HH-index h(D)h(D), which is upper bounded by D1/d|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)d1)O(h(D)^{d-1}) with linear space O(D)O(|D|). This matches our parameterized lower bound and provides instance-specific performance in favorable cases.

Keywords

Cite

@article{arxiv.2603.14754,
  title  = {Towards Parameterized Hardness on Maintaining Conjunctive Queries},
  author = {Qichen Wang},
  journal= {arXiv preprint arXiv:2603.14754},
  year   = {2026}
}

Comments

Accepted in PODS 2026

R2 v1 2026-07-01T11:21:19.804Z