Re: pg_wal keeps growing

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Yambu <hyambu(at)gmail(dot)com>
Cc: Alex Balashov <abalashov(at)evaristesys(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_wal keeps growing
Date: 2021-02-03 16:10:49
Message-ID: 20210203161049.GA2457@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message hubert depesz lubaczewski 2021-02-03 16:44:59 Re: Design database
Previous Message Yambu 2021-02-03 16:03:55 Re: pg_wal keeps growing