pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Scalia <jayknowsunix@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Logical replication and wal segment retention
Date: Wed, 27 Feb 2019 07:40:26 -0500
Message-ID: <695C083D-AFB5-431B-B022-ED442CE94794@gmail.com> (raw)

Hello, folks,

Yesterday, I had a small file system fill up, due to some logical replication testing we had been performing. We had been testing IBM’s IIDR system and apparently it had built a logical replication slot on my server. When the test was completed, nobody removed the slot, so WAL segments stopped being dropped. Now I can understand the difficulty separating what physical versus logical replication needs from the WAL segments, but as logical replication is database specific not cluster wide, this behavior was a little unexpected, since the WAL segments are cluster wide. Are WAL segments going to pile up whenever something drops a logical replication connection? I’ve seen it, but it seems like this could be a bad thing.
-
Jay

Sent from my iPhone



view thread (7+ messages)  latest in thread

Message-ID: <695C083D-AFB5-431B-B022-ED442CE94794@gmail.com>
Permalink:  ../695C083D-AFB5-431B-B022-ED442CE94794@gmail.com/
Also on:    postgresql.org/message-id/695C083D-AFB5-431B-B022-ED442CE94794@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: jayknowsunix@gmail.com
  Subject: Re: Logical replication and wal segment retention
  In-Reply-To: <695C083D-AFB5-431B-B022-ED442CE94794@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