Re: Can postgres ever delete the recycled future WAL files to free-up disk space if max_wal_size is reduced or wal_recycle is set to off?

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Can postgres ever delete the recycled future WAL files to free-up disk space if max_wal_size is reduced or wal_recycle is set to off?
Date: 2022-05-13 12:41:13
Message-ID: 20220513124113.GT19626@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 06, 2022 at 09:50:26PM +0530, Bharath Rupireddy wrote:
> It seems like that's not the case because postgres will not remove future WAL
> files even after max_wal_size is reduced,

In the past, I've had to generate synthetic write traffic and checkpoints to
get WAL to shrink. +1 to make it respect max_wal_size on its own.

--
Justin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2022-05-13 12:46:58 Re: Comments on Custom RMGRs
Previous Message Bharath Rupireddy 2022-05-13 12:40:00 Re: Unfiltered server logs routing via a new elog hook or existing emit_log_hook bypassing log_min_message check