Re: Using of --data-checksums

From: Jeremy Schneider <schnjere(at)amazon(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Stephen Frost <sfrost(at)snowman(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, BGoebel <b(dot)goebel(at)prisma-computer(dot)de>, pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using of --data-checksums
Date: 2020-04-16 22:47:34
Message-ID: f8a4936b-79b6-91b4-426d-c6d81ea5b89e@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/12/20 07:23, Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-04-16 23:07:22 Re: File Foreign Table Doesn't Exist when in Exception
Previous Message Adrian Klaver 2020-04-16 22:47:04 Re: File Foreign Table Doesn't Exist when in Exception