QUERY TRANSFORMATION AND SIMPLIFICATION FOR GROUP BY QUERIES WITH ROLLUP/GROUPING SETS IN RELATIONAL DATABASE MANAGEMENT SYSTEMS
Patent №
US 6,574,623
Granted
2003-06-03
Filed 2000
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
09639021
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.
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 110220512
Assignors
LEUNG, TING YU, WANG, HAIXUN
On an employer assignment, the assignors are typically the inventors.