Succinct Structure Representations for Efficient Query Optimization
Zhekai Jiang, Qichen Wang, Christoph Koch

TL;DR
This paper introduces meta-decompositions for acyclic queries, enabling efficient, cost-based query optimization that is faster and often better than existing methods, with strong theoretical guarantees.
Contribution
The paper presents a novel meta-decomposition representation for acyclic queries, allowing polynomial-time construction and efficient plan enumeration without explicit join tree enumeration.
Findings
Meta-decompositions can be constructed in polynomial time.
The optimizer based on meta-decompositions runs significantly faster than traditional methods.
Experimental results show plans are comparable or better than state-of-the-art approaches.
Abstract
Structural decomposition methods offer powerful theoretical guarantees for join evaluation, yet they are rarely used in real-world query optimizers. A major reason is the difficulty of combining cost-based plan search and structure-based evaluation. In this work, we bridge this gap by introducing meta-decompositions for acyclic queries, a novel representation that succinctly represents all possible join trees and enables their efficient enumeration. Meta-decompositions can be constructed in polynomial time and have sizes linear in the query size. We design an efficient polynomial-time cost-based optimizer based directly on the meta-decomposition, without the need to explicitly enumerate all possible join trees. We characterize plans found by this approach using a novel notion of width, which effectively implies the theoretical worst-case asymptotic bounds of intermediate result sizes…
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
TopicsData Management and Algorithms · Advanced Database Systems and Queries · Constraint Satisfaction and Optimization
