首页> 外文会议>20th VLDB conference >Including Group-By in Query Optimization
【24h】

Including Group-By in Query Optimization

机译:在查询优化中包括“按组”

获取原文
获取原文并翻译 | 示例

摘要

In existing relational database systems, processing of group-by and computation of aggregate functions are always postponed until all joins are performed. In this paper, we present transformations that make it possible to push group-by operation past one or more joins and can potentially reduce the cost of processing a query significantly. Therefore, the placement of group-by should be decided based on cost estimation. We explain how the traditional System-R style optimizers can be modified by incorporating the greedy conservative heuristic that we developed. We prove that applications of greedy conservative heuristic produce plans that are better (or no worse) than the plans generated by a traditional optimizer. Our experimental study shows that the extent of improvement in the quality of plans is significant with only a modest increase in optimization cost. Our technique also applies to optimization of Select Distinct queries by pushing down duplicate elimination in a cost-based fashion.
机译:在现有的关系数据库系统中,分组依据的处理和聚合函数的计算总是被推迟到执行所有联接为止。在本文中,我们提出了一些转换,使按组操作可以通过一个或多个联接,并有可能显着降低处理查询的成本。因此,应根据成本估算来确定分组依据的位置。我们解释了如何通过合并我们开发的贪婪的保守启发法来修改传统的System-R样式优化器。我们证明贪婪的保守启发式方法的应用程序比传统优化器生成的计划更好(或不更糟)。我们的实验研究表明,计划质量的改善程​​度非常重要,而优化成本只会适度增加。我们的技术还可以通过基于成本的方式减少重复消除来优化Select Distinct查询。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号