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

不确定性感知的查询执行时间预测

Uncertainty Aware Query Execution Time Prediction

Wentao Wu, Xi Wu, Hakan Hacıgümüş, Jeffrey F. Naughton

摘要:

预测查询执行时间是许多数据库管理任务的基础问题。现有的预测器依赖于诸如基数估计和系统性能常数之类的信息,这些信息很难准确地知道。因此,准确的预测仍然是难以捉摸的许多查询。然而,现有的预测器提供了一个单一的,点估计的真实执行时间,但无法表征的不确定性的预测。在本文中,我们采取的第一步,随着查询执行时间预测提供不确定性信息。我们使用查询优化器的成本模型来表示查询执行时间作为查询计划中的操作符的选择性的函数,以及描述系统中的CPU和I/O操作的成本的常数。通过将这些量视为随机变量而不是常数,我们表明,以较低的开销,我们可以推断出可能的预测误差的分布。我们进一步表明,我们提出的技术估计的预测误差与实际的预测误差密切相关。

英文摘要:

Predicting query execution time is a fundamental issue underlying many database management tasks. Existing predictors rely on information such as cardinality estimates and system performance constants that are difficult to know exactly. As a result, accurate prediction still remains elusive for many queries. However, existing predictors provide a single, point estimate of the true execution time, but fail to characterize the uncertainty in the prediction. In this paper, we take a first step towards providing uncertainty information along with query execution time predictions. We use the query optimizer's cost model to represent the query execution time as a function of the selectivities of operators in the query plan as well as the constants that describe the cost of CPU and I/O operations in the system. By treating these quantities as random variables rather than constants, we show that with low overhead we can infer the distribution of likely prediction errors. We further show that the estimated prediction errors by our proposed techniques are strongly correlated with the actual prediction errors.

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

↑