Re: pg_restore followed by immediate VACUUM ANALYZE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore followed by immediate VACUUM ANALYZE
Дата
Msg-id 19403.1259640269@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_restore followed by immediate VACUUM ANALYZE  (Bryce Nesbitt <bryce2@obviously.com>)
Список pgsql-sql
Bryce Nesbitt <bryce2@obviously.com> writes:
>> Correct.  Autovacuum might fix them eventually, but usually it's
>> worth forcing the issue once you've completed your data loading.
>> (This might involve multiple steps, which is why pg_restore
>> doesn't try to force it for you.)</pre>

> Hmm.  It seems like pg_restore would already know 90% of what it needs
> to in this case.<br>

But of course pg_restore doesn't know what else you might want to do.

> Of course I'm just trying to cut down on the 4+ hour VACUUM ANALYZE. 

You could try just ANALYZE without the VACUUM.
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Bryce Nesbitt
Дата:
Сообщение: Re: pg_restore followed by immediate VACUUM ANALYZE
Следующее
От: Gerardo Herzig
Дата:
Сообщение: create user xxx with md5 string?