Re: pg_dump after transaction id wraparound failure

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: pg_dump after transaction id wraparound failure
Дата
Msg-id 20060515190155.GB23811@svana.org
обсуждение исходный текст
Ответ на Re: pg_dump after transaction id wraparound failure  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On Mon, May 15, 2006 at 08:48:54PM +0200, Martijn van Oosterhout wrote:
> Vacuum will make anything that disappeared by wraparound in the last
> billion transactions reappear, so a databasewide vacuum should solve
> all your problems, no need to dump...

Also, for future reference. If you have a lot of read-only tables (and
judging by the names of your tables it looks like you might), then
running VACUUM FREEZE on a table will put it in a state where you never
have to vacuum it again (until you do an insert/update).

Put another way, anything in a table at the point you run a VACUUM
FREZE over it is protected from wraparound. Over time all tables will
convert to this state, just an explicit freeze makes it quicker, for a
1.4TB data this might be important.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: pg_dump after transaction id wraparound failure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump after transaction id wraparound failure