Beyond Worst-Case Analysis for Joins with Minesweeper
Hung Q. Ngo, Dung T. Nguyen, Christopher R\'e, Atri Rudra

TL;DR
This paper introduces Minesweeper, a new join algorithm with stronger runtime guarantees based on certificate complexity, outperforming traditional worst-case bounds for certain classes of database queries.
Contribution
Develops a framework for measuring stronger runtime guarantees called certificate complexity and establishes a dichotomy theorem for its application to join query evaluation.
Findings
Minesweeper evaluates β-acyclic queries in time linear in certificate plus output size.
For β-cyclic queries, some instances require superlinear time in the certificate.
Extends analysis to queries with bounded treewidth and the triangle query.
Abstract
We describe a new algorithm, Minesweeper, that is able to satisfy stronger runtime guarantees than previous join algorithms (colloquially, `beyond worst-case guarantees') for data in indexed search trees. Our first contribution is developing a framework to measure this stronger notion of complexity, which we call {\it certificate complexity}, that extends notions of Barbay et al. and Demaine et al.; a certificate is a set of propositional formulae that certifies that the output is correct. This notion captures a natural class of join algorithms. In addition, the certificate allows us to define a strictly stronger notion of runtime complexity than traditional worst-case guarantees. Our second contribution is to develop a dichotomy theorem for the certificate-based notion of complexity. Roughly, we show that Minesweeper evaluates -acyclic queries in time linear in the certificate…
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 Database Systems and Queries · Data Management and Algorithms · Algorithms and Data Compression
