Re: [PATCH] Document wal_compression=on
wenhui qiu <qiuwenhuifx@gmail.com>
From: wenhui qiu <qiuwenhuifx@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: John Naylor <johncnaylorls@gmail.com>, Christoph Berg <myon@debian.org>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-06-30T09:27:40Z
Lists: pgsql-hackers
> Hi > > The recent PostgreSQL commit changes the default TOAST compression to lz4 when > LZ4 support is available, based on the rationale that LZ4 is generally more > efficient than pglz in terms of CPU usage and compression ratio.Given > that, should we also consider changing the default compression method used > by wal_compression = on from pglz to lz4? > Currently, wal_compression = on still maps to pglz, while lz4 has to be > selected explicitly with: > > wal_compression = lz4 > > If LZ4 is now considered stable and preferable enough to become the > default for TOAST compression, it may be worth aligning WAL compression > behavior as well, or at least discussing whether on should continue to > imply pglz. > Thanks
Commits
-
Document wal_compression=on
- 92b129945065 17 (unreleased) landed
- 17cc7f57a405 16 (unreleased) landed
- 225dd7ab4e6a 15 (unreleased) landed
- 6a6cf80e5508 18 (unreleased) landed
- b26e0f61451d 19 (unreleased) landed
- 8db58ac8eec7 master landed