Lune

ICDE2025顶会

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.

问 Lune

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

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

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • The LDBC Social Network Benchmark: Business Intelligence Workload 引用了 Adopting Worst-Case Optimal Joins in Relational Database Systems
  • NeuSO: Neural Optimizer for Subgraph Queries 引用了 NeuroCard: One Cardinality Estimator for All Tables
  • The Data World Is Not Flat: Efficient Factorized Execution for Relational Systems 引用了 The LDBC Social Network Benchmark: Business Intelligence Workload
  • The Data World Is Not Flat: Efficient Factorized Execution for Relational Systems 引用了 Adopting Worst-Case Optimal Joins in Relational Database Systems
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Factorized and Vectorized Execution: Optimizing Analytical and Semantic Queries over RelationsSunny Yasser, Anas Dorbani, Amine MhedhbiSIGMOD 2026 · 1 次引用
  2. A Set-Theoretic Approach to Detecting Logic Bugs in DBMS Inner Join OptimizationsCe Lyu, Changzheng Wei, Yanhao Wang, Jie Liang 等ICDE 2026
  3. NeuSO: Neural Optimizer for Subgraph QueriesLinglin Yang, Lei Zou, Chunshan ZhaoSIGMOD 2026
  4. The Data World Is Not Flat: Efficient Factorized Execution for Relational SystemsStefan Lehner, Thomas NeumannVLDB 2026

它引用的 Paper11

  1. NeuroCard: One Cardinality Estimator for All TablesZongheng Yang, Amog Kamsetty, Sifei Luan, Eric Liang 等VLDB 2021 · 138 次引用
  2. The LDBC Social Network Benchmark: Business Intelligence WorkloadGábor Szárnyas, Jack Waudby, Benjamin A. Steer, Dávid Szakállas 等VLDB 2023 · 103 次引用
  3. Adopting Worst-Case Optimal Joins in Relational Database SystemsMichael J. Freitag, Maximilian Bandle, Tobias Schmidt, Alfons Kemper 等VLDB 2020 · 79 次引用
  4. FlexPushdownDB: Hybrid Pushdown and Caching in a Cloud DBMSYifei Yang, Matt Youill, Matthew E. Woicik, Yizhou Liu 等VLDB 2021 · 67 次引用
  5. Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive QueriesNikolaos Tziavelis, Deepak Ajwani, Wolfgang Gatterbauer, Mirek Riedewald 等VLDB 2020 · 45 次引用

相关 Paper

  1. AJOSC: Adaptive Join Order Selection for Continuous QueriesXinyi Ye, Xiangyang Gou, Lei Zou, Wenjie ZhangSIGMOD 2025
  2. COLOR: A Framework for Applying Graph Coloring to Subgraph Cardinality EstimationKyle B. Deeds, Diandre Sabale, Moe Kayali, Dan SuciuVLDB 2025 · 4 次引用
  3. Bitvector-aware Query Optimization for Decision Support QueriesBailu Ding, Surajit Chaudhuri, Vivek R. NarasayyaSIGMOD 2020 · 21 次引用
  4. Efficient Join Synopsis Maintenance for Data WarehouseZhuoyue Zhao, Feifei Li, Yuxi LiuSIGMOD 2020 · 19 次引用
  5. Columnar Storage and List-based Processing for Graph Database Management SystemsPranjal Gupta, Amine Mhedhbi, Semih SalihogluVLDB 2021 · 31 次引用
黄昏的海面,两侧是细线勾勒的悬崖