Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group