Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets
Date
Msg-id 1071703959.3831.31.camel@fuji.krosing.net
Whole thread Raw
In response to Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets  ("Robert Bedell" <robert@friendlygenius.com>)
Responses Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets  ("Robert Bedell" <robert@friendlygenius.com>)
Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Robert Bedell kirjutas N, 18.12.2003 kell 01:02:

> > > These are not simple projects, I know.
> > 
> > Might be a tad ambitious for your first venture into backend hacking...
> 
> I agree completely.  I'm not purporting to jump in quite that quickly, but
> it is something I would like to see added, and am willing to put the time
> towards.  If you have any suggestions for items in the TODO list that would
> move me more quickly towards my goal I would appreciate it.

I guess that by adding hash aggregates Tom solved most problems of
adding ROLLUP, CUBE and GROUPING SETS.

OTOH, I'm not sure if hash aggregates can already spill to disk if not
enough memory is available for keeping them all. If not, then adding
this capability would be great push towards their general use for
GROUPING SETS.

ALso, a mix of scan-over-sorted-group-by + hash aggregates for
out-of-order extra groups would be great way to using less memory for
hash aggregates.

----------------
Hannu



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets
Next
From: "Robert Bedell"
Date:
Subject: Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets