Re: [HACKERS] Proposal: generic WAL compression

Поиск
Список
Период
Сортировка
От Oleg Ivanov
Тема Re: [HACKERS] Proposal: generic WAL compression
Дата
Msg-id 5AA7E1F7.2020306@postgrespro.ru
обсуждение исходный текст
Ответ на Re: [HACKERS] Proposal: generic WAL compression  (Markus Nullmeier <dq124@uni-heidelberg.de>)
Список pgsql-hackers
On 02/07/2018 09:02 PM, Markus Nullmeier wrote:
> One general comment I can already make is that enabling compression
> should be made optional, which appears to be a small and easy addition
> to the generic WAL API.

The new version of the patch is attached.

In order to control generic WAL compression the new structure
PageXLogCompressParams is introduced. It is passed as an additional
parameter into GenericXLogRegisterBufferEx, so the access method
can control its own WAL compression.

GenericXLogRegisterBuffer uses default compression settings which
appeared to be a reasonable tradeoff between performance overheads
and compression rate on RUM. On my HDD PostgreSQL works even 10%
faster for some RUM workloads because of reducing size of generic
WAL to be written.

Oleg Ivanov
Postgres Professional
The Russian PostgreSQL Company

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: JIT compiling with LLVM v11
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: PATCH: Configurable file mode mask