Re: Compression of full-page-writes

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Compression of full-page-writes
Дата
Msg-id 52204246.6030600@vmware.com
обсуждение исходный текст
Ответ на Compression of full-page-writes  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Compression of full-page-writes  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On 30.08.2013 05:55, Fujii Masao wrote:
> * Result
>    [tps]
>    1386.8 (compress_backup_block = off)
>    1627.7 (compress_backup_block = on)

It would be good to check how much of this effect comes from reducing 
the amount of data that needs to be CRC'd, because there has been some 
talk of replacing the current CRC-32 algorithm with something faster. 
See 
http://www.postgresql.org/message-id/20130829223004.GD4283@awork2.anarazel.de. 
It might even be beneficial to use one routine for full-page-writes, 
which are generally much larger than other WAL records, and another 
routine for smaller records. As long as they both produce the same CRC, 
of course.

Speeding up the CRC calculation obviously won't help with the WAL volume 
per se, ie. you still generate the same amount of WAL that needs to be 
shipped in replication. But then again, if all you want to do is to 
reduce the volume, you could just compress the whole WAL stream.

- Heikki



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Compression of full-page-writes
Следующее
От: KONDO Mitsumasa
Дата:
Сообщение: Add pgbench option: CHECKPOINT before starting benchmark