Re: WAL rotation question version 8.3.0

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: WAL rotation question version 8.3.0
Дата
в 18:14:05
Msg-id
20080515211353.GO8221@alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
WAL rotation question version 8.3.0 Evan Rempel <erempel@uvic.ca>
Re: WAL rotation question version 8.3.0 Alvaro Herrera <alvherre@commandprompt.com>
Re: WAL rotation question version 8.3.0 Evan Rempel <erempel@uvic.ca>
Re: WAL rotation question version 8.3.0 Alvaro Herrera <alvherre@commandprompt.com>
Re: WAL rotation question version 8.3.0 Evan Rempel <erempel@uvic.ca>
Evan Rempel wrote:

> Now to the question.
>
> Once the archive_command starts lying about its success, postgresql  deletes
> a number of the xlog files that it has been told have been successfuly archived.
> Why does it do this? Can I control it? Can I turn it off?

Because they're no longer needed.

If you want to keep those files, make the archive_command not lie.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-admin по дате отправления
От: Evan Rempel
Дата:
От: Evan Rempel
Дата:
FAQ