Enumeration Complexity of Conjunctive Queries with Functional Dependencies

被引:12
|
作者
Carmeli, Nofar [1 ]
Kroell, Markus [2 ]
机构
[1] Technion, Haifa, Israel
[2] TU Wien, Vienna, Austria
基金
奥地利科学基金会;
关键词
Enumeration; Complexity; Conjunctive queries; Functional dependencies;
D O I
10.1007/s00224-019-09937-9
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study the complexity of enumerating the answers of Conjunctive Queries (CQs) in the presence of Functional Dependencies (FDs). Our focus is on the ability to list output tuples with a constant delay in between, following a linear-time preprocessing. A known dichotomy classifies the acyclic self-join-free CQs into those that admit such enumeration, and those that do not. However, this classification no longer holds in the common case where the database exhibits dependencies among attributes. That is, some queries that are classified as hard are in fact tractable if dependencies are accounted for. We establish a generalization of the dichotomy to accommodate FDs; hence, our classification determines which combination of a CQ and a set of FDs admits constant-delay enumeration with a linear-time preprocessing. In addition, we generalize a hardness result for cyclic CQs to accommodate unary FDs, and further conclusions of our development include a dichotomy for enumeration with linear delay. Finally, we show that all our results apply also for CQs with disequalities and in the presence of cardinality dependencies that generalize FDs.
引用
收藏
页码:828 / 860
页数:33
相关论文
共 50 条
  • [1] Enumeration Complexity of Conjunctive Queries with Functional Dependencies
    Nofar Carmeli
    Markus Kröll
    [J]. Theory of Computing Systems, 2020, 64 : 828 - 860
  • [2] On the Enumeration Complexity of Unions of Conjunctive Queries
    Carmeli, Nofar
    Kroell, Markus
    [J]. PROCEEDINGS OF THE 38TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '19), 2019, : 134 - 148
  • [3] On the Enumeration Complexity of Unions of Conjunctive Queries
    Carmeli, Nofar
    Kroell, Markus
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2021, 46 (02):
  • [4] Semantically Acyclic Conjunctive Queries under Functional Dependencies
    Figueira, Diego
    [J]. PROCEEDINGS OF THE 31ST ANNUAL ACM-IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2016), 2016, : 847 - 856
  • [5] TESTING CONTAINMENT OF CONJUNCTIVE QUERIES UNDER FUNCTIONAL AND INCLUSION DEPENDENCIES
    JOHNSON, DS
    KLUG, A
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1984, 28 (01) : 167 - 189
  • [6] Mining frequent conjunctive queries using functional and inclusion dependencies
    Cheikh Tidiane Dieng
    Tao-Yuan Jen
    Dominique Laurent
    Nicolas Spyratos
    [J]. The VLDB Journal, 2013, 22 : 125 - 150
  • [7] Mining frequent conjunctive queries using functional and inclusion dependencies
    Dieng, Cheikh Tidiane
    Jen, Tao-Yuan
    Laurent, Dominique
    Spyratos, Nicolas
    [J]. VLDB JOURNAL, 2013, 22 (02): : 125 - 150
  • [8] Computing Supports of Conjunctive Queries on Relational Tables with Functional Dependencies
    Jen, Tao-Yuan
    Laurent, Dominique
    Spyratos, Nicolas
    [J]. FUNDAMENTA INFORMATICAE, 2010, 99 (03) : 263 - 292
  • [9] Constant delay enumeration for conjunctive queries
    Segoufin, Luc
    [J]. SIGMOD RECORD, 2015, 44 (01) : 10 - 17
  • [10] The complexity of acyclic conjunctive queries
    Gottlob, G
    Leone, N
    Scarcello, F
    [J]. 39TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 1998, : 706 - 715