发明授权
US5832475A Database system and method employing data cube operator for group-by
operations
失效
数据库系统和采用数据多维数据集算子进行分组操作的方法
- 专利标题: Database system and method employing data cube operator for group-by operations
- 专利标题(中): 数据库系统和采用数据多维数据集算子进行分组操作的方法
-
申请号: US624283申请日: 1996-03-29
-
公开(公告)号: US5832475A公开(公告)日: 1998-11-03
- 发明人: Rakesh Agrawal , Ashish Gupta , Sunita Sarawagi
- 申请人: Rakesh Agrawal , Ashish Gupta , Sunita Sarawagi
- 申请人地址: NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: NY Armonk
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
Disclosed is a system and method for performing database queries including GROUP-BY operations, in which aggregate values for attributes are desired for distinct, partitioned subsets of tuples satisfying a query. A special case of the aggregation problem is addressed, employing a structure, called the data cube operator, which provides information useful for expediting execution of GROUP-BY operations in queries. Algorithms are provided for constructing the data cube by efficiently computing a collection of GROUP-BYs on the attributes of the relation. Decision support systems often require computation of multiple GROUP-BY operations on a given set of attributes, the GROUP-BYs being related in the sense that their attributes are subsets or supersets of each other. The invention extends hash-based and sort-based grouping methods with optimizations, including combining common operations across multiple GROUP-BYs and using pre-computed GROUP-BYs for computing other GROUP-BYs. An extension of the cube algorithms handles any given collection of aggregates.
公开/授权文献
信息查询