Memory-Efficient Key/Foreign-Key Join Size Estimation via Multiplicity and Intersection Size
Magnus Müller, Daniel Flachs, Guido Moerkotte
摘要
Join size estimation plays a crucial role in query optimization. In this paper, we present a technique to estimate the size of a key/foreign-key join of two filtered relations. We build on a model by Allen Van Gelder, in which there is no notion of join selectivity. Instead, the size of a join is estimated as a multiple of the intersection size of the join attributes. We present both a data structure to approximate the number of distinct values in a join attribute after a filter operation, and formulas to estimate the factor by which a join size exceeds the intersection size. In addition, we evaluate three existing intersection size estimation methods that are based on HyperLogLog sketches, to which our approach is closely linked. For both real-world and generated data sets, our estimator competes well, in terms of accuracy and memory footprint, against several industry-strength and state-of-the-art join size estimation methods. In particular, our experiments indicate that our approach is less prone to heavy underestimates.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
引用它的顶会 Paper2
- Index Intersection for High-Dimensional Range QueriesMaximilian Berens, Jens TeubnerVLDB 2026
- Evaluating Methods for Efficient Entity Count EstimationJerin George Mathew, Donatella Firmani, Divesh SrivastavaVLDB 2025
相关 Paper
- SetSketch: Filling the Gap between MinHash and HyperLogLogOtmar ErtlVLDB 2021 · 被引用 17 次
- FactorJoin: A New Cardinality Estimation Framework for Join QueriesZiniu Wu, Parimarjan Negi, Mohammad Alizadeh, Tim Kraska 等SIGMOD 2023 · 被引用 54 次
- Weighted Distinct Sampling: Cardinality Estimation for SPJ QueriesYuan Qiu, Yilei Wang, Ke Yi, Feifei Li 等SIGMOD 2021 · 被引用 10 次
- KHyperLogLog: Estimating Reidentifiability and Joinability of Large Data at ScalePern Hui Chia, Damien Desfontaines, Irippuge Milinda Perera, Daniel Simmons-Marengo 等S&P 2019 · 被引用 18 次
- Improved Correlated Sampling for Join Size EstimationTaiNing Wang, Chee-Yong ChanICDE 2020 · 被引用 19 次
