Optimizing Queries with Many-to-Many Joins
Hasara Kalumin, Amol Deshpande
摘要
As database query processing techniques are being used to handle diverse workloads, a key emerging challenge is how to efficiently handle multi-way join queries containing multiple many-to-many joins. While uncommon in traditional enterprise settings that have been the focus of much of the query optimization work to date, such queries are seen frequently in other contexts such as graph workloads. This has led to much work on developing join algorithms for handling cyclic queries, on compressed (factorized) representations for more efficient storage of intermediate results, and on use of semi-joins or predicate transfer to avoid generating large redundant intermediate results. In this paper, we address a core query optimization problem in this context. Specifically, we introduce an improved cost model that more accurately captures the cost of a query plan in such scenarios, and we present several optimization algorithms for query optimization that incorporate these new cost functions. We present an extensive experimental evaluation, that compares the factorized representation approach with a full semi-join reduction approach as well as to an approach that uses bitvectors to eliminate tuples early through sideways information passing. We also present new analyses of robustness of these techniques to the choice of the join order, potentially eliminating the need for more complex query optimization and selectivity estimation techniques.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper4
- Factorized and Vectorized Execution: Optimizing Analytical and Semantic Queries over RelationsSunny Yasser, Anas Dorbani, Amine MhedhbiSIGMOD 2026 · 被引用 1 次
- A Set-Theoretic Approach to Detecting Logic Bugs in DBMS Inner Join OptimizationsCe Lyu, Changzheng Wei, Yanhao Wang, Jie Liang 等ICDE 2026
- NeuSO: Neural Optimizer for Subgraph QueriesLinglin Yang, Lei Zou, Chunshan ZhaoSIGMOD 2026
- The Data World Is Not Flat: Efficient Factorized Execution for Relational SystemsStefan Lehner, Thomas NeumannVLDB 2026
它引用的顶会 Paper11
- NeuroCard: One Cardinality Estimator for All TablesZongheng Yang, Amog Kamsetty, Sifei Luan, Eric Liang 等VLDB 2021 · 被引用 138 次
- The LDBC Social Network Benchmark: Business Intelligence WorkloadGábor Szárnyas, Jack Waudby, Benjamin A. Steer, Dávid Szakállas 等VLDB 2023 · 被引用 103 次
- Adopting Worst-Case Optimal Joins in Relational Database SystemsMichael J. Freitag, Maximilian Bandle, Tobias Schmidt, Alfons Kemper 等VLDB 2020 · 被引用 79 次
- FlexPushdownDB: Hybrid Pushdown and Caching in a Cloud DBMSYifei Yang, Matt Youill, Matthew E. Woicik, Yizhou Liu 等VLDB 2021 · 被引用 67 次
- Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive QueriesNikolaos Tziavelis, Deepak Ajwani, Wolfgang Gatterbauer, Mirek Riedewald 等VLDB 2020 · 被引用 45 次
相关 Paper
- AJOSC: Adaptive Join Order Selection for Continuous QueriesXinyi Ye, Xiangyang Gou, Lei Zou, Wenjie ZhangSIGMOD 2025
- COLOR: A Framework for Applying Graph Coloring to Subgraph Cardinality EstimationKyle B. Deeds, Diandre Sabale, Moe Kayali, Dan SuciuVLDB 2025 · 被引用 4 次
- Bitvector-aware Query Optimization for Decision Support QueriesBailu Ding, Surajit Chaudhuri, Vivek R. NarasayyaSIGMOD 2020 · 被引用 21 次
- Efficient Join Synopsis Maintenance for Data WarehouseZhuoyue Zhao, Feifei Li, Yuxi LiuSIGMOD 2020 · 被引用 19 次
- Accelerate Distributed Joins with Predicate TransferYifei Yang, Xiangyao YuSIGMOD 2025
