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

被引:2
|
作者
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 条
  • [1] Accurate Summary-based Cardinality Estimation Through the Lens of Cardinality Estimation Graphs
    Chen, Jeremy
    Huang, Yuqing
    Wang, Mushi
    Salihoglu, Semih
    Salem, Ken
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (08): : 1533 - 1545
  • [3] Cardinality estimation in query for probability RDF graphs
    Zhang, Deng-Yi
    Wu, Wen-Li
    Ouyang, Chu-Fei
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2015, 43 (09): : 1745 - 1749
  • [4] More accurate cardinality estimation in data streams
    Lu, Jie
    Chen, Hongchang
    Zhang, Zheng
    Xie, Jichao
    ELECTRONICS LETTERS, 2022, 58 (25) : 982 - 984
  • [5] Fast and Accurate Cardinality Estimation in Cellular-Based Wireless Communications
    Khoshkholgh, Mohammad G.
    Leung, Victor C. M.
    Shin, Kang G.
    2015 IEEE WIRELESS COMMUNICATIONS AND NETWORKING CONFERENCE (WCNC), 2015, : 1119 - 1123
  • [6] Accurate Sampling-Based Cardinality Estimation for Complex Graph Queries
    Hu, Pan
    Motik, Boris
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2024, 49 (03):
  • [7] FLAT: Fast, Lightweight and Accurate Method for Cardinality Estimation
    Zhu, Rong
    Wu, Ziniu
    Han, Yuxing
    Zeng, Kai
    Pfadler, Andreas
    Qian, Zhengping
    Zhou, Jingren
    Cui, Bin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 14 (09): : 1489 - 1502
  • [8] More accurate streaming cardinality estimation with vectorized counters
    Bruschi, Valerio
    Reviriego, Pedro
    Pontarelli, Salvatore
    Ting, Daniel
    Bianchi, Giuseppe
    Bruschi, Valerio (valerio.bruschi@uniroma2.it), 1600, Institute of Electrical and Electronics Engineers Inc. (03): : 75 - 79
  • [9] Cardinality Estimation Based on Cluster Analysis
    Zeng, Xiaoning
    Lin, Xudong
    Pei, Caiyan
    Cao, Jing
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2019, 35 (01) : 201 - 222
  • [10] A General Cardinality Estimation Framework for Subgraph Matching in Property Graphs
    van Leeuwen, Wilco
    Fletcher, George
    Yakovets, Nikolay
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (06) : 5485 - 5505