Re: Large table update/vacuum PLEASE HELP! - Mailing list pgsql-general

From Dmitry Tkach
Subject Re: Large table update/vacuum PLEASE HELP!
Date
Msg-id 3CBCBB63.8080706@openratings.com
Whole thread Raw
In response to Re: Large table update/vacuum PLEASE HELP!  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
List pgsql-general
Tom Jenkins wrote:

>
>Just to be sure we all understand, you ran
>  vacuum analyze;
>
>you didn't just run vacuum or vacuum full
>
>the analyze part is important; it creates statistics for the query
>planner
>
Well... NO. I just did vacuum, not analyze (I was hoping to save the
'analyze ' part till after I create the indexes).

I don't think that statistics matters for this particular query plan,
which is nothing but 'seq scan on a'...
And it does come up with the correct plan (as if it had much choice
anyway :-), despite missing statistics...

I'll try to do 'analyze' (after my vacuum full finishes sometime
tomorrow) though, but doubt it will make any difference (unless, I am
missing something important in my inderstanding of the meaning of 'analyze')

Thanks!

Dima





pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Large table update/vacuum PLEASE HELP!
Next
From: Dmitry Tkach
Date:
Subject: Re: Large table update/vacuum PLEASE HELP!