Re: Very poor estimates from planner - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: Very poor estimates from planner
Date
Msg-id 1068076940.53233.11.camel@jester
Whole thread Raw
In response to Re: Very poor estimates from planner  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, 2003-11-05 at 18:57, Tom Lane wrote:
> Rod Taylor <rbt@rbt.ca> writes:
> >> I'm not sure if that will actually change the default_statistics_target
>
> > Hmm.. I was under the impression that it would work for any tables that
> > haven't otherwise been overridden.
>
> It will.  I think Scott is recalling the original circa-7.2
> implementation, where it wouldn't.  If you're unsure that you
> affected it, check out the actual sizes of the array values in pg_stats.

The plan does change when I remove it and re-analyze it.

Either way, it's off by a factor of a 10^5 or so.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Very poor estimates from planner
Next
From: Tom Lane
Date:
Subject: Re: Very poor estimates from planner