Re: Compression of bigger WAL records

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: Compression of bigger WAL records
Дата
Msg-id ECCAD8F2-032D-42FE-B60D-0D6EB0423FF2@yandex-team.ru
обсуждение исходный текст
Ответ на Re: Compression of bigger WAL records  (Kirill Reshke <reshkekirill@gmail.com>)
Список pgsql-hackers
Hi! Thanks for looking into this!

> On 12 Jan 2025, at 23:36, Kirill Reshke <reshkekirill@gmail.com> wrote:
>
> initdb fails when configured with --without-zstd

Yes, the patch is intended to demonstrate improvement when using Zstd.

> On 12 Jan 2025, at 17:43, Andrey M. Borodin <x4mmm@yandex-team.ru> wrote:
>
> WAL_DEBUG and wal_compression are enabled for debugging purposes. Of course, I do not propose to turn them on by
default.

And this does not work well --without-zstd.

> Also pg_waldump fails with
>
> ```
> corrupted size vs. prev_size
> Aborted (core dumped)
> ```

I’ll fix that, thanks!
Also seems like I forgot to bump WAL_FILE_MAGIC…

What do you think about proposed approach?


Best regards, Andrey Borodin.


В списке pgsql-hackers по дате отправления: