Re: WAL compression setting after PostgreSQL LZ4 default change

Поиск
Список
Период
Сортировка
Искать
От
Christoph Berg
Тема
Re: WAL compression setting after PostgreSQL LZ4 default change
Дата
в 01:58:59
Msg-id
ak2Es90xR35P2jPB@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: Jelte Fennema-Nio
> A small correction though: "on" isn't the default. The default is
> "off". So this would only impact users who changed the setting in
> their cluster to "on" at some point in the past when lz4/zstd support
> did not exist yet. So we wouldn't be changing the default. We'd be
> changing the behavior for people who changed their default setting at
> some point.

If someone just wants compression and not bother with the ugly details
of compression algorithms, they might be inclined to just say "on".
By labelling one of the choices with this "easy" value, we are
effectively promoting pglz as a good choice. (I'm definitely one of
those people, if you give me too many options, I will look for some
hint what to do or walk away. Now 3 isn't "too many" but you get the
idea.)

I would like to see "on" to be moved to some better value (likely lz4,
like toast compression), and if some day, there is yet a better
choice, we should move it again.

Christoph


В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
От: Peter Geoghegan
Дата:
Сообщение: Re: index prefetching
FAQ