Enabling Incremental Query Re-Optimization.

Mengmeng Liu, Zachary G Ives, Boon Thau Loo
{"title":"Enabling Incremental Query Re-Optimization.","authors":"Mengmeng Liu,&nbsp;Zachary G Ives,&nbsp;Boon Thau Loo","doi":"10.1145/2882903.2915212","DOIUrl":null,"url":null,"abstract":"<p><p>As declarative query processing techniques expand to the Web, data streams, network routers, and cloud platforms, there is an increasing need to re-plan execution in the presence of unanticipated performance changes. New runtime information may affect which query plan we prefer to run. Adaptive techniques require innovation both in terms of the <i>algorithms used to estimate costs</i>, and in terms of the <i>search algorithm</i> that finds the best plan. We investigate how to build a cost-based optimizer that recomputes the optimal plan <i>incrementally</i> given new cost information, much as a stream engine constantly updates its outputs given new data. Our implementation especially shows benefits for stream processing workloads. It lays the foundations upon which a variety of novel adaptive optimization algorithms can be built. We start by leveraging the recently proposed approach of formulating query plan enumeration as a set of <i>recursive datalog queries</i>; we develop a variety of novel optimization approaches to ensure effective pruning in both static and incremental cases. We further show that the lessons learned in the declarative implementation can be equally applied to more traditional optimizer implementations.</p>","PeriodicalId":87344,"journal":{"name":"Proceedings. ACM-SIGMOD International Conference on Management of Data","volume":"2016 ","pages":"1705-1720"},"PeriodicalIF":0.0000,"publicationDate":"2016-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1145/2882903.2915212","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. ACM-SIGMOD International Conference on Management of Data","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2882903.2915212","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

As declarative query processing techniques expand to the Web, data streams, network routers, and cloud platforms, there is an increasing need to re-plan execution in the presence of unanticipated performance changes. New runtime information may affect which query plan we prefer to run. Adaptive techniques require innovation both in terms of the algorithms used to estimate costs, and in terms of the search algorithm that finds the best plan. We investigate how to build a cost-based optimizer that recomputes the optimal plan incrementally given new cost information, much as a stream engine constantly updates its outputs given new data. Our implementation especially shows benefits for stream processing workloads. It lays the foundations upon which a variety of novel adaptive optimization algorithms can be built. We start by leveraging the recently proposed approach of formulating query plan enumeration as a set of recursive datalog queries; we develop a variety of novel optimization approaches to ensure effective pruning in both static and incremental cases. We further show that the lessons learned in the declarative implementation can be equally applied to more traditional optimizer implementations.

Abstract Image

Abstract Image

Abstract Image

启用增量查询重新优化。
随着声明性查询处理技术扩展到Web、数据流、网络路由器和云平台,在出现未预料到的性能变化时,重新规划执行的需求越来越大。新的运行时信息可能会影响我们希望运行的查询计划。自适应技术需要在估算成本的算法和寻找最佳计划的搜索算法方面进行创新。我们研究了如何构建一个基于成本的优化器,该优化器在给定新的成本信息的情况下增量地重新计算最优计划,就像流引擎在给定新数据的情况下不断更新其输出一样。我们的实现特别显示了流处理工作负载的好处。它为各种新的自适应优化算法的建立奠定了基础。我们首先利用最近提出的将查询计划枚举表述为一组递归数据查询的方法;我们开发了各种新颖的优化方法,以确保在静态和增量情况下有效修剪。我们进一步说明,从声明性实现中吸取的经验教训同样可以应用于更传统的优化器实现。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信