An Approach Based on Bayesian Networks for Query Selectivity Estimation
Not on the map. Why?
Abstract (arXiv)
The efficiency of a query execution plan depends on the accuracy of the selectivity estimates given to the query optimiser by the cost model. The cost model makes simplifying assumptions in order to produce said estimates in a timely manner. These assumptions lead to selectivity estimation errors that have dramatic effects on the quality of the resulting query execution plans. A convenient assumption that is ubiquitous among current cost models is to assume that attributes are independent with each other. However, it ignores potential correlations which can have a huge negative impact on the accuracy of the cost model. In this paper we attempt to relax the attribute value independence assumption without unreasonably deteriorating the accuracy of the cost model. We propose a novel approach based on a particular type of Bayesian networks called Chow-Liu trees to approximate the distribution of attribute values inside each relation of a database. Our results on the TPC-DS benchmark show that our method is an order of magnitude more precise than other approaches whilst remaining reasonably efficient in terms of time and space.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 1; 2024: 0; 2025: 2.
6 papers.
- 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluationcited by 30
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumerationcited by 14
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
- 2023Cardinality Estimation over Knowledge Graphs with Embeddings and Graph Neural Networkscited by 3
- 2025ACE: A Cardinality Estimator for Set-Valued Queriescited by 0
- 2025A Lightweight Learned Cardinality Estimation Modelcited by 0
- 2025A Lightweight Learned Cardinality Estimation Model13 Aug 2025
- 2025ACE: A Cardinality Estimator for Set-Valued Queries19 Mar 2025
- 2023Cardinality Estimation over Knowledge Graphs with Embeddings and Graph Neural Networks2 Mar 2023
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queries11 Dec 2022
- 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation13 Sep 2021
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumeration5 Jan 2021