Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Robert Bedell <robert(at)friendlygenius(dot)com>
Cc: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets
Date: 2003-12-17 23:32:40
Message-ID: 1071703959.3831.31.camel@fuji.krosing.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Bedell 2003-12-17 23:55:59 Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets
Previous Message Hannu Krosing 2003-12-17 23:24:40 Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets