public inbox for [email protected]
help / color / mirror / Atom feedFrom: Thomas Carroll <[email protected]>
To: Pgsql-admin <[email protected]>
To: Raj <[email protected]>
Subject: Re: Wal_keep_size
Date: Mon, 6 Oct 2025 21:38:03 +0000 (UTC)
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAJk5AtbaQYshqms+AnVn0A_BOHFjfYhdEaAsLGWf0zVnA_5N7Q@mail.gmail.com>
References: <CAJk5AtbaQYshqms+AnVn0A_BOHFjfYhdEaAsLGWf0zVnA_5N7Q@mail.gmail.com>
Hope nobody minds me chipping in here.
The answer is "not necessarily." The names make them seem closely related, but not so much.
max_wal_size is all about checkpoints. When the WAL exceeds this, Postgres will try to run a checkpoint. Under some circumstances it won't, but let's keep it simple for now.
wal_keep_size is all about replication. Replicas need WAL files to stick around for long enough that they can process them. wal_keep_size is a minimum figure.
Tom On Monday, October 6, 2025 at 03:51:17 PM EDT, Raj <[email protected]> wrote:
Should Wal_keep_size <= max_wal_size ?
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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Wal_keep_size
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox