pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teja Jakkidi <teja.jakkidi05@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Inactive replication slots
Date: Mon, 20 Jun 2022 12:12:47 -0700
Message-ID: <C9EB0BC3-35BF-4728-B00C-A856ABCCBA3C@gmail.com> (raw)

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?
I tried restarting both primary and standby but sis not have any effect. 

Thanks and Regards,
J. Teja Sri.




view thread (3+ messages)  latest in thread

Message-ID: <C9EB0BC3-35BF-4728-B00C-A856ABCCBA3C@gmail.com>
Permalink:  ../C9EB0BC3-35BF-4728-B00C-A856ABCCBA3C@gmail.com/
Also on:    postgresql.org/message-id/C9EB0BC3-35BF-4728-B00C-A856ABCCBA3C@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: teja.jakkidi05@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Inactive replication slots
  In-Reply-To: <C9EB0BC3-35BF-4728-B00C-A856ABCCBA3C@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox