Hi hackers! A year ago Vladimir Leskov proposed patch to speed up pglz compression[0]. PFA the patch with some editorialisation by me. I saw some reports of bottlenecking in pglz WAL compression [1].
Hopefully soon we will have compression codecs developed by compression specialists. The work is going on in nearby thread about custom compression methods. Is it viable to work on pglz optimisation? It's about x1.4 faster. Or should we rely on future use of lz4\zstd and others? Best regards, Andrey Borodin. [0] https://www.postgresql.org/message-id/169163a8-c96f-4dbe-a062-7d1cecbe9...@yandex-team.ru [1] https://smalldatum.blogspot.com/2020/12/tuning-for-insert-benchmark-postgres_4.html
0001-Reorganize-pglz-compression-code.patch
Description: Binary data