Performing Hierarchical Aggregate Compression

Methods, systems, and computer program products are provided for executing database rollup queries. Methods can include iterating through a database table which has been grouped and ordered on the different columns which are in the ROLLUP clause. In some embodiments, a GROUP BY ROLLUP construct can...

Full description

Saved in:
Bibliographic Details
Main Authors BESTGEN ROBERT JOSEPH, KETHIREDDY SHANTAN, CARLSON DAVID GLENN, DOWNER ROBERT VICTOR
Format Patent
LanguageEnglish
Published 04.06.2009
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Methods, systems, and computer program products are provided for executing database rollup queries. Methods can include iterating through a database table which has been grouped and ordered on the different columns which are in the ROLLUP clause. In some embodiments, a GROUP BY ROLLUP construct can be executed while only requiring an additional one storage location per ordered column per each aggregate function to be performed on each database row. The higher level aggregate functions can be executed without relying on accessing any lower level aggregate results in some embodiments. A suitably grouped and ordered database table can have a multiple level hierarchical ROLLUP function executed in a single pass without having to retrieve lower level aggregate results.
Bibliography:Application Number: US20070946945