Tomas, thanks for benchmarks! I agree that x2 WAL reduction actually makes Zstd a good default when wal_compression = on.
> On 7 Aug 2026, at 13:23, Tomas Vondra <[email protected]> wrote: > > 8.25% postgres libzstd.so.1.5.7 [.] ZSTD_createDCtx_internal (sorry for offtopic) That's an interesting profile. Along with published patch to retain compression context we can also retain decompression context. But that's for PG20 anyway. Best regards, Andrey Borodin.
