Conjunctive Queries With Self-Joins, Towards a Fine-Grained Enumeration Complexity Analysis

被引:4
|
作者
Carmeli, Nofar [1 ]
Segoufin, Luc [2 ]
机构
[1] Univ PSL, DI ENS, ENS, CNRS,Inria, Paris, France
[2] ENS Paris, INRIA, PSL, Paris, France
关键词
conjunctive query; self-joins; enumeration; fine-grained; complexity; constant delay;
D O I
10.1145/3584372.3588667
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Even though query evaluation is a fundamental task in databases, known classifications of conjunctive queries by their fine-grained complexity only apply to queries without self-joins. We study how self-joins affect enumeration complexity, with the aim of building upon the known results to achieve general classifications. We do this by examining the extension of two known dichotomies: one with respect to linear delay, and one with respect to constant delay after linear preprocessing. As this turns out to be an intricate investigation, this paper is structured as an example-driven discussion that initiates this analysis. We show enumeration algorithms that rely on self-joins to efficiently evaluate queries that otherwise (i.e., if the relation names were replaced to eliminate self-joins) cannot be answered with the same guarantees. Due to these additional tractable cases, the hardness proofs are more complex than the self-join-free case. We show how to harness a known tagging technique to prove hardness of queries with self-joins. Our study offers sufficient conditions and necessary conditions for tractability and settles the cases of queries of low arity and queries with cyclic cores. Nevertheless, many cases remain open.
引用
收藏
页码:277 / 289
页数:13
相关论文
共 50 条
  • [41] Fine-grained complexity of rainbow coloring and its variants
    Agrawal, Akanksha
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2022, 124 : 140 - 158
  • [42] Manipulating Districts to Win Elections: Fine-Grained Complexity
    Eiben, Eduard
    Fomin, Fedor, V
    Panolan, Fahad
    Simonov, Kirill
    THIRTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THE THIRTY-SECOND INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE AND THE TENTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2020, 34 : 1902 - 1909
  • [43] Learning the Kalman Filter with Fine-Grained Sample Complexity
    Zhang, Xiangyuan
    Hu, Bin
    Basar, Tamer
    2023 AMERICAN CONTROL CONFERENCE, ACC, 2023, : 4549 - 4554
  • [44] A note on the fine-grained complexity of MIS on regular graphs
    Akhoondian Amiri, Saeed
    Information Processing Letters, 2021, 170
  • [45] Tensor Ranks and the Fine-Grained Complexity of Dynamic Programming
    Alman, Josh
    Turok, Ethan
    Yu, Hantao
    Zhang, Hengzhi
    15TH INNOVATIONS IN THEORETICAL COMPUTER SCIENCE CONFERENCE, ITCS 2024, 2024,
  • [46] Multivariate Fine-Grained Complexity of Longest Common Subsequence
    Bringmann, Karl
    Kuennemann, Marvin
    SODA'18: PROCEEDINGS OF THE TWENTY-NINTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2018, : 1216 - 1235
  • [47] Fine-Grained Time Complexity of Constraint Satisfaction Problems
    Jonsson, Peter
    Lagerkvist, Victor
    Roy, Biman
    ACM TRANSACTIONS ON COMPUTATION THEORY, 2021, 13 (01)
  • [48] On the Fine-Grained Complexity of the Unbounded SubsetSum and the Frobenius Problem
    Klein, Kim-Manuel
    PROCEEDINGS OF THE 2022 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2022, : 3567 - 3582
  • [49] Advice Complexity of Fine-Grained Job Shop Scheduling
    Wehner, David
    ALGORITHMS AND COMPLEXITY (CIAC 2015), 2015, 9079 : 416 - 428
  • [50] FINE-GRAINED COMPLEXITY OF COLORING UNIT DISKS AND BALLS
    Biro, Csaba
    Bonnet, Edouard
    Marx, Daniel
    Miltzow, Tillmann
    Rzazewski, Pawel
    JOURNAL OF COMPUTATIONAL GEOMETRY, 2018, 9 (02) : 47 - 80