Re: Initdb --data-checksums by default - Mailing list pgsql-general

From Stuart Bishop
Subject Re: Initdb --data-checksums by default
Date
Msg-id CADmi=6OrL=HpTZNScgZONu0r0aK-4BJ96HY_9rRgSrwEpJDAeg@mail.gmail.com
Whole thread Raw
In response to Initdb --data-checksums by default  (Alex Ignatov <a.ignatov@postgrespro.ru>)
Responses Re: Initdb --data-checksums by default
List pgsql-general
On 20 April 2016 at 14:43, Alex Ignatov <a.ignatov@postgrespro.ru> wrote:
> Hello everyone!
> Today in Big Data epoch silent data corruption becoming more and more issue
> to afraid of. With uncorrectable read error rate ~ 10^-15   on multiterabyte
> disk bit rot is the real issue.
> I think that today checksumming data  must be mandatory  set by default.
> Only if someone doesn't care about his data he can manually turn this option
> off.
>
> What do you think about defaulting --data-checksums in initdb?

I think --data-checksums should default to on.

Databases created 'thoughtlessly' should have safe defaults. Operators
creating databases with care can elect to disable it if they are
redundant in their environment, if they cannot afford the overhead, or
consider their data low value enough to not want to pay the overheads.

If the performance impact is deemed unacceptable, perhaps the ability
to turn them off on an existing database is easily doable (a one way
operation).

--
Stuart Bishop <stuart@stuartbishop.net>
http://www.stuartbishop.net/


pgsql-general by date:

Previous
From: Guyren Howe
Date:
Subject: Re: Proper relational database?
Next
From: David Goodenough
Date:
Subject: Re: Proper relational database?