Lune

VLDB2026顶会

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

摘要

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).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Free Join: Unifying Worst-Case Optimal and Traditional Joins 引用了 Adopting Worst-Case Optimal Joins in Relational Database Systems
  • Robust Join Processing with Diamond Hardened Joins 引用了 Free Join: Unifying Worst-Case Optimal and Traditional Joins
  • Robust Join Processing with Diamond Hardened Joins 引用了 Adopting Worst-Case Optimal Joins in Relational Database Systems
  • Worst-Case Optimal Graph Joins in Almost No Space 引用了 Adopting Worst-Case Optimal Joins in Relational Database Systems
  • Debunking the Myth of Join Ordering: Toward Robust SQL Analytics 引用了 Free Join: Unifying Worst-Case Optimal and Traditional Joins
  • Debunking the Myth of Join Ordering: Toward Robust SQL Analytics 引用了 Robust Join Processing with Diamond Hardened Joins
  • Debunking the Myth of Join Ordering: Toward Robust SQL Analytics 引用了 Adopting Worst-Case Optimal Joins in Relational Database Systems
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper9

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

相关 Paper

  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 次引用
  2. Yannakakis+: Practical Acyclic Query Evaluation with Theoretical GuaranteesQichen Wang, Bingnan Chen, Binyang Dai, Ke Yi 等SIGMOD 2025 · 7 次引用
  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 次引用
  5. Data Chunk Compaction in Vectorized ExecutionYiming Qiao, Huanchen ZhangSIGMOD 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖