Re: Question about wal_compression and what to expect - Mailing list pgsql-admin

From Sean O'Grady
Subject Re: Question about wal_compression and what to expect
Date
Msg-id 1c92a69086aa7046c2141a3849b1eff92eb68a37@hey.com
Whole thread Raw
In response to Re: Question about wal_compression and what to expect  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: Question about wal_compression and what to expect
List pgsql-admin
With archive_timeout set I think WAL files will often (at least in my case) be created before they are filled, and in those cases there should be a larger benefit, correct?

Thanks


On June 21, 2023, Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> On Jun 21, 2023, at 7:51 AM, Sean O'Grady <sean@thingee.com> wrote:

> Yes, my question was essentially do I need to separately compress WAL files for storage/archiving even with wal_compression set. So, I think you've answered my question.

If WAL files use per-page compression internally, you won't get much benefit from compressing them. If they use lz4 internally, then sure, bzip'ing them will get a little benefit, but nowhere near the normal amount.

pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: Question about wal_compression and what to expect
Next
From: Holger Jakobs
Date:
Subject: Re: Why do i need to install set_user extension if i can directly grant all required privileges to user?