Re: Large table update/vacuum PLEASE HELP!

Поиск
Список
Период
Сортировка
От Dmitry Tkach
Тема Re: Large table update/vacuum PLEASE HELP!
Дата
Msg-id 3CBCBB63.8080706@openratings.com
обсуждение исходный текст
Ответ на Re: Large table update/vacuum PLEASE HELP!  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Large table update/vacuum PLEASE HELP!
Следующее
От: Dmitry Tkach
Дата:
Сообщение: Re: Large table update/vacuum PLEASE HELP!