A new join-width search shows when simpler query plans stop matching stronger frameworks
The result is not a wall-clock speed contest: it is a reproducible search over asymptotic exponents, with the first separations appearing at six, eight and nine nodes.
A new computer-aided study puts a concrete boundary around a common database-optimization shortcut: for small join patterns, simple degree-based planning often matches more elaborate information-theoretic machinery—but that equivalence eventually breaks. Bringmann and Gorbachev’s paper reports the smallest separating patterns at six, eight and nine nodes, depending on which pair of planning frameworks is compared.
What was measured
This is an asymptotic benchmark, not a wall-clock engine bake-off. The study models full, self-join-free queries whose relations are binary. A query becomes a pattern graph, while the database becomes a host graph; each width measure determines an exponent on the host graph’s edge count. The authors compare submodular width, counting-oriented sharp-submodular width, input-degree-based m-width and a new degree-splitting width for a fixed number of degree classes. Their implementation formulates the width calculations as linear or mixed-integer linear programs.
The sharpest example is the six-node bipartite clique K3,3. The paper proves its m-width is 2, while its degree-splitting width remains strictly greater than 2 for every constant number of degree classes. That means logarithmically many degree classes can attain a quadratic exponent that no fixed number of classes reaches within the same framework. This is an exponent separation; it does not state how large a real database must become before one implementation beats another.
Why the exhaustive-search claim matters
The authors report that submodular width and sharp-submodular width coincide for every pattern with at most seven nodes, while sharp-submodular width and m-width coincide through eight nodes. Their search then finds the first strict separations at eight and nine nodes, respectively. To keep the search tractable, they decompose graphs along clique separators: among 12,346 eight-node graphs, only 2,792 are clique-separator-free and require direct treatment.
The released calculator supports treewidth, clique-embedding power, submodular width, sharp-submodular width and m-width for pattern graphs up to eight nodes and 12 edges. The paper labels results that depend on computation as computer-aided lemmas or theorems and says each includes a reproducing command.
The operational reading
For practitioners, the result argues against turning “degree statistics are enough” into a universal optimizer design rule. On patterns up to seven nodes, the paper’s new degree-only relaxed-encoding algorithm reaches the submodular-width exponent without a logarithmic factor. Beyond that verified regime, stronger planners can have a genuinely better exponent—and counting adds an additional constraint because overlapping encodings cannot simply be deduplicated after the fact.
The next useful benchmark is empirical: run the released calculator and corresponding query plans on generated host graphs to measure where the asymptotic gap becomes visible in memory, planning time and end-to-end execution.
sources
- Separations Between Submodular-Like Graph Widthsarxiv.org
- Width Calculator repositorygithub.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026