An Approach Based on Bayesian Networks for Query Selectivity Estimation

被引:5
|
作者
Halford, Max [1 ,2 ]
Saint-Pierre, Philippe [2 ]
Morvan, Franck [1 ]
机构
[1] Paul Sabatier Univ, IRIT Lab, Toulouse, France
[2] Paul Sabatier Univ, IMT Lab, Toulouse, France
关键词
Query optimisation; Cardinality estimation; Bayesian networks; COMPLEXITY; SIZE;
D O I
10.1007/978-3-030-18579-4_1
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:3 / 19
页数:17
相关论文
共 50 条
  • [41] A Bayesian Approach to Demand Estimation
    Aksoy, H. Kivanc
    Guner, Asli
    4TH WORLD CONFERENCE ON BUSINESS, ECONOMICS AND MANAGEMENT (WCBEM-2015), 2015, 26 : 777 - 784
  • [42] THE BAYESIAN-APPROACH TO ESTIMATION
    STROM, DJ
    HEALTH PHYSICS, 1986, 50 (04): : 553 - 553
  • [43] Estimation of heritability by Bayesian approach
    Bhatia, V. K.
    Paul, Amrit Kumar
    INDIAN JOURNAL OF ANIMAL SCIENCES, 2006, 76 (10): : 860 - 861
  • [44] A Bayesian Approach to Argument-Based Reasoning for Attack Estimation
    Kido, Hiroyuki
    Okamoto, Keishi
    PROCEEDINGS OF THE TWENTY-SIXTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2017, : 249 - 255
  • [45] A permutation-based Bayesian approach for inverse covariance estimation
    Cao, Xuan
    Zhang, Shaojun
    COMMUNICATIONS IN STATISTICS-THEORY AND METHODS, 2020, 49 (14) : 3557 - 3571
  • [46] A Bayesian estimation approach for the wavelet-based mixture regression
    Motta, Flavia Castro
    Montoril, Michel H.
    COMMUNICATIONS IN STATISTICS-SIMULATION AND COMPUTATION, 2025,
  • [47] SNP-based heritability estimation using a Bayesian approach
    Krag, K.
    Janss, L. L.
    Shariati, M. M.
    Berg, P.
    Buitenhuis, A. J.
    ANIMAL, 2013, 7 (04) : 531 - 539
  • [48] Joint Sparse Channel and Clipping Level Estimation in OFDM-based IoT Networks : A Bayesian Learning Approach
    Mishra, Amrita
    Abheeshek, D.
    Dewangan, Kehariom
    Yendru, Chaitanya
    2022 IEEE 33RD ANNUAL INTERNATIONAL SYMPOSIUM ON PERSONAL, INDOOR AND MOBILE RADIO COMMUNICATIONS (IEEE PIMRC), 2022, : 463 - 468
  • [49] Selectivity Estimation of Correlated Properties in RDF Data for SPARQL Query Optimization
    Lv, Bin
    Du, Xiaoyong
    Wang, Yan
    2009 FIFTH INTERNATIONAL CONFERENCE ON SEMANTICS, KNOWLEDGE AND GRID (SKG 2009), 2009, : 176 - 183
  • [50] Selectivity estimation of extended XML query tree patterns based on prime number labeling and synopsis modeling
    Mohammed, Salahadin
    Barradah, Ahmad F.
    El-Alfy, El-Sayed M.
    SIMULATION MODELLING PRACTICE AND THEORY, 2016, 64 : 30 - 42