From: Jeremy Schneider <schnjere@amazon.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: BGoebel <b.goebel@prisma-computer.de>
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: Using of --data-checksums
Date: Thu, 16 Apr 2020 15:47:34 -0700
Message-ID: <f8a4936b-79b6-91b4-426d-c6d81ea5b89e@amazon.com> (raw)
In-Reply-To: <13634.1586701404@sss.pgh.pa.us>
References: <1586272213908-0.post@n3.nabble.com>
<20200408155434.GG13712@tamriel.snowman.net>
<20200410202508.GB24987@momjian.us>
<20200410203746.GA13712@tamriel.snowman.net>
<20200412060513.GA6012@paquier.xyz>
<CABUevExgGTjHeNvKORX_zhx7rN7gocNcGE1e-Xp9E744Ci3Dvw@mail.gmail.com>
<13634.1586701404@sss.pgh.pa.us>
On 4/12/20 07:23, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> And FWIW, I do think we should change the default. And maybe spend some
>> extra effort on the message coming out of pg_upgrade in this case to make
>> it clear to people what their options are and exactly what to do.
>
> Is there any hard evidence of checksums catching problems at all?
> Let alone in sufficient number to make them be on-by-default?
Data checksums are a hard requirement across the entire RDS PostgreSQL
fleet - we do not allow it to be disabled in RDS. I've definitely seen a
lot of hard evidence (for example, customer cases I've personally been
involved in) that it catches problems. I could not exaggerate how useful
and important I think this feature is: being able to very quickly and
easily know that a problem originated outside of the PostgreSQL code.
This was in part what led to that long blog article I wrote about
checksums, and it's why enabling checksums was happiness hint #1 until I
broke them into categories.
FWIW, I also strongly agree that checksums should be enabled by default
in the git.postgresql.org code.
-Jeremy
--
Jeremy Schneider
Database Engineer
Amazon Web Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: schnjere@amazon.com, tgl@sss.pgh.pa.us, magnus@hagander.net, michael@paquier.xyz, sfrost@snowman.net, bruce@momjian.us, b.goebel@prisma-computer.de
Subject: Re: Using of --data-checksums
In-Reply-To: <f8a4936b-79b6-91b4-426d-c6d81ea5b89e@amazon.com>
References: <1586272213908-0.post@n3.nabble.com> <20200408155434.GG13712@tamriel.snowman.net> <20200410202508.GB24987@momjian.us> <20200410203746.GA13712@tamriel.snowman.net> <20200412060513.GA6012@paquier.xyz> <CABUevExgGTjHeNvKORX_zhx7rN7gocNcGE1e-Xp9E744Ci3Dvw@mail.gmail.com> <13634.1586701404@sss.pgh.pa.us> <f8a4936b-79b6-91b4-426d-c6d81ea5b89e@amazon.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox