Skip to main navigation Skip to search Skip to main content

Joins via geometric resolutions: Worst case and beyond

  • Mahmoud Abo Khamis
  • , Hung Q. Ngo
  • , Christopher Ré
  • , Atri Rudra
  • LogicBlox Inc
  • SUNY Buffalo
  • Stanford University

Research output: Contribution to journal › Article › peer-review

44 Scopus citations

Abstract

We present a simple geometric framework for the relational join. Using this framework, we design an algorithm that achieves the fractional hypertree-width bound, which generalizes classical and recent worstcase algorithmic results on computing joins. In addition, we use our framework and the same algorithm to show a series of what are colloquially known as beyond worst-case results. The framework allows us to prove results for data stored in BTrees, multidimensional data structures, and even multiple indices per table. A key idea in our framework is formalizing the inference one does with an index as a type of geometric resolution, transforming the algorithmic problem of computing joins to a geometric problem. Our notion of geometric resolution can be viewed as a geometric analog of logical resolution. In addition to the geometry and logic connections, our algorithm can also be thought of as backtracking search with memoization.

Original languageEnglish
Article number22
JournalACM Transactions on Database Systems
Volume41
Issue number4
DOIs
StatePublished - Nov 2016

Keywords

  • Beyond worst-case analysis
  • Bounded-width join queries
  • Indices
  • Relational join
  • Resolution

Fingerprint

Dive into the research topics of 'Joins via geometric resolutions: Worst case and beyond'. Together they form a unique fingerprint.

Cite this