跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据库

arXiv:2012.06743 (cs)
[提交于 2020年12月12日 (v1),最后修订于 2021年8月10日 (此版本, v4)]

标题:Are We Ready For Learned Cardinality Estimation?

作者:Xiaoying Wang, Changbo Qu, Weiyuan Wu, Jiannan Wang, Qingqing Zhou
查看论文《Are We Ready For Learned Cardinality Estimation?》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Cardinality estimation is a fundamental but long unresolved problem in query optimization. Recently, multiple papers from different research groups consistently report that learned models have the potential to replace existing cardinality estimators. In this paper, we ask a forward-thinking question: Are we ready to deploy these learned cardinality models in production? Our study consists of three main parts. Firstly, we focus on the static environment (i.e., no data updates) and compare five new learned methods with eight traditional methods on four real-world datasets under a unified workload setting. The results show that learned models are indeed more accurate than traditional methods, but they often suffer from high training and inference costs. Secondly, we explore whether these learned models are ready for dynamic environments (i.e., frequent data updates). We find that they cannot catch up with fast data up-dates and return large errors for different reasons. For less frequent updates, they can perform better but there is no clear winner among themselves. Thirdly, we take a deeper look into learned models and explore when they may go wrong. Our results show that the performance of learned methods can be greatly affected by the changes in correlation, skewness, or domain size. More importantly, their behaviors are much harder to interpret and often unpredictable. Based on these findings, we identify two promising research directions (control the cost of learned models and make learned models trustworthy) and suggest a number of research opportunities. We hope that our study can guide researchers and practitioners to work together to eventually push learned cardinality estimators into real database systems.
主题: 数据库 (cs.DB); 机器学习 (cs.LG)
引用方式: arXiv:2012.06743 [cs.DB]
  (或者 arXiv:2012.06743v4 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2012.06743
期刊参考: PVLDB, 14(9): 1640 - 1654, 2021
相关 DOI: https://doi.org/10.14778/3461535.3461552

提交历史

来自:Changbo Qu
[v1] 2020年12月12日 星期六 06:52:11 UTC
[v2] 2020年12月15日 星期二 07:04:05 UTC
[v3] 2021年3月15日 星期一 23:35:27 UTC
[v4] 2021年8月10日 星期二 20:39:03 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DB
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-08
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站