Re: [HACKERS] WAL archiving idle database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] WAL archiving idle database
Дата
Msg-id 1335.1193441079@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] WAL archiving idle database  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-general
Jeff Davis <pgsql@j-davis.com> writes:
> Keep in mind that even in the current system, your configuration is
> variable based on the checkpoint_timeout setting.

Yeah, and he has to keep this less than archive_timeout in order for
it to work the way he wants, which is probably not good for performance.
(Sane settings of checkpoint_timeout are probably higher, not lower,
than what people are likely to use for archive_timeout.)

I think my recommendation to Kevin would be to force some trivial
transaction to occur a little before each expected archive_timeout,
so that there will be something to be archived.  This would have the
additional advantage that the monitor is checking that the database is
actually responding to queries, whereas just noting that it's spitting
out WAL files doesn't really prove that --- especially not if mere
no-op checkpoints can cause WAL files to be emitted.

            regards, tom lane

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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: [HACKERS] WAL archiving idle database
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: [HACKERS] WAL archiving idle database