Re: WAL compression and replica - Mailing list pgsql-admin

From David G. Johnston
Subject Re: WAL compression and replica
Date
Msg-id CAKFQuwYQX9bKp+4GDU+yzB_CkjHiAsft_Y9_Q7L1Q4+v8Ncs7g@mail.gmail.com
Whole thread Raw
In response to WAL compression and replica  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: WAL compression and replica
List pgsql-admin
On Mon, Mar 25, 2024 at 1:10 PM Scott Ribe <scott_ribe@elevated-dev.com> wrote:
If WAL compression is enabled, does this mean that traffic to a file-based WAL-shipping standby is compressed? (In other words, WAL files are sent post-compression?)

From the docs:
When enabled, the PostgreSQL server compresses full page images written to WAL when full_page_writes is on or during a base backup.

That is, some of the contents are compressed, it is not the container that gets compressed.  That is always 64MB in a default compilation.

David J.


pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: WAL compression and replica
Next
From: Scott Ribe
Date:
Subject: Re: WAL compression and replica