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 条
  • [1] New Results for the Complexity of Resilience for Binary Conjunctive Queries with Self-Joins
    Freire, Cibele
    Gatterbauer, Wolfgang
    Immerman, Neil
    Meliou, Alexandra
    PODS'20: PROCEEDINGS OF THE 39TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2020, : 271 - 284
  • [2] Fine-Grained Complexity Analysis of Queries: From Decision to Counting and Enumeration
    Durand, Arnaud
    PODS'20: PROCEEDINGS OF THE 39TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2020, : 331 - 346
  • [3] FINE-GRAINED COMPLEXITY OF REGULAR PATH QUERIES
    Casel, Katrin
    Schmid, Markus l.
    LOGICAL METHODS IN COMPUTER SCIENCE, 2023, 19 (04)
  • [4] On the Enumeration Complexity of Unions of Conjunctive Queries
    Carmeli, Nofar
    Kroell, Markus
    PROCEEDINGS OF THE 38TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '19), 2019, : 134 - 148
  • [5] On the Enumeration Complexity of Unions of Conjunctive Queries
    Carmeli, Nofar
    Kroell, Markus
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2021, 46 (02):
  • [6] Towards a Fine-grained Analysis of Complexity of Programming Tasks
    Duran, Rodrigo
    PROCEEDINGS OF THE 2017 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH (ICER 17), 2017, : 271 - 272
  • [7] Enumeration Complexity of Conjunctive Queries with Functional Dependencies
    Nofar Carmeli
    Markus Kröll
    Theory of Computing Systems, 2020, 64 : 828 - 860
  • [8] Enumeration Complexity of Conjunctive Queries with Functional Dependencies
    Carmeli, Nofar
    Kroell, Markus
    THEORY OF COMPUTING SYSTEMS, 2020, 64 (05) : 828 - 860
  • [9] Fine-Grained Complexity Theory
    Bringmann, Karl
    36TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE (STACS 2019), 2019,
  • [10] Fine-Grained Algorithms and Complexity
    Williams, Virginia Vassilevska
    33RD SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE (STACS 2016), 2016, 47