发明名称 Query transformation and simplification for group by queries with rollup/grouping sets in relational database management systems
摘要 A method, apparatus, and article of manufacture for optimizing database queries, wherein the query is analyzed to determine whether the query includes at least one GROUP BY operation that computes at least one of the following: (1) a ROLLUP and (2) a GROUPING SET, and when it does, the query is rewritten to optimize one or more predicates that are applied after the GROUP BY operation. The query is also analyzed to determine whether the query includes at least one GROUP BY operation that computes two or more stacked GROUP BY operations, and when it does, the query is rewritten to collapse the stacked GROUP BY operations into a single GROUP BY operation.
申请公布号 US6574623(B1) 申请公布日期 2003.06.03
申请号 US20000639021 申请日期 2000.08.15
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 LEUNG TING YU;WANG HAIXUN
分类号 G06F17/30;(IPC1-7):G06F17/30;G06F7/00 主分类号 G06F17/30
代理机构 代理人
主权项
地址