E-Ink News Daily

Back to list

Postgres 19 Compression: from pglz to LZ4

PostgreSQL 19 plans to replace the legacy pglz compression algorithm with LZ4 for TOAST tables, offering significantly better performance and efficiency. This update represents a major shift in how PostgreSQL handles large object storage, building on decades of compression history within the database.

Background

PostgreSQL has used the pglz algorithm for TOAST compression since its early versions, but it has become outdated compared to modern algorithms like LZ4. The upcoming version 19 aims to improve storage efficiency and I/O performance by adopting industry-standard compression techniques.

Source
Lobsters
Published
Jul 21, 2026 at 05:48 AM
Score
8.0 / 10