Lune

VLDB2026Top-tier venue

One Join Order Does Not Fit All: Reducing Intermediate Results with Per-Split Query Plans

Yujun He, Hangdong Zhao, Simon Frisk, Yifei Yang, Kevin Kristensen, Paraschos Koutris, Xiangyao Yu

Abstract

Minimizing intermediate results is critical for efficient multi-join query processing. Although the seminal Yannakakis algorithm offers strong guarantees for acyclic queries, cyclic queries remain an open challenge. In this paper, we propose SplitJoin, a framework that introduces split as a first-class query operator. By partitioning input tables into heavy and light parts, SplitJoin allows different data partitions to use distinct query plans, with the goal of reducing intermediate sizes using existing binary join engines. We systematically explore the design space for split-based optimizations, including threshold selection, split strategies, and join ordering after splits. Implemented as a front-end to DuckDB and Umbra, SplitJoin achieves substantial improvements: on DuckDB, SplitJoin completes 66 social network queries (vs. 48 natively), achieving 1.8× faster runtime and 4.5× smaller intermediates on average (up to 14.8× and 74×, respectively); on Umbra, it completes 70 queries (vs. 56), achieving 1.3× speedups and 1.8× smaller intermediates on average (up to 11.6× and 33.1×, respectively).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Free Join: Unifying Worst-Case Optimal and Traditional Joins cites Adopting Worst-Case Optimal Joins in Relational Database Systems
  • Robust Join Processing with Diamond Hardened Joins cites Free Join: Unifying Worst-Case Optimal and Traditional Joins
  • Robust Join Processing with Diamond Hardened Joins cites Adopting Worst-Case Optimal Joins in Relational Database Systems
  • Worst-Case Optimal Graph Joins in Almost No Space cites Adopting Worst-Case Optimal Joins in Relational Database Systems
  • Debunking the Myth of Join Ordering: Toward Robust SQL Analytics cites Free Join: Unifying Worst-Case Optimal and Traditional Joins
  • Debunking the Myth of Join Ordering: Toward Robust SQL Analytics cites Robust Join Processing with Diamond Hardened Joins
  • Debunking the Myth of Join Ordering: Toward Robust SQL Analytics cites Adopting Worst-Case Optimal Joins in Relational Database Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. Adopting Worst-Case Optimal Joins in Relational Database SystemsMichael J. Freitag, Maximilian Bandle, Tobias Schmidt, Alfons Kemper et al.VLDB 2020 · 79 citations
  2. Worst-Case Optimal Graph Joins in Almost No SpaceDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. Reutter et al.SIGMOD 2021 · 34 citations
  3. Robust Join Processing with Diamond Hardened JoinsAltan Birler, Alfons Kemper, Thomas NeumannVLDB 2024 · 23 citations
  4. Free Join: Unifying Worst-Case Optimal and Traditional JoinsYisu Remy Wang, Max Willsey, Dan SuciuSIGMOD 2023 · 18 citations
  5. Debunking the Myth of Join Ordering: Toward Robust SQL AnalyticsJunyi Zhao, Kai Su, Yifei Yang, Xiangyao Yu et al.SIGMOD 2025 · 13 citations

Related papers

  1. Instance-Optimal Acyclic Join Processing Without Regret: Engineering the Yannakakis Algorithm in Column StoresLiese Bekkers, Frank Neven, Stijn Vansummeren, Yisu Remy WangVLDB 2025 · 14 citations
  2. Yannakakis+: Practical Acyclic Query Evaluation with Theoretical GuaranteesQichen Wang, Bingnan Chen, Binyang Dai, Ke Yi et al.SIGMOD 2025 · 7 citations
  3. Saving Private Hash JoinLaurens Kuiper, Paul Gross, Peter Boncz, Hannes MühleisenVLDB 2025
  4. Query Optimization for Database-Returning QueriesSimon Rink, Jens DittrichSIGMOD 2026 · 1 citation
  5. Data Chunk Compaction in Vectorized ExecutionYiming Qiao, Huanchen ZhangSIGMOD 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines