paper-with-me

Papers

DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulation

2025-03-12 · Kaixin Zhang, Hongzhi Wang, ZiQi Li, Yabin Lu, Yingze Li, Yu Yan, Yiming Guan

Research on learned cardinality estimation has achieved significant progress in recent years. However, existing methods still face distinct challenges that hinder their practical deployment in production environments. We conceptualize these challenges as the "Trilemma of Cardinality Estimation", where learned cardinality estimation methods struggle to balance generality, accuracy, and updatability. To address these challenges, we introduce DistJoin, a join cardinality estimator based on efficient distribution prediction using multi-autoregressive models. Our contributions are threefold: (1) We propose a method for estimating both equi and non-equi join cardinality by leveraging the conditional probability distributions of individual tables in a decoupled manner. (2) To meet the requirements of efficient training and inference for DistJoin, we develop Adaptive Neural Predicate Modulation (ANPM), a high-throughput conditional probability distribution estimation model. (3) We formally analyze the variance of existing similar methods and demonstrate that such approaches suffer from variance accumulation issues. To mitigate this problem, DistJoin employs a selectivity-based approach rather than a count-based approach to infer join cardinality, effectively reducing variance. In summary, DistJoin not only represents the first data-driven method to effectively support both equi and non-equi joins but also demonstrates superior accuracy while enabling fast and flexible updates. We evaluate DistJoin on JOB-light and JOB-light-ranges, extending the evaluation to non-equi join conditions. The results demonstrate that our approach achieves the highest accuracy, robustness to data updates, generality, and comparable update and inference speed relative to existing methods.

📄 PDF Abstract BibTeX arXiv:2503.08994

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Scardina: Scalable Join Cardinality Estimation by Multiple Density Estimators

2023-03-31 · Ryuichi Ito, Yuya Sasaki, Chuan Xiao, Makoto Onizuka

In recent years, machine learning-based cardinality estimation methods are replacing traditional methods. This change is expected to contribute to one of the most important applications of cardinality estimation, the que…

NeuroCard: One Cardinality Estimator for All Tables

2020-06-15 · Zongheng Yang, Amog Kamsetty, Sifei Luan, Eric Liang 외

Query optimizers rely on accurate cardinality estimates to produce good execution plans. Despite decades of research, existing cardinality estimators are inaccurate for complex queries, due to making lossy modeling assum…

All

Fully Inductive Cardinality Estimation

2026-07-30 · Tim Schwabe, Lukas Ketzer, Maribel Acosta arxiv

Query optimization of Basic Graph Patterns (BGP) SPARQL queries over Knowledge Graphs (KG) requires accurate cardinality estimation. Recently published learned estimators outperform statistics- and sampling-based approac…

Graph Neural NetworkKnowledge Graphs

FactorJoin: A New Cardinality Estimation Framework for Join Queries

2022-12-11 · Ziniu Wu, Parimarjan Negi, Mohammad Alizadeh, Tim Kraska 외

Cardinality estimation is one of the most fundamental and challenging problems in query optimization. Neither classical nor learning-based methods yield satisfactory performance when estimating the cardinality of the joi…

Attribute

Deep Unsupervised Cardinality Estimation

2019-05-10 · Zongheng Yang, Eric Liang, Amog Kamsetty, Chenggang Wu 외

Cardinality estimation has long been grounded in statistical tools for density estimation. To capture the rich multivariate distributions of relational tables, we propose the use of a new type of high-capacity statistica…

Density Estimation