Re: WAL compression setting after PostgreSQL LZ4 default change - Mailing list pgsql-hackers

From wenhui qiu
Subject Re: WAL compression setting after PostgreSQL LZ4 default change
Date
Msg-id CAGjGUALBMSzJ=ngL0k0CR6MqM+1W=Y+=+MSv+Z4R5jvmr47P5A@mail.gmail.com
Whole thread
In response to Re: WAL compression setting after PostgreSQL LZ4 default change  (Christoph Berg <myon@debian.org>)
Responses Re: WAL compression setting after PostgreSQL LZ4 default change
List pgsql-hackers
Hi 

> I would like to see "on" to be moved to some better value (likely lz4,
> like toast compression), and if some day, there is yet a better
> choice, we should move it again.
Yes, After PostgreSQL 19, lz4 became a required dependency unless you compile it yourself with --without-lz4. In most environments, lz4 is already installed, so along this code path the effective choice is essentially fixed to lz4.At cluster scale, it would make more sense to expose this parameter in the frontend as a boolean setting, rather than letting users choose from multiple compression options.

Thanks 

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: injection_points: Switch wait/wakeup to use atomics rather than latches
Next
From: Michael Paquier
Date:
Subject: Re: Add per-backend AIO statistics