Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jN0PM-0002ry-8E for pgsql-general@arkaria.postgresql.org; Fri, 10 Apr 2020 20:37:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jN0PK-0003q6-IN for pgsql-general@arkaria.postgresql.org; Fri, 10 Apr 2020 20:37:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jN0PK-0003pF-An for pgsql-general@lists.postgresql.org; Fri, 10 Apr 2020 20:37:46 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jN0PH-0000Pi-OC for pgsql-general@postgresql.org; Fri, 10 Apr 2020 20:37:45 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id A217B5F798; Fri, 10 Apr 2020 16:37:46 -0400 (EDT) Date: Fri, 10 Apr 2020 16:37:46 -0400 From: Stephen Frost To: Bruce Momjian Cc: BGoebel , pgsql-general@postgresql.org Subject: Re: Using of --data-checksums Message-ID: <20200410203746.GA13712@tamriel.snowman.net> References: <1586272213908-0.post@n3.nabble.com> <20200408155434.GG13712@tamriel.snowman.net> <20200410202508.GB24987@momjian.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6iQFKlGnqNLSlLV/" Content-Disposition: inline In-Reply-To: <20200410202508.GB24987@momjian.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --6iQFKlGnqNLSlLV/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 sys= tem" > > > There is an (negligible?) impact on performance, ok.=20 > > > =20 > > > Is there another reason NOT to use this feature ? > >=20 > > Not in my view. > >=20 > > > Has anyone had good or bad experience with the use of --data-checksu= ms? > >=20 > > Have had good experience with it. We should really make it the default > > already. >=20 > 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 --6iQFKlGnqNLSlLV/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJekNkaAAoJEO1sijiDR2RVkPUP/RelW5RbovWMBkEsGGMckMAz JQOzd1J7tmmWmEWDxVwwB5IFsksWlgU3byvRHqxBZCZaYsZj4j4v3MKfZMnYOaoh nB97B1d0f3iz+96kmYjspmYAsKZpJ+uSyOFMrXQlw2I44pjvpJkRu/u+E596nnGj j1TcNKG1TCbTG4MZZkV0WdVlg7krcs2IBDFJHF6pIfvGenSfH6j00aBIhKq4/75j 3DcnWNeIJVC0ydQ139yiltq7h7bgV7IM10KjkeWFcG0Gchn6TfRWhXpurlY3L5mp sTcxqFF1rDYQx120aS8lipHP9D3aunCw+k/BpH9qSrv0fzuFyAKHKHRU9gw2t016 HPQ28xnViOWigb09ckoAYjbSlemmfLP1BbFyCxbQsJp6fDP80tCjX9I4/jDbvnW6 Q8KBiMgVXgB18RcZpLZCZ76ixv6vdso9fabYZU9FgRfwfCmCfUJD6ILAaXEDECgV KtMp9+GgmNrXSiQ4nzIVWO8RNcVVoaK9Ev9/KG+15YB52Jupl2LZoNFlsRpYidMt 5No5mXCrqQ9rW31Oly3OhdLaKUqL6lQRH0Eervr3KaVbjV3+Fzkgbo3BKZpgYrUP j9KdiRT93QsDW1U64mr6vWbLNKmvb8ZrphRNioA2uOJLg+I7KkDrHOaB2J42T1JD YKngb0nES11KIfUss2NP =8B73 -----END PGP SIGNATURE----- --6iQFKlGnqNLSlLV/--