Re: Index oddity - Mailing list pgsql-performance

From Mark Kirkwood
Subject Re: Index oddity
Date
Msg-id 40C7D0C1.5040504@coretech.co.nz
Whole thread Raw
In response to Re: Index oddity  (Rod Taylor <pg@rbt.ca>)
Responses Re: Index oddity  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-performance

Rod Taylor wrote:

>
>The big problem is a very poor estimate (off by a couple orders of
>magnitude). I was hoping someone with more knowledge in fixing those
>would jump in.
>
>
>
>
ANALYZE might be producing poor stats due to :

i) many dead tuples or
ii) high proportion of dead tuples in the first few pages of the table

Does a VACUUM FULL followed by ANALYZE change the estimates (or have you
tried this already)?

(p.s. - I probably don't qualify for the 'more knowledge' bit either...)

regards

Mark

pgsql-performance by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Index oddity
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Index oddity