More about HKUST
Structure-Guided Query Optimization
PhD Thesis Proposal Defence
Title: "Structure-Guided Query Optimization"
by
Miss Bingnan CHEN
Abstract:
The growth of data-intensive applications has increased the demand for efficient
analytical query processing. Multi-way joins and aggregations are central to
these workloads, but their performance remains sensitive to intermediate result
sizes and join ordering. We develop structure-guided query optimization that
connects theoretical guarantees with practical execution for acyclic queries
involving inner and outer joins.
We first present Yannakakis+, which improves the classical Yannakakis algorithm
by reducing semi-join work and pushing down aggregations while preserving its
theoretical guarantees. We then develop a framework for acyclic hybrid
inner-outer joins that enables free join reordering by reducing the input to a
dangling-free instance and subsequently relaxing join types. Under equality
predicates, the framework achieves instance-optimal O(IN + OUT) evaluation,
where IN and OUT denote input and output sizes. This guarantee extends to
free-connex hybrid join-aggregate queries.
Both approaches produce plans using standard relational operators and are
implemented in DuckDB. Yannakakis+ achieves a maximum speedup exceeding
100,000× and a geometric-mean speedup of 1.66× over DuckDB v1.5. For
hybrid joins, DuckOuterYan achieves a geometric-mean speedup of 1.88× over
DuckDB v1.5 across 321 benchmark queries. These results demonstrate how
structural properties and theoretical guarantees can translate into practical
performance gains within relational database systems.
Date: Monday, 7 December 2026
Time: 3:00pm - 5:00pm
Venue: Room 2130C
Lift 19
Committee Members: Prof. Ke Yi (Supervisor)
Prof. Raymond Wong (Chairperson)
Prof. Qiong Luo