Re: WAL compression setting after PostgreSQL LZ4 default change
Jelte Fennema-Nio <postgres@jeltef.nl>
From: Jelte Fennema-Nio <postgres@jeltef.nl>
To: Michael Paquier <michael@paquier.xyz>
Cc: Japin Li <japinli@hotmail.com>, Fujii Masao <masao.fujii@gmail.com>, wenhui qiu <qiuwenhuifx@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>, John Naylor <johncnaylorls@gmail.com>, Christoph Berg <myon@debian.org>
Date: 2026-07-07T22:46:53Z
Lists: pgsql-hackers
On Wed, 8 Jul 2026 at 00:26, Michael Paquier <michael@paquier.xyz> wrote: > I disagree. The whole argument is that most users don't bother > changing the defaults. Here, a change between lz4/zstd and pglz is > like day and night; folks are going to see improvements all the time > if we switch to a better default when we can, in terms of CPU, memory > and IO. A small correction though: "on" isn't the default. The default is "off". So this would only impact users who changed the setting in their cluster to "on" at some point in the past when lz4/zstd support did not exist yet. So we wouldn't be changing the default. We'd be changing the behavior for people who changed their default setting at some point. To be clear, I agree with you that that's a reasonable thing to do; I don't think any of those people actually want to burn CPU for no reason. So they'd all be happy if we stopped doing that. pglz basically has no right to be used anywhere in production systems IMO.