pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Yambu <hyambu@gmail.com>
Cc: Alex Balashov <abalashov@evaristesys.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: pg_wal keeps growing
Date: Wed, 3 Feb 2021 13:10:49 -0300
Message-ID: <20210203161049.GA2457@alvherre.pgsql> (raw)
In-Reply-To: <CALhHtcBc7iH7c5pjHqfcVpmZfMEhf5an1mQvX2ss1N+xNwvquw@mail.gmail.com>

On 2021-Feb-03, Yambu wrote:

> There were some unused replication slots. Can i now delete the old files in
> pg_wal, or they will clear on their own?

Never delete anything from pg_wal.  Let the system handle that.  They
should start to clear in a checkpoint or two.  (You may want to execute
a manual checkpoint to speed up the process.)

-- 
Álvaro Herrera       Valdivia, Chile





view thread (5+ messages)

Message-ID: <20210203161049.GA2457@alvherre.pgsql>
Permalink:  ../20210203161049.GA2457@alvherre.pgsql/
Also on:    postgresql.org/message-id/20210203161049.GA2457@alvherre.pgsql

 · 

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: alvherre@alvh.no-ip.org, hyambu@gmail.com, abalashov@evaristesys.com, pgsql-admin@lists.postgresql.org
  Subject: Re: pg_wal keeps growing
  In-Reply-To: <20210203161049.GA2457@alvherre.pgsql>

* 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