Re: Inactive replication slots

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Inactive replication slots
Дата
Msg-id CAMkU=1yEAW0qoNA0hjjmw0H3ddB-R3q9fadgRWWT6aBk=oX75g@mail.gmail.com
обсуждение исходный текст
Ответ на Inactive replication slots  (Teja Jakkidi <teja.jakkidi05@gmail.com>)
Ответы Re: Inactive replication slots  (Teja Jakkidi <teja.jakkidi05@gmail.com>)
Список pgsql-admin
On Mon, Jun 20, 2022 at 3:12 PM Teja Jakkidi <teja.jakkidi05@gmail.com> wrote:
Hello Everyone,

I have a primary Postgres server with 2 standbys setup using streaming replication. Both the stand by servers are using the replication slots.
Today, when I checked the status of replication slots on primary, they are showing active= ‘f’. The data is replicating with no issues but when the slots are inactive I know that the wal files generated after the restart_lsn will not be deleted and retains the transactions, which is very critical.
I am not sure exactly why the slots are inactive and if there is a way to activate them back?

Is primary_slot_name set on each replica?

Cheers,

Jeff

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

Предыдущее
От: Teja Jakkidi
Дата:
Сообщение: Inactive replication slots
Следующее
От: Teja Jakkidi
Дата:
Сообщение: Re: Inactive replication slots