From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Atri Sharma <atri(dot)jiit(at)gmail(dot)com> |
Subject: | Re: WIP Patch for GROUPING SETS phase 1 |
Date: | 2014-09-09 15:19:16 |
Message-ID: | CAFj8pRA+uLOQtdko5odT57g1nL-Og_KtY_h2m45sjKKfmd9M0A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2014-09-09 16:01 GMT+02:00 Robert Haas <robertmhaas(at)gmail(dot)com>:
> On Thu, Aug 21, 2014 at 11:01 AM, Andrew Gierth
> <andrew(at)tao11(dot)riddles(dot)org(dot)uk> wrote:
> >>>>>> "Heikki" == Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> writes:
> > Heikki> Uh, that's ugly. The EXPLAIN out I mean; as an implementation
> > Heikki> detail chaining the nodes might be reasonable. But the above
> > Heikki> gets unreadable if you have more than a few grouping sets.
> >
> > It's good for highlighting performance issues in EXPLAIN, too.
>
> Perhaps so, but that doesn't take away from Heikki's point: it's still
> ugly. I don't understand why the sorts can't all be nested under the
> GroupAggregate nodes. We have a number of nodes already (e.g. Append)
> that support an arbitrary number of children, and I don't see why we
> can't do the same thing here.
>
I don't think so showing sort and aggregation is bad idea. Both can have a
different performance impacts
>
> --
> Robert Haas
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2014-09-09 15:25:07 | Re: WIP Patch for GROUPING SETS phase 1 |
Previous Message | Fabien COELHO | 2014-09-09 15:07:27 | Re: add modulo (%) operator to pgbench |