arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.07895cs.DB
收藏

Grid-AR:一种用于基数估计与范围连接的基于网格的增强学习方法

Grid-AR: A Grid-based Booster for Learned Cardinality Estimation and Range Joins

Damjan Gjurovski, Angjela Davitkova, Sebastian Michel

AI总结:

本研究提出结合网格结构与自回归模型的Grid-AR混合基数估计器,优化连续列表示与范围查询执行,提升训练预测速度、降低内存,还支持高效范围连接基数计算,经基准测试验证性能与资源利用均显著优于现有方法。

摘要:

我们通过将自回归模型与传统网格结构相结合,提出了一种基数估计的改进方法。这种新型混合估计器通过为连续列创建更小的表示形式,以及对含范围谓词的查询采用批量执行而非迭代采样的方式,解决了自回归模型的局限性。该改进显著提升了模型训练和预测的执行时间,降低了内存消耗,且准确率下降极小。我们进一步提出了一种算法,使该估计器能够高效计算范围连接查询的基数估计值。为验证基数估计器的有效性,我们使用三个基准数据集与当前最优的竞品进行了综合评估,结果显示其在执行时间和资源利用率方面均有大幅提升。

英文摘要:

We propose an advancement in cardinality estimation by augmenting autoregressive models with a traditional grid structure. The novel hybrid estimator addresses the limitations of autoregressive models by creating a smaller representation of continuous columns and by incorporating a batch execution for queries with range predicates, as opposed to an iterative sampling approach. The suggested modification markedly improves the execution time of the model for both training and prediction, reduces memory consumption, and does so with minimal decline in accuracy. We further present an algorithm that enables the estimator to calculate cardinality estimates for range join queries efficiently. To validate the effectiveness of our cardinality estimator, we conduct and present a comprehensive evaluation considering state-of-the-art competitors using three benchmark datasets -- demonstrating vast improvements in execution times and resource utilization.

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

↑