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 条
  • [41] Cardinality estimation with smoothing autoregressive models
    Lin, Yuming
    Xu, Zejun
    Zhang, Yinghao
    Li, You
    Zhang, Jingwei
    WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2023, 26 (05): : 3441 - 3461
  • [42] Partition cardinality estimation in image repositories
    Fernandez, G
    Djeraba, C
    MINING MULTIMEDIA AND COMPLEX DATA, 2003, 2797 : 232 - 247
  • [43] Semantic cardinality estimation for queries objects
    Nodine, MH
    Cherniack, M
    Nodine, MH
    PERSISTENT OBJECT SYSTEMS: PRINCIPLES AND PRACTICE, 1997, : 164 - 173
  • [44] Arbitrarily Accurate Approximation Scheme for Large-Scale RFID Cardinality Estimation
    Gong, Wei
    Liu, Kebin
    Miao, Xin
    Liu, Haoxiang
    2014 PROCEEDINGS IEEE INFOCOM, 2014, : 477 - 485
  • [45] Accurate Cardinality Estimation of Co-occurring Words Using Suffix Trees
    Willkomm, Jens
    Schaeler, Martin
    Boehm, Klemens
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2021), PT II, 2021, 12682 : 721 - 737
  • [46] Distributed Hash Sketches: Scalable, Efficient, and Accurate Cardinality Estimation for Distributed Multisets
    Ntarmos, N.
    Triantafillou, P.
    Weikum, G.
    ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2009, 27 (01):
  • [47] Network Host Cardinality Estimation Based on Artificial Neural Network
    Jie, Xu
    Lan Haoliang
    Wei, Ding
    Ao, Ju
    SECURITY AND COMMUNICATION NETWORKS, 2022, 2022
  • [48] A sampling approach for skyline query cardinality estimation
    Luo, Cheng
    Jiang, Zhewei
    Hou, Wen-Chi
    He, Shan
    Zhu, Qiang
    KNOWLEDGE AND INFORMATION SYSTEMS, 2012, 32 (02) : 281 - 301
  • [49] Cardinality Estimation in RFID Systems with Multiple Readers
    Shah-Mansouri, Vahid
    Wong, Vincent W. S.
    IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2011, 10 (05) : 1458 - 1469
  • [50] Understanding Cardinality Estimation Using Entropy Maximization
    Re, Christopher
    Suciu, Dan
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2012, 37 (01):