Succinct Structure Representations for Efficient Query Optimization
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 and running time of any query plan. Experimental results demonstrate that, in practice, the plans in our class are consistently comparable to-even in many cases better than-the optimal ones found by the state-of-the-art dynamic programming approach, especially on large and complex queries, while our planning process runs by orders of magnitude faster, comparable to the time taken by common heuristic methods.
Cite this item
Jiang, Z., Wang, Q., & Koch, C. (2026). Succinct Structure Representations for Efficient Query Optimization. Proceedings of the ACM on Management of Data (PACMMOD), 4(3), Article 240. https://doi.org/10.1145/3802117
Click Copy to copy the citation, or select the text manually.
Succinct Structure Representations for Efficient Query Optimization – Published version.pdf
Main Document
Published version
openaccess
CC BY
1.24 MB
Adobe PDF
a68544d024a090918469db418b3e56e7
Succinct Structure Representations for Efficient Query Optimization – Full version.pdf
Supplementary Material/information
Not Applicable (or Unknown)
openaccess
CC BY
1.81 MB
Adobe PDF
36a7987d229c3dd85cc0e8ee01f0b9fa