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

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 hardwareG06F 16/24537G06F 16/24542Y10S 707/99933Y10S 707/99934Y10S 707/99935

AI classification

AI hardware0.97
Planning0.33
Knowledge representation0.05
Natural language0.05
Evolutionary computation0.01
Machine learning0.01
Speech0.00
Vision0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 110220512

Assignors

LEUNG, TING YU, WANG, HAIXUN

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC