We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DB

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Databases

Title: Enumeration Complexity of Conjunctive Queries with Functional Dependencies

Abstract: 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 a common type of FDs. Further conclusions of our development include a dichotomy for enumeration with linear delay, and a dichotomy for CQs with disequalities. Finally, we show that all our results apply to the known class of "cardinality dependencies" that generalize FDs (e.g., by stating an upper bound on the number of genres per movies, or friends per person).
Comments: Published in ICDT 2018 and TOCS 2019
Subjects: Databases (cs.DB); Computational Complexity (cs.CC)
ACM classes: H.2.3
Cite as: arXiv:1712.07880 [cs.DB]
  (or arXiv:1712.07880v2 [cs.DB] for this version)

Submission history

From: Nofar Carmeli [view email]
[v1] Thu, 21 Dec 2017 11:15:55 GMT (95kb,D)
[v2] Sun, 26 Sep 2021 12:24:03 GMT (54kb)

Link back to: arXiv, form interface, contact.