Re: pg_archivecleanup - Increase time files are deleted

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_archivecleanup - Increase time files are deleted
Дата
Msg-id CAB7nPqR-XvyPDFwCV1bCm+J0_-cvmCsgkQS4uYPEymfEim_5kA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_archivecleanup - Increase time files are deleted  (Melvin Davidson <melvin6925@gmail.com>)
Список pgsql-general
On Mon, Jun 27, 2016 at 6:42 AM, Melvin Davidson <melvin6925@gmail.com> wrote:
> >That means there will be at least 256 files before postgres delete them?
>
> Yes!

Not exactly. To be more precise, for an instance generating WAL, the
decision regarding the number of WAL segments to remove or recycled is
done at the creation of a checkpoint, for a standby that's when a
restart point is created. See where KeepLogSeg() in xlog.c.
--
Michael


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

Предыдущее
От: 유성열
Дата:
Сообщение: reject
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: reject