Re: Very poor estimates from planner

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Scott Marlowe <scott(dot)marlowe(at)ihs(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Very poor estimates from planner
Date: 2003-11-06 00:02:21
Message-ID: 1068076940.53233.11.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2003-11-05 at 18:57, Tom Lane wrote:
> Rod Taylor <rbt(at)rbt(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-11-06 00:18:50 Re: Very poor estimates from planner
Previous Message Tom Lane 2003-11-05 23:57:04 Re: Very poor estimates from planner