English

DPconv: Super-Polynomially Faster Join Ordering

Databases 2024-09-13 v1

Abstract

We revisit the join ordering problem in query optimization. The standard exact algorithm, DPccp, has a worst-case running time of O(3n)O(3^n). This is prohibitively expensive for large queries, which are not that uncommon anymore. We develop a new algorithmic framework based on subset convolution. DPconv achieves a super-polynomial speedup over DPccp, breaking the O(3n)O(3^n) time-barrier for the first time. We show that the instantiation of our framework for the C_\max cost function is up to 30x faster than DPccp for large clique queries.

Keywords

Cite

@article{arxiv.2409.08013,
  title  = {DPconv: Super-Polynomially Faster Join Ordering},
  author = {Mihail Stoian and Andreas Kipf},
  journal= {arXiv preprint arXiv:2409.08013},
  year   = {2024}
}

Comments

To appear at SIGMOD 2025

R2 v1 2026-06-28T18:42:27.533Z