Re: pg_restore followed by immediate VACUUM ANALYZE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore followed by immediate VACUUM ANALYZE
Дата
Msg-id 19189.1259639712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_restore followed by immediate VACUUM ANALYZE  (Bryce Nesbitt <bryce2@obviously.com>)
Ответы Re: pg_restore followed by immediate VACUUM ANALYZE  (Bryce Nesbitt <bryce2@obviously.com>)
Список pgsql-sql
Bryce Nesbitt <bryce2@obviously.com> writes:
> I looking at a script that does a pg_restore followed by an immediate 
> VACUUM ANALYZE (postgres 8.3).

That's standard.

> Does pg_restore not update the query planner statistics?

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.)
        regards, tom lane


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

Предыдущее
От: Bryce Nesbitt
Дата:
Сообщение: pg_restore followed by immediate VACUUM ANALYZE
Следующее
От: Bryce Nesbitt
Дата:
Сообщение: Re: pg_restore followed by immediate VACUUM ANALYZE