Re: libpq compression

Поиск
Список
Период
Сортировка
От Konstantin Knizhnik
Тема Re: libpq compression
Дата
Msg-id 429cf55b-a8bf-c4ba-196d-5b45420145a1@postgrespro.ru
обсуждение исходный текст
Ответ на Re: libpq compression  (Grigory Smolkin <g.smolkin@postgrespro.ru>)
Ответы Re: libpq compression  (Thomas Munro <thomas.munro@enterprisedb.com>)
Re: libpq compression  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers

On 16.05.2018 18:09, Grigory Smolkin wrote:
>
> Hello!
> I have noticed that psql --help lack -Z|--compression option.
> Also it would be nice to have option like --compression-level in psql 
> and pgbench.
>
Thank you for this notice.
Updated and rebased patch is attached.
Concerning specification of compression level: I have made many 
experiments with different data sets and both zlib/zstd and in both 
cases using compression level higher than default doesn't cause some 
noticeable increase of compression ratio, but quite significantly reduce 
speed. Moreover, for "pgbench -i" zstd provides better compression ratio 
(63 times!) with compression level 1 than with with largest recommended 
compression level 22! This is why I decided not to allow user to choose 
compression level.

Вложения

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

Предыдущее
От: Alexander Kuzmenkov
Дата:
Сообщение: Removing unneeded self joins
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Removing unneeded self joins