HoneyComb: A Parallel Worst-Case Optimal Join on Multicores
摘要
To achieve true scalability on massive datasets, a modern query engine needs to be able to take advantage of large, sharedmemory, multicore systems. Binary joins are conceptually easy to parallelize on a multicore system; however, several applications require a different approach to query evaluation, using a Worst-Case Optimal Join (WCOJ) algorithm. WCOJ is known to outperform traditional query plans for cyclic queries. However, there is no obvious adaptation of WCOJ to parallel architectures. The few existing systems that parallelize WCOJ do this by partitioning only the top variable of the WCOJ algorithm. This leads to work skew (since some relations end up being read entirely by every thread), possible contention between threads (when the hierarchical trie index is built lazily, which is the case on most recent WCOJ systems), and exacerbates the redundant computations already existing in WCOJ. We introduce HoneyComb, a parallel version of WCOJ, optimized for large multicore, shared-memory systems. HoneyComb partitions the domains of all query variables, not just that of the top loop. We adapt the partitioning idea from the HyperCube algorithm, developed by the theory community for computing multi-join queries on a massively parallel shared-nothing architecture, and introduce new methods for computing the shares, optimized for a shared-memory architecture. To avoid the contention created by the lazy construction of the trie-index, we introduce CoCo, a new and very simple index structure, which we build eagerly, by sorting the entire relation. Finally, in order to remove some of the redundant computations of WCOJ, we introduce a rewriting technique of the WCOJ plan that factors out some of these redundant computations. Our experimental evaluation compares HoneyComb with several recent implementations of WCOJ.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 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
- One Join Order Does Not Fit All: Reducing Intermediate Results with Per-Split Query Plans 引用了 Free Join: Unifying Worst-Case Optimal and Traditional Joins
- One Join Order Does Not Fit All: Reducing Intermediate Results with Per-Split Query Plans 引用了 Robust Join Processing with Diamond Hardened Joins
- One Join Order Does Not Fit All: Reducing Intermediate Results with Per-Split Query Plans 引用了 Worst-Case Optimal Graph Joins in Almost No Space
- One Join Order Does Not Fit All: Reducing Intermediate Results with Per-Split Query Plans 引用了 Adopting Worst-Case Optimal Joins in Relational Database Systems
引用它的顶会 Paper1
它引用的 Paper8
- Adopting Worst-Case Optimal Joins in Relational Database SystemsMichael J. Freitag, Maximilian Bandle, Tobias Schmidt, Alfons Kemper 等VLDB 2020 · 79 次引用
- Worst-Case Optimal Graph Joins in Almost No SpaceDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. Reutter 等SIGMOD 2021 · 34 次引用
- Robust Join Processing with Diamond Hardened JoinsAltan Birler, Alfons Kemper, Thomas NeumannVLDB 2024 · 23 次引用
- Parallel Index-based Stream Join on a Multicore CPUAmirhesam Shahvarani, Hans-Arno JacobsenSIGMOD 2020 · 20 次引用
- Free Join: Unifying Worst-Case Optimal and Traditional JoinsYisu Remy Wang, Max Willsey, Dan SuciuSIGMOD 2023 · 18 次引用
相关 Paper
- ADOPT: Adaptively Optimizing Attribute Orders for Worst-Case Optimal Join Algorithms via Reinforcement LearningJunxiong Wang, Immanuel Trummer, Ahmet Kara, Dan OlteanuVLDB 2023 · 10 次引用
- APEX: Adaptive Variable-Wise Parallel Execution for Worst-Case Optimal Joins on Graph QueriesYipeng Liu, Yuming Lin, Zhicheng Pan, Chengcheng Yang 等ICDE 2026
- Worst-Case-Optimal Similarity Joins on Graph DatabasesDiego Arroyuelo, Benjamin Bustos, Adrián Gómez-Brandón, Aidan Hogan 等SIGMOD 2024 · 3 次引用
- Instance-Optimal Acyclic Join Processing Without Regret: Engineering the Yannakakis Algorithm in Column StoresLiese Bekkers, Frank Neven, Stijn Vansummeren, Yisu Remy WangVLDB 2025 · 14 次引用
- Waffle: A Workload-Aware and Query-Sensitive Framework for Disk-Based Spatial IndexingMoin Hussain Moti, Panagiotis Simatis, Dimitris PapadiasVLDB 2023 · 11 次引用
