Succinct Structure Representations for Efficient Query Optimization
Open Access
- 18 May 2026
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Management of Data
- Vol. 4 (3) , 1-27
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 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.Keywords
All Related Versions
Funding Information
- Ministry of Education - Singapore (Tier 1 grant (RS32\/25))
- Nanyang Technological University (Start-up Grant)
This publication has 46 references indexed in Scilit:
- An analytical study of large SPARQL query logsThe VLDB Journal, 2019
- Query optimization through the looking glass, and what we found running the Join Order BenchmarkThe VLDB Journal, 2017
- On Acyclic Conjunctive Queries and Constant Delay Enumeration2007
- Weighted hypertree decompositions and optimal query plansJournal of Computer and System Sciences, 2007
- An algorithm for tree-query membership of a distributed query2005
- Hypertree Decompositions: Structure, Algorithms, and Applications2005
- Robbers, marshals, and guards: game theoretic and logical characterizations of hypertree widthJournal of Computer and System Sciences, 2003
- Hypertree Decompositions and Tractable QueriesJournal of Computer and System Sciences, 2002
- A new heuristic for optimizing large queries1998
- On the complexity of generating optimal left-deep processing trees with cross products1995