Cardinality Estimation: Is Machine Learning a Silver Bullet?
Cardinality Estimation: Is Machine Learning a Silver Bullet?
复制标题
基数估计:机器学习是灵丹妙药吗?
DOI:
--
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Srikanth Kandula
中科院分区:
文献类型:
--
作者:
Beibin Li;Yao Lu;Chi Wang;Srikanth Kandula
Cardinality estimation (CE) aims for high accuracy, small storage, fast building and low query answering latency. We analyze the upper error bounds of random uniform sampling for single-table CE and use them as the accuracy target for machine learning (ML)-based CE. Our analysis indicates that ML-based CE exhibits no Pareto advantage over random uniform sampling but provides a tradeoff among the metrics of interest. We outline such tradeoffs and point out the scenarios when ML-based CE can be useful and when sampling can help.