Re: WAL compression setting after PostgreSQL LZ4 default change

Поиск
Список
Период
Сортировка
Искать
От
Christoph Berg
Тема
Re: WAL compression setting after PostgreSQL LZ4 default change
Дата
в 20:25:26
Msg-id
ani4BpccmFfbO9dq@msg.df7cb.de
Список
Дерево обсуждения
Re: WAL compression setting after PostgreSQL LZ4 default change Laurenz Albe <laurenz.albe@cybertec.at>
Re: WAL compression setting after PostgreSQL LZ4 default change wenhui qiu <qiuwenhuifx@gmail.com>
Re: WAL compression setting after PostgreSQL LZ4 default change Christoph Berg <myon@debian.org>
Re: Tomas Vondra
> +        The supported methods are off, on,
> +        lz4 (if PostgreSQL was compiled with ),
> +        zstd (if PostgreSQL was compiled with ), and
> +        pglz.
> +        The value on selects the first of zstd,
> +        lz4, pglz that is available.

>  #wal_compression = off                  # enables compression of full-page writes;
> -                                        # off, pglz (or "on"), lz4, or zstd
> +                                        # off, on, lz4, zstd, or pglz (on means the first
> +                                        # of zstd, lz4 and pglz, supported by the build)

I would put zstd before lz4 in both places as it's preferred over it.

Christoph


В списке pgsql-hackers по дате отправления
От: Tatsuya Kawata
Дата:
От: Jonathan S. Katz
Дата:
FAQ