Re: pg_wal keeps growing - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: pg_wal keeps growing
Date
Msg-id 20210203161049.GA2457@alvherre.pgsql
Whole thread Raw
In response to Re: pg_wal keeps growing  (Yambu <hyambu@gmail.com>)
List pgsql-admin
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



pgsql-admin by date:

Previous
From: Yambu
Date:
Subject: Re: pg_wal keeps growing
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: Design database