Re: [PATCH] Document wal_compression=on

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: wenhui qiu <qiuwenhuifx(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Christoph Berg <myon(at)debian(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Document wal_compression=on
Date: 2026-06-30 09:48:53
Message-ID: CANWCAZYzM6DKXJKQL5xAsbOEqmKthCN55+_M6gwBKE-4PFcxZg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 30, 2026 at 4:27 PM wenhui qiu <qiuwenhuifx(at)gmail(dot)com> wrote:

>> 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?

FYI, default value of wal_compression is "off".

--
John Naylor
Amazon Web Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2026-06-30 09:57:20 Re: [PATCH] Document wal_compression=on
Previous Message wenhui qiu 2026-06-30 09:27:40 Re: [PATCH] Document wal_compression=on