From: Stephen Frost <sfrost@snowman.net>
To: Bruce Momjian <bruce@momjian.us>
Cc: BGoebel <b.goebel@prisma-computer.de>
Cc: pgsql-general@postgresql.org
Subject: Re: Using of --data-checksums
Date: Fri, 10 Apr 2020 16:37:46 -0400
Message-ID: <20200410203746.GA13712@tamriel.snowman.net> (raw)
In-Reply-To: <20200410202508.GB24987@momjian.us>
References: <1586272213908-0.post@n3.nabble.com>
<20200408155434.GG13712@tamriel.snowman.net>
<20200410202508.GB24987@momjian.us>
Greetings,
* Bruce Momjian (bruce@momjian.us) wrote:
> On Wed, Apr 8, 2020 at 11:54:34AM -0400, Stephen Frost wrote:
> > * BGoebel (b.goebel@prisma-computer.de) wrote:
> > > initdb --data-checksums "... help to detect corruption by the I/O system"
> > > There is an (negligible?) impact on performance, ok.
> > >
> > > Is there another reason NOT to use this feature ?
> >
> > Not in my view.
> >
> > > Has anyone had good or bad experience with the use of --data-checksums?
> >
> > Have had good experience with it. We should really make it the default
> > already.
>
> Yeah, but I think we wanted more ability to change an existing cluster
> before doing that since it would affect pg_upgraded servers.
There's definitely a lot of reasons to want to have the ability to
change an existing cluster. Considering the complications around
running pg_upgrade already, I don't really think that changing the
default of initdb would be that big a hurdle for folks to deal with-
they'd try the pg_upgrade, get a very quick error that the new cluster
has checksums enabled and the old one didn't, and they'd re-initdb the
new cluster and then re-run pg_upgrade to figure out what the next issue
is..
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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: sfrost@snowman.net, bruce@momjian.us, b.goebel@prisma-computer.de
Subject: Re: Using of --data-checksums
In-Reply-To: <20200410203746.GA13712@tamriel.snowman.net>
References: <1586272213908-0.post@n3.nabble.com> <20200408155434.GG13712@tamriel.snowman.net> <20200410202508.GB24987@momjian.us> <20200410203746.GA13712@tamriel.snowman.net>
* 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