学习基数:使用深度学习估计相关连接
Learned Cardinalities: Estimating Correlated Joins with Deep Learning
摘要:
我们描述了一种新的深度学习方法来估计基数。MSCN是一个多集合卷积网络,专门用于表示关系查询计划,它采用集合语义来捕获查询特征和真实基数。MSCN建立在基于采样的估计的基础上,解决了它在没有采样元组限定谓词时的弱点,以及捕获连接交叉相关性。我们使用真实数据集对MSCN进行的评估表明,深度学习显著提高了基数估计的质量,这是查询优化的核心问题。
英文摘要:
We describe a new deep learning approach to cardinality estimation. MSCN is a multi-set convolutional network, tailored to representing relational query plans, that employs set semantics to capture query features and true cardinalities. MSCN builds on sampling-based estimation, addressing its weaknesses when no sampled tuples qualify a predicate, and in capturing join-crossing correlations. Our evaluation of MSCN using a real-world dataset shows that deep learning significantly enhances the quality of cardinality estimation, which is the core problem in query optimization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。