Execution and optimization of continuous windowed aggregation queries

Harold Lim, S. Babu
{"title":"Execution and optimization of continuous windowed aggregation queries","authors":"Harold Lim, S. Babu","doi":"10.1109/ICDEW.2014.6818345","DOIUrl":null,"url":null,"abstract":"The desire of companies to analyze web-site activity data quickly in order to show personalized content and advertisements to users has led to renewed interest in continuous query processing. One important query class here is windowed aggregation which does time-based windowing followed by grouping and aggregation over a data stream. An example query may aggregate each user's activity over a recent one hour window, and update the result every five minutes. In this paper, we characterize the rich execution plan space for windowed aggregation queries. No such attempt has been made previously to the best of our knowledge. Our second contribution is in developing a cost-based optimizer to pick a good plan from this space for a given query. Finally, we show the effectiveness of the cost-based optimizer.","PeriodicalId":302600,"journal":{"name":"2014 IEEE 30th International Conference on Data Engineering Workshops","volume":"20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-05-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 IEEE 30th International Conference on Data Engineering Workshops","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICDEW.2014.6818345","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The desire of companies to analyze web-site activity data quickly in order to show personalized content and advertisements to users has led to renewed interest in continuous query processing. One important query class here is windowed aggregation which does time-based windowing followed by grouping and aggregation over a data stream. An example query may aggregate each user's activity over a recent one hour window, and update the result every five minutes. In this paper, we characterize the rich execution plan space for windowed aggregation queries. No such attempt has been made previously to the best of our knowledge. Our second contribution is in developing a cost-based optimizer to pick a good plan from this space for a given query. Finally, we show the effectiveness of the cost-based optimizer.
连续窗口聚合查询的执行和优化
公司希望快速分析网站活动数据,以便向用户展示个性化的内容和广告,这导致了对连续查询处理的新兴趣。这里一个重要的查询类是窗口聚合,它对数据流进行基于时间的窗口处理,然后对数据流进行分组和聚合。一个示例查询可能会汇总每个用户在最近一个小时窗口内的活动,并每五分钟更新一次结果。在本文中,我们描述了窗口聚合查询的富执行计划空间。据我们所知,以前还没有这样的尝试。我们的第二个贡献是开发一个基于成本的优化器,以便从这个空间中为给定的查询选择一个好的计划。最后,我们展示了基于成本的优化器的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信