Re: pg_archivecleanup not deleting anything?

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: pg_archivecleanup not deleting anything?
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B50FCDE9D@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: pg_archivecleanup not deleting anything?  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: pg_archivecleanup not deleting anything?  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
Michael Paquier wrote:
>> So, as Albe posted pg_archivecleanup is only cleaning up the WAL files, not
>> the auxiliary files. The WAL files would be the ones with no extension and a
>> size of 16 MB(unless someone changed the compile settings).
> 
> The docs mention that "all WAL files" preceding a given point are
> removed, personally I understand that as "all 16MB-size segments shall
> die", hence excluding backup and history files from the stack. But one
> may understand that "WAL files" means everything in pg_xlog, so as
> something that includes backup and history files. Perhaps we would
> gain in clarity by saying "WAL file segments, including .partial
> segments" in the docs, and not just "WAL files". Thoughts?

It might help to add:
"Timeline history files and backup history files are not deleted."

Yours,
Laurenz Albe

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pg_archivecleanup not deleting anything?
Следующее
От: Sami Pietilä
Дата:
Сообщение: Re: How to search a string inside a json structure