Accurate Summary-based Cardinality Estimation Through the Lens of Cardinality Estimation Graphs

被引:4
|
作者
Chen, Jeremy [1 ]
Huang, Yuqing [1 ]
Wang, Mushi [1 ]
Salihoglu, Semih [1 ]
Salem, Kenneth [1 ]
机构
[1] Univ Waterloo, Waterloo, ON, Canada
关键词
SELECTIVITY; QUERIES; BOUNDS;
D O I
10.14778/3529337.3529339
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We study two classes of summary-based cardinality estimators that use statistics about input relations and small-size joins: (i) optimistic estimators, which were defined in the context of graph database management systems, that make uniformity and conditional independence assumptions; and (ii) the recent pessimistic estimators that use information theoretic linear programs (LPs). We show that optimistic estimators can be modeled as picking bottom-to-top paths in a cardinality estimation graph (CEG), which contains subqueries as nodes and edges whose weights are average degree statistics. We show that existing optimistic estimators have either undefined or fixed choices for picking CEG paths as their estimates and ignore alternative choices. Instead, we outline a space of optimistic estimators to make an estimate on CEGs, which subsumes existing estimators. We show, using an extensive empirical analysis, that effective paths depend on the structure of the queries. We next show that optimistic estimators and seemingly disparate LP-based pessimistic estimators are in fact connected. Specifically, we show that CEGs can also model some recent pessimistic estimators. This connection allows us to provide insights into the pessimistic estimators, such as showing that they have combinatorial solutions.
引用
收藏
页码:94 / 102
页数:9
相关论文
共 50 条
  • [31] Learned Cardinality Estimation for Similarity Queries
    Sun, Ji
    Li, Guoliang
    Tang, Nan
    SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, : 1745 - 1757
  • [32] CARDINALITY ESTIMATION IN NUMERIC ONLINE DATABASES
    JARVELIN, K
    INFORMATION PROCESSING & MANAGEMENT, 1986, 22 (06) : 523 - 548
  • [33] Distributed Cardinality Estimation in Anonymous Networks
    Varagnolo, Damiano
    Pillonetto, Gianluigi
    Schenato, Luca
    IEEE TRANSACTIONS ON AUTOMATIC CONTROL, 2014, 59 (03) : 645 - 659
  • [34] Are We Ready For Learned Cardinality Estimation?
    Wang, Xiaoying
    Qu, Changbo
    Wu, Weiyuan
    Wang, Jiannan
    Zhou, Qingqing
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 14 (09): : 1640 - 1654
  • [35] Cardinality Estimation in Inner Product Space
    Hirata, Kohei
    Amagata, Daichi
    Hara, Takahiro
    IEEE OPEN JOURNAL OF THE COMPUTER SOCIETY, 2022, 3 : 208 - 216
  • [36] RFID Cardinality Estimation with Blocker Tags
    Liu, Xiulong
    Xiao, Bin
    Li, Keqiu
    Wu, Jie
    Liu, Alex X.
    Qi, Heng
    Xie, Xin
    2015 IEEE CONFERENCE ON COMPUTER COMMUNICATIONS (INFOCOM), 2015,
  • [37] Cardinality Estimation for Having-Clauses
    Moerkotte, Guido
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2024, 18 (01):
  • [38] Cardinality estimation for the optimization of queries on ontologies
    Shironoshita, E. Patrick
    Ryan, Michael T.
    Kabuka, Mansur R.
    SIGMOD RECORD, 2007, 36 (02) : 13 - 18
  • [39] Cardinality estimation with smoothing autoregressive models
    Yuming Lin
    Zejun Xu
    Yinghao Zhang
    You Li
    Jingwei Zhang
    World Wide Web, 2023, 26 : 3441 - 3461
  • [40] Cardinality estimation using normalizing flow
    Jiayi Wang
    Chengliang Chai
    Jiabin Liu
    Guoliang Li
    The VLDB Journal, 2024, 33 (2) : 323 - 348