Re: Bad n_distinct estimation; hacks suggested? - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Bad n_distinct estimation; hacks suggested?
Date
Msg-id 200504221152.51736.josh@agliodbs.com
Whole thread Raw
In response to Re: Bad n_distinct estimation; hacks suggested?  (Marko Ristola <marko.ristola@kolumbus.fi>)
Responses Re: Bad n_distinct estimation; hacks suggested?
List pgsql-performance
Marko,

> Sometimes, if the random number generator, that PostgreSQL uses,
> isn't good enough, the randomly selected pages for the statistics
> might not be random enough.
>
> Solaris is unknown to me. Maybe the used random number generator there
> isn't good enough?

Hmmm.  Good point.  Will have to test on Linux.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Marko Ristola
Date:
Subject: Re: Bad n_distinct estimation; hacks suggested?
Next
From: Josh Berkus
Date:
Subject: Re: Bad n_distinct estimation; hacks suggested?