arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1902.00132cs.DB
收藏

用于查询性能预测的平面结构深度神经网络模型

Plan-Structured Deep Neural Network Models for Query Performance Prediction

Ryan Marcus, Olga Papaemmanouil

摘要:

查询性能预测是数据库管理系统中最具挑战性的问题之一。现有的方法依赖于人类专家设计的功能和性能模型,但往往无法捕捉查询运算符和输入关系之间的复杂交互,并且通常不能自然地适应查询执行计划中的工作负载特性和模式。在本文中,我们认为深度学习可以应用于查询性能预测问题,我们介绍了一种新的神经网络架构的任务:计划结构的神经网络。我们的方法消除了人工制作的特征选择的需要,并自动发现复杂的性能模型,在运营商和查询计划的水平。我们新型的神经网络架构可以匹配任何优化器选择的查询执行计划的结构,并高准确度地预测其延迟。我们还提出了一些优化,在不牺牲有效性的情况下减少训练开销。我们评估了我们的技术在各种工作负载,我们证明了我们的计划结构的神经网络可以超越国家的最先进的查询性能预测。

英文摘要:

Query performance prediction, the task of predicting the latency of a query, is one of the most challenging problem in database management systems. Existing approaches rely on features and performance models engineered by human experts, but often fail to capture the complex interactions between query operators and input relations, and generally do not adapt naturally to workload characteristics and patterns in query execution plans. In this paper, we argue that deep learning can be applied to the query performance prediction problem, and we introduce a novel neural network architecture for the task: a plan-structured neural network. Our approach eliminates the need for human-crafted feature selection and automatically discovers complex performance models both at the operator and query plan level. Our novel neural network architecture can match the structure of any optimizer-selected query execution plan and predict its latency with high accuracy. We also propose a number of optimizations that reduce training overhead without sacrificing effectiveness. We evaluated our techniques on various workloads and we demonstrate that our plan-structured neural network can outperform the state-of-the-art in query performance prediction.

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

↑