pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: Nicolas Seinlet <nicolas@seinlet.eu>
To: pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
Subject: Re: wal_init_zero / wal_recycle
Date: Wed, 24 Apr 2024 10:57:21 +0200
Message-ID: <6a09dfdd-9dc5-49f4-82ea-826162ed0d74@eisentraut.org> (raw)
In-Reply-To: <RJJj1ukTJZsa_MAFNEbpU3318pUYUiRkDe0KL6YQFNOhT3d8zEtLq4fNTBklHiLJj_yVw0fVMJXzoEjyihF7K7SNVXB54civYYpyEHvONTo=@seinlet.eu>
References: <RJJj1ukTJZsa_MAFNEbpU3318pUYUiRkDe0KL6YQFNOhT3d8zEtLq4fNTBklHiLJj_yVw0fVMJXzoEjyihF7K7SNVXB54civYYpyEHvONTo=@seinlet.eu>

On 24.04.24 10:08, Nicolas Seinlet wrote:
> while searching the doc to solve an issue, I found the interdependency 
> between those 2 parameters was not obvious.
> 
> Here:
> https://www.postgresql.org/docs/14/runtime-config-wal.html#GUC-WAL-INIT-ZERO <https://www.postgresql.org/docs/14/runtime-config-wal.html#GUC-WAL-INIT-ZERO;
> 
> the wal_init_zero set to ON cause new WAL files to be filled with zeroes.
> 
> It was not crystal clear to me that when wal_recycle is also ON , the 
> recycled files are not filled with zeroes, because they are not 
> considered as new. Could we add a sentence stating this?

It currently says:

wal_init_zero: "... causes new WAL files to be filled with zeroes ..."

wal_recycle: "... avoiding the need to create new ones ..."

I'm not sure where exactly to make that more clear.






view thread (4+ messages)  latest in thread

Message-ID: <6a09dfdd-9dc5-49f4-82ea-826162ed0d74@eisentraut.org>
Permalink:  ../6a09dfdd-9dc5-49f4-82ea-826162ed0d74@eisentraut.org/
Also on:    postgresql.org/message-id/6a09dfdd-9dc5-49f4-82ea-826162ed0d74@eisentraut.org

 · 

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-docs@postgresql.org
  Cc: peter@eisentraut.org, nicolas@seinlet.eu, pgsql-docs@lists.postgresql.org
  Subject: Re: wal_init_zero / wal_recycle
  In-Reply-To: <6a09dfdd-9dc5-49f4-82ea-826162ed0d74@eisentraut.org>

* 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