Re: Need Help on wal_compression

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Need Help on wal_compression
Дата
Msg-id 20180110012410.GD336@paquier.xyz
обсуждение исходный текст
Ответ на Re: Need Help on wal_compression  (Claudio Freire <klaussfreire@gmail.com>)
Список pgsql-performance
On Tue, Jan 09, 2018 at 01:53:14PM -0300, Claudio Freire wrote:
> That shows 50% of that are full page writes. This is with compression
> enabled. WAL compression will only help FPW, so if you don't have a large
> volume of FPW, or they don't compress well, you won't benefit much.

This highly depends on the data types used as well. You won't get much
compressibility with things like UUIDs for example. When we worked on
the patch, I recall that FDW compression saved 25% for a relation with a
one-column integer, and only 12~15% when using UUIDs.
--
Michael

Вложения

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Performance of a Query
Следующее
От: Danylo Hlynskyi
Дата:
Сообщение: RE: Performance of a Query