Lune

SIGMOD2024顶会

Reservoir Sampling over Joins

Binyang Dai, Xiao Hu, Ke Yi

摘要

Sampling over joins is a fundamental task in large-scale data analytics. Instead of computing the full join results, which could be massive, a uniform sample of the join results would suffice for many purposes, such as answering analytical queries or training machine learning models. In this paper, we study the problem of how to maintain a random sample over joins while the tuples are streaming in. Without the join, this problem can be solved by some simple and classical reservoir sampling algorithms. However, the join operator makes the problem significantly harder, as the join size can be polynomially larger than the input. We present a new algorithm for this problem that achieves a near-linear complexity. The key technical components are a generalized reservoir sampling algorithm that supports a predicate, and a dynamic index for sampling over joins. We also conduct extensive experiments on both graph and relational data over various join queries, and the experimental results demonstrate significant performance improvement over the state of the art.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Change Propagation Without Joins 引用了 Maintaining Acyclic Foreign-Key Joins under Updates
  • Random Sampling Over Spatial Range Joins 引用了 Efficient Join Synopsis Maintenance for Data Warehouse
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Random Sampling Over Spatial Range JoinsDaichi AmagataICDE 2025 · 3 次引用
  2. Poisson Sampling over Acyclic JoinsLiese Bekkers, Frank Neven, Lorrens Pantelis, Stijn VansummerenSIGMOD 2026 · 1 次引用
  3. Exploring Exploratory QueryingMarcelo Arenas, Enrico Franconi, Janik Hammerer, Olaf Hartig 等VLDB 2025
  4. Secure Multi-Party Sampling over JoinsQiyao Luo, Quanqing Xu, Chuanhui YangVLDB 2026

它引用的 Paper4

  1. The LDBC Social Network Benchmark: Business Intelligence WorkloadGábor Szárnyas, Jack Waudby, Benjamin A. Steer, Dávid Szakállas 等VLDB 2023 · 103 次引用
  2. Change Propagation Without JoinsQichen Wang, Xiao Hu, Binyang Dai, Ke YiVLDB 2023 · 23 次引用
  3. Efficient Join Synopsis Maintenance for Data WarehouseZhuoyue Zhao, Feifei Li, Yuxi LiuSIGMOD 2020 · 19 次引用
  4. Maintaining Acyclic Foreign-Key Joins under UpdatesQichen Wang, Ke YiSIGMOD 2020 · 13 次引用

相关 Paper

  1. GREAT: Generalized Reservoir Sampling based Triangle Counting Estimation over Streaming GraphsSiyue Wu, Dingming Wu, Sinhong Cheuk, Tsz Nam Chan 等VLDB 2025
  2. Practical Dynamic Extension for Sampling IndexesDouglas B. Rumbaugh, Dong XieSIGMOD 2024 · 3 次引用
  3. Enabling Adaptive Sampling for Intra-Window Join: Simultaneously Optimizing Quantity and QualityXilin Tang, Feng Zhang, Shuhao Zhang, Yani Liu 等SIGMOD 2025 · 1 次引用
  4. PGMJoins: Random Join Sampling with Graphical ModelsAli Mohammadi Shanghooshabad, Meghdad Kurmanji, Qingzhi Ma, Michael Shekelyan 等SIGMOD 2021 · 13 次引用
  5. Efficient Streaming Algorithms for Graphlet SamplingYann Bourreau, Marco Bressan, T.-H. Hubert Chan, Qipeng Kuang 等NeurIPS 2024 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖