Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sbN4m-00G7tX-8p for pgsql-general@arkaria.postgresql.org; Tue, 06 Aug 2024 16:30:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sbN4k-001KZ4-Io for pgsql-general@arkaria.postgresql.org; Tue, 06 Aug 2024 16:30:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sbN4k-001KYw-7h for pgsql-general@lists.postgresql.org; Tue, 06 Aug 2024 16:30:18 +0000 Received: from smtp85.ord1d.emailsrvr.com ([184.106.54.85]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sbN4h-003UPJ-Vb for pgsql-general@lists.postgresql.org; Tue, 06 Aug 2024 16:30:17 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp11.relay.ord1d.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id D4CB660186; Tue, 6 Aug 2024 12:30:13 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: data checksums From: Christophe Pettus In-Reply-To: Date: Tue, 6 Aug 2024 09:29:43 -0700 Cc: pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <15AB8DDB-7D4B-4272-801F-F5DD84E829E6@thebuild.com> References: To: bruno vieira da silva X-Mailer: Apple Mail (2.3774.600.62) X-Classification-ID: 5783083f-56e7-4658-8eb5-45f98169c27f-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Aug 6, 2024, at 08:11, bruno vieira da silva = wrote: >=20 > so my question is why data checksums aren't enabled by default on pg? At this point, mostly historical reasons. They're also superfluous if = your underlying file system or storage hardware does storage-level = corruption checks (which most don't). > the pg doc=20 > mentions a considerable performance penality, how considerable it is? That line is probably somewhat out of date at this point. We haven't = seen a significant slowdown in enabling them on any modern hardware. I = always turn them on, except on the type of filesystems/hardware = mentioned above.=