Re: [HACKERS] Checksums by default? - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: [HACKERS] Checksums by default?
Date
Msg-id 30f8280c-a34f-056a-2f5a-a0030ef99227@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] Checksums by default?  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
List pgsql-hackers
On 01/21/2017 04:18 PM, Petr Jelinek wrote:
> On 21/01/17 11:39, Magnus Hagander wrote:
>> Is it time to enable checksums by default, and give initdb a switch to
>> turn it off instead?
>
> I'd like to see benchmark first, both in terms of CPU and in terms of
> produced WAL (=network traffic) given that it turns on logging of hint bits.
>

... and those hint bits may easily trigger full-page writes, resulting 
in significant write amplification.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] Checksums by default?
Next
From: Magnus Hagander
Date:
Subject: Re: [HACKERS] Checksums by default?