Re: Large table update/vacuum PLEASE HELP!

From: Dmitry Tkach <dmitry(at)openratings(dot)com>
To: Tom Jenkins <tjenkins(at)devis(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Large table update/vacuum PLEASE HELP!
Date: 2002-04-17 00:01:39
Message-ID: 3CBCBB63.8080706@openratings.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Tkach 2002-04-17 00:11:21 Re: Large table update/vacuum PLEASE HELP!
Previous Message Tom Lane 2002-04-16 23:38:08 Re: Large table update/vacuum PLEASE HELP!