Re: Archive directory

Поиск
Список
Период
Сортировка
От Yambu
Тема Re: Archive directory
Дата
Msg-id CALhHtcC-6+kKZZcqMNkMkNv6A9Fof9jiJXnF2jjhtZXnN_yKCg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Archive directory  (Scott Ribe <scott_ribe@elevated-dev.com>)
Ответы Re: Archive directory
Список pgsql-admin
Ok, whats happens in the case when you have 2 slave servers?

On Mon, Dec 7, 2020 at 3:53 PM Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> On Dec 7, 2020, at 6:47 AM, Yambu <hyambu@gmail.com> wrote:
>
> Does the command ,archive_cleanup_command, delete the files from the master server? i understand this config is done on the slave server

The point of the archive command is to copy to the replica. If you're archiving on master, then using some script to copy to replica, then postgres has no way to know when it is safe to delete WAL files.

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

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: Archive directory
Следующее
От: Paul Förster
Дата:
Сообщение: Re: Archive directory