首页> 外国专利> Dynamic selection of optimal grouping sequence at runtime for grouping sets, rollup and cube operations in SQL query processing

Dynamic selection of optimal grouping sequence at runtime for grouping sets, rollup and cube operations in SQL query processing

机译:在运行时动态选择最佳分组顺序,以进行SQL查询处理中的分组集,汇总和多维数据集操作

摘要

A method, apparatus, and article of manufacture for optimizing a query in a computer system. Grouping operations are optimized during execution of the query in the computer system by: (1) translating the grouping operations into a plurality of levels, wherein each of the levels is comprised of one or more grouping sets with the same number of grouping expressions; (2) deriving the grouping sets on a level-by-level basis, wherein the grouping sets in a base level are obtained from the database and the grouping sets in a next one of the levels are derived by selecting as an input a smallest one of the grouping sets in a previous one of the levels with which it has a derivation relationship; and (3) combining the derived grouping sets into an output for the query.
机译:一种用于优化计算机系统中的查询的方法,装置和制品。在计算机系统中查询的执行过程中,通过以下方式优化分组操作:(1)将分组操作转换为多个级别,其中每个级别都由一个或多个具有相同数量的分组表达式的分组集组成; (2)逐级推导分组集,其中,从数据库中获得基本级的分组集,并且通过选择最小的一组作为输入来推导下一级的分组集。与其具有派生关系的上一个级别中的分组集中的一个; (3)将派生的分组集组合到查询的输出中。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号