Lune

VLDB2021顶会

Beyond Equi-joins: Ranking, Enumeration and Factorization

Nikolaos Tziavelis, Wolfgang Gatterbauer, Mirek Riedewald

摘要

We study theta-joins in general and join predicates with conjunctions and disjunctions of inequalities in particular, focusing on ranked enumeration where the answers are returned incrementally in an order dictated by a given ranking function. Our approach achieves strong time and space complexity properties: with 𝑛 denoting the number of tuples in the database, we guarantee for acyclic full join queries with inequality conditions that for every value of 𝑘, the 𝑘 top-ranked answers are returned in O (𝑛 polylog 𝑛 + 𝑘 log 𝑘) time. This is within a polylogarithmic factor of O (𝑛 + 𝑘 log 𝑘), i.e., the best known complexity for equi-joins, and even of O (𝑛 + 𝑘), i.e., the time it takes to look at the input and return 𝑘 answers in any order. Our guarantees extend to join queries with selections and many types of projections (namely those called "free-connex" queries and those that use bag semantics). Remarkably, they hold even when the number of join results is 𝑛 ℓ for a join of ℓ relations. The key ingredient is a novel O (𝑛 polylog 𝑛)-size factorized representation of the query output, which is constructed on-the-fly for a given query and database. In addition to providing the first nontrivial theoretical guarantees beyond equi-joins, we show in an experimental study that our ranked-enumeration approach is also memory-efficient and fast in practice, beating the running time of state-of-the-art database systems by orders of magnitude.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Optimizing Queries with Many-to-Many Joins 引用了 Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries
  • Synthesizing Scoring Functions for Rankings Using Symbolic Gradient Descent 引用了 Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries
  • Ranked Enumeration of Join Queries with Projections 引用了 Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries
  • Worst-Case-Optimal Similarity Joins on Graph Databases 引用了 Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Ranked Enumeration of Join Queries with ProjectionsShaleen Deep, Xiao Hu, Paraschos KoutrisVLDB 2022 · 14 次引用
  2. Conjunctive Queries with ComparisonsQichen Wang, Ke YiSIGMOD 2022 · 13 次引用
  3. Optimizing Queries with Many-to-Many JoinsHasara Kalumin, Amol DeshpandeICDE 2025 · 3 次引用
  4. Worst-Case-Optimal Similarity Joins on Graph DatabasesDiego Arroyuelo, Benjamin Bustos, Adrián Gómez-Brandón, Aidan Hogan 等SIGMOD 2024 · 3 次引用
  5. Synthesizing Scoring Functions for Rankings Using Symbolic Gradient DescentZixuan Chen, Panagiotis Manolios, Mirek RiedewaldICDE 2025 · 2 次引用

它引用的 Paper3

  1. Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive QueriesNikolaos Tziavelis, Deepak Ajwani, Wolfgang Gatterbauer, Mirek Riedewald 等VLDB 2020 · 45 次引用
  2. Near-Optimal Distributed Band-Joins through Recursive PartitioningRundong Li, Wolfgang Gatterbauer, Mirek RiedewaldSIGMOD 2020 · 8 次引用
  3. Factorized Graph Representations for Semi-Supervised Learning from Sparse DataKrishna Kumar P., Paul Langton, Wolfgang GatterbauerSIGMOD 2020 · 4 次引用

相关 Paper

  1. Towards Efficient Random-Order Enumeration for Join QueriesPengyu Chen, Zizheng Guo, Jianwei Yang, Dongjing MiaoVLDB 2026
  2. Succinct Structure Representations for Efficient Query OptimizationZhekai Jiang, Qichen Wang, Christoph KochSIGMOD 2026
  3. A Scalable and Generic Approach to Range JoinsMaximilian Reif, Thomas NeumannVLDB 2022 · 6 次引用
  4. Query Optimization for Database-Returning QueriesSimon Rink, Jens DittrichSIGMOD 2026 · 1 次引用
  5. Reservoir Sampling over JoinsBinyang Dai, Xiao Hu, Ke YiSIGMOD 2024 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖