Re: Patch for pg_upgrade to turn off autovacuum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch for pg_upgrade to turn off autovacuum
Дата
Msg-id 10676.1303507374@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patch for pg_upgrade to turn off autovacuum  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Patch for pg_upgrade to turn off autovacuum  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> I thought some more about this and I don't want autovacuum to run on the
> old server.  This is because pg_dumpall --binary-upgrade --schema-only
> grabs the datfrozenxid for all the databases at the start, then connects
> to each database to gets the relfrozenxids.  I don't want to risk any
> advancement of either of those during the pg_dumpall run.

Why?  It doesn't really matter --- if you grab a value that is older
than the latest, it's still valid.  As Robert said, you're
over-engineering this, and thereby introducing potential failure modes,
for no gain.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch for pg_upgrade to turn off autovacuum
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch for pg_upgrade to turn off autovacuum