Re: Optimizer showing wrong rows in plan

From: Jeremy Harris <jgh(at)wizmail(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Optimizer showing wrong rows in plan
Date: 2010-03-28 17:08:45
Message-ID: 4BAF8D1D.2050109@wizmail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 03/28/2010 05:27 PM, Tom Lane wrote:
> This is intentional: the size estimates for a never-yet-analyzed
> table are *not* zero. This is because people frequently create and load
> up a table and then immediately query it without an explicit ANALYZE.

Does the creation of an index also populate statistics?

Thanks,
Jeremy

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2010-03-28 17:37:34 Re: Optimizer showing wrong rows in plan
Previous Message Tom Lane 2010-03-28 16:27:41 Re: Optimizer showing wrong rows in plan