Computing Join Queries with Functional Dependencies
Mahmoud Abo Khamis, Hung Q. Ngo, Dan Suciu

TL;DR
This paper introduces an algorithm for computing join queries with functional dependencies that is nearly optimal according to the GLVV bound, extending previous bounds and solving related problems with degree bounds.
Contribution
It extends the GLVV framework by using the lattice of closed sets, providing new insights and algorithms that are nearly worst-case optimal for queries with FDs.
Findings
Algorithm runs within GLVV bound up to a poly-log factor.
Algorithm is worst-case optimal for queries where the GLVV bound is tight.
Shows tightness of the GLVV bound on distributive lattices.
Abstract
Recently, Gottlob, Lee, Valiant, and Valiant (GLVV) presented an output size bound for join queries with functional dependencies (FD), based on a linear program on polymatroids. GLVV bound strictly generalizes the bound of Atserias, Grohe and Marx (AGM) for queries with no FD, in which case there are known algorithms running within AGM bound and thus are worst-case optimal. A main result of this paper is an algorithm for computing join queries with FDs, running within GLVV bound up to a poly-log factor. In particular, our algorithm is worst-case optimal for any query where the GLVV bound is tight. As an unexpected by-product, our algorithm manages to solve a harder problem, where (some) input relations may have prescribed maximum degree bounds, of which both functional dependencies and cardinality bounds are special cases. We extend Gottlob et al. framework by replacing all variable…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research · Data Management and Algorithms · Complexity and Algorithms in Graphs
