首页> 外国专利> Method and system for efficiently performing database table aggregation using an aggregation index

Method and system for efficiently performing database table aggregation using an aggregation index

机译:使用聚集索引有效执行数据库表聚集的方法和系统

摘要

A method and system for efficiently performing database table aggregation is provided. In a preferred embodiment, an aggregation facility efficiently aggregates a source table using indices on an aggregated column of the source table and a grouping column of the source table. The facility uses the index on the aggregated column to identify the contents of the aggregated column in each row of the source table. The facility further uses information derived from the index on the grouping column to identify the contents of the grouping column in each row of the source table. For each row of the source table, the facility aggregates the identified aggregated column contents into a result value for the identified grouping column contents. In a further preferred embodiment, the facility generates a relation mapping from source table row to grouping column, which the facility uses to identify the contents of the grouping column in each row of the source table. In a further preferred embodiment, the facility may be used to perform multiple-level aggregations, as well as aggregations in which there are multiple grouping columns, multiple aggregated columns, and/or multiple result columns.
机译:提供了一种用于有效地执行数据库表聚合的方法和系统。在优选实施例中,聚集工具使用源表的聚集列和源表的分组列上的索引来有效地聚集源表。该工具使用聚合列上的索引来标识源表每一行中聚合列的内容。该工具还使用从分组列上的索引派生的信息来标识源表每一行中分组列的内容。对于源表的每一行,该工具将标识的聚合列内容聚合为标识的分组列内容的结果值。在另一个优选实施例中,设施生成从源表行到分组列的关系映射,设施使用该关系映射来识别源表的每一行中分组列的内容。在另一个优选实施例中,该工具可以用于执行多级聚合,以及其中存在多个分组列,多个聚合列和/或多个结果列的聚合。

著录项

  • 公开/公告号US5781896A

    专利类型

  • 公开/公告日1998-07-14

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US19960636235

  • 发明设计人 KETAN DALAL;

    申请日1996-04-23

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-22 02:39:04

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号