Re: Archive directory

Поиск
Список
Период
Сортировка
От Paul Förster
Тема Re: Archive directory
Дата
Msg-id 92588443-EB0E-412B-B768-301603D21CCA@gmail.com
обсуждение исходный текст
Ответ на Re: Archive directory  (Scott Ribe <scott_ribe@elevated-dev.com>)
Ответы Re: Archive directory
Список pgsql-admin
Hi Scott,

> On 07. Dec, 2020, at 14:53, Scott Ribe <scott_ribe@elevated-dev.com> wrote:
>
> The point of the archive command is to copy to the replica. If you're archiving on master, then using some script to
copyto replica, then postgres has no way to know when it is safe to delete WAL files. 

in my understanding, this is only true if you don't use replication slots. If you use replication slots then the
primaryshould know when a WAL file is no longer needed and abandoned or ready to be recycled. 

Cheers,
Paul


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

Предыдущее
От: Yambu
Дата:
Сообщение: Re: Archive directory
Следующее
От: MichaelDBA
Дата:
Сообщение: Re: Archive directory