Re: questions about wraparound

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: questions about wraparound
Дата
Msg-id cc34a3095495373f23237c9ab377a9101743bc0f.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: questions about wraparound  (Luca Ferrari <fluca1978@gmail.com>)
Ответы Re: questions about wraparound
Список pgsql-general
On Mon, 2021-03-29 at 10:33 +0200, Luca Ferrari wrote:
> Another thing that comes into my mind as a doubt is: why are all
> databases becoming old? I mean, I'm provoking activity _only_ on
> testdb, therefore other database such as template1 are not doing
> anything.

That one I can answer.

If there is no activity on a database, its "datfrozenxid" stays
the same.  So, as transaction IDs are consumed, it is getting older
automatically.  That means that even inactive databases will receive
an anti-wraparound vacuum occasionally.  But that should not have
to do anything except advance "datfrozenxid".

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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

Предыдущее
От: Luca Ferrari
Дата:
Сообщение: Re: questions about wraparound
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: questions about wraparound