arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.08223cs.DB
收藏

用深度草图估计基数

Estimating Cardinalities with Deep Sketches

Andreas Kipf, Dimitri Vorona, Jonas Müller, Thomas Kipf, Bernhard Radke, Viktor Leis, Peter Boncz, Thomas Neumann, Alfons Kemper

摘要:

我们介绍了Deep Sketches,它是数据库的紧凑模型,允许我们估计SQL查询的结果大小。Deep Sketches由一种新的深度学习方法来估计基数,可以捕获列之间的相关性,甚至跨表。我们的演示允许用户在TPC-H和IMDb数据集上定义这样的草图,监控训练过程,并对训练过的草图运行临时查询。我们还使用HyperPer和PostgreSQL估计查询基数,以可视化传统基数估计器的收益。

英文摘要:

We introduce Deep Sketches, which are compact models of databases that allow us to estimate the result sizes of SQL queries. Deep Sketches are powered by a new deep learning approach to cardinality estimation that can capture correlations between columns, even across tables. Our demonstration allows users to define such sketches on the TPC-H and IMDb datasets, monitor the training process, and run ad-hoc queries against trained sketches. We also estimate query cardinalities with HyPer and PostgreSQL to visualize the gains over traditional cardinality estimators.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑