Re: Group-count estimation statistics - Mailing list pgsql-hackers

From Manfred Koizar
Subject Re: Group-count estimation statistics
Date
Msg-id 0n1tv0p0ufe7f75hgsnj3l5l2dblarim45@email.aon.at
Whole thread Raw
In response to Re: Group-count estimation statistics  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Group-count estimation statistics  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, 31 Jan 2005 11:20:31 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Already done that way.
>            if (relvarcount > 1)
>                clamp *= 0.1;

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.

ServusManfred


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command
Next
From: Greg Stark
Date:
Subject: Re: [BUGS] Bug in create operator and/or initdb