Re: Group-count estimation statistics

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Manfred Koizar <mkoi-pg(at)aon(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Group-count estimation statistics
Date: 2005-01-31 19:40:08
Message-ID: 22119.1107200408@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Manfred Koizar <mkoi-pg(at)aon(dot)at> writes:
> That's not what I meant. I tried to say that if we have a GROUP BY
> several columns and one of these columns alone has more than N/10
> distinct values, there's no way to get less than that many groups.

Oh, I see, you want a "max" calculation in there too. Seems reasonable.
Any objections?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2005-01-31 19:45:39 Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command
Previous Message Tom Lane 2005-01-31 19:36:33 Re: [BUGS] Bug in create operator and/or initdb