首页> 外文会议>International conference on model and data engineering >Cloud Query Processing with Reinforcement Learning-Based Multi-objective Re-optimization
【24h】

Cloud Query Processing with Reinforcement Learning-Based Multi-objective Re-optimization

机译:云查询处理加固基于学习的多目标重新优化

获取原文

摘要

Query processing on cloud database systems is a challenging problem due to the dynamic cloud environment. The configuration and utilization of the distributed hardware used to process queries change continuously. A query optimizer aims to generate query execution plans (QEPs) that are optimal meet user requirements. In order to achieve such QEPs under dynamic environments, performing query re-optimizations during query execution has been proposed in the literature. In cloud database systems, besides query execution time, users also consider the monetary cost to be paid to the cloud provider for executing queries. Thus, such query re-optimizations are multi-objective optimizations which take both time and monetary costs into consideration. However, traditional re-optimization requires accurate cost estimations, and obtaining these estimations adds overhead to the system, and thus causes negative impacts on query performance. To fill this gap, in this paper, we introduce ReOptRL, a novel query processing algorithm based on deep reinforcement learning. It bootstraps a QEP generated by an existing query optimizer and dynamically changes the QEP during the query execution. It also keeps learning from incoming queries to build a more accurate optimization model. In this algorithm, the QEP of a query is adjusted based on the recent performance of the same query so that the algorithm does not rely on cost estimations. Our experiments show that the proposed algorithm performs better than existing query optimization algorithms in terms of query execution time and query execution monetary costs.
机译:由于动态云环境,云数据库系统上的查询处理是一个具有挑战性的问题。用于处理查询的分布式硬件的配置和利用连续更改。查询优化器旨在生成最佳符合用户需求的查询执行计划(QEP)。为了在动态环境下实现这样的QEPS,在文献中提出了在查询执行期间执行查询重新优化。在云数据库系统中,除查询执行时间外,用户还将货币成本考虑到云提供商以执行查询。因此,这种查询重新优化是考虑时间和货币成本的多目标优化。然而,传统的重新优化需要准确的成本估计,并且获得这些估计增加了对系统的开销,从而导致对查询性能产生负面影响。为了填补这个差距,在本文中,我们介绍了一种基于深度加强学习的新型查询处理算法的Reoptrl。它引导由现有查询优化器生成的QEP,并在查询执行期间动态地改变QEP。它还不断从传入查询中学习以构建更准确的优化模型。在该算法中,基于最近的相同查询的性能来调整查询的QEP,以便该算法不依赖于成本估计。我们的实验表明,在查询执行时间和查询执行货币成本方面,所提出的算法比现有的查询优化算法更好。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号