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 1u6DHe-00CjSm-BS for pgsql-general@arkaria.postgresql.org; Sat, 19 Apr 2025 18:51:22 +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 1u6DHc-000OCt-7o for pgsql-general@arkaria.postgresql.org; Sat, 19 Apr 2025 18:51:21 +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 1u6DHb-000OCl-RG for pgsql-general@lists.postgresql.org; Sat, 19 Apr 2025 18:51:20 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u6DHZ-000wsT-0a for pgsql-general@postgresql.org; Sat, 19 Apr 2025 18:51:20 +0000 Received: by mail-ed1-x541.google.com with SMTP id 4fb4d7f45d1cf-5e61d91a087so4310480a12.0 for ; Sat, 19 Apr 2025 11:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745088677; x=1745693477; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=exOcb16k1BHnDPZZIVxyrhEKEz5ZsHj9wmAZvEDMyP0=; b=YlNuoIhkAL+pTTkTBFmiFJFePhP95rt5f/jFoYqGP4CTnLlzwKwAwjyL/5w4pi1oxl 0iczcLdTSgAxHfd0ulBUNVxR3eQk6f/Hj/t8lm2OLouP3MnIDg9XJOtMgMzQrUMEGg+R BoK6at7VvOh5zNQ7RiAa5g59KsteIyMSLdMyJWdFrNtBWd2jJueuH9fr4aODwuK2mcsT 1P+0l+faTFoGDyAnOvGEo1aIrvghfDK+sTvq/YeWYKHqCgj0LXrJ7V5cZ3SQTYY6rWgF CasD8vDrKqtJjOT7Sw9aGqKce2dgjnS7fBfn3psvBDQOtqPns1NTHoi9jk/IsfAsQ2fN cpEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745088677; x=1745693477; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=exOcb16k1BHnDPZZIVxyrhEKEz5ZsHj9wmAZvEDMyP0=; b=uPCtWa+2k37ly9+jTaYfyPQJ7e2AofShvbzY16aZZHNtnAd4oVQNIRMsMS9tm14p+b MinNxKwjk8rDvGtQmHHTCj91ryKeLE19MWro7Lo1Z5HMGShLc6gyWnE1WT+sQwkxJYc0 r+1tdApUxGt89nfHa/kM5eoUfuhnMAG8gkYSv24YeKk2iCnyz5j853tGmtG6THmAimRr t0S8rf4g3MkYqpiYKptx/JJhttSMHAaf6+gJzv/0k6qVMHkJm/dxb4ipU7I0fxQE8yNn FiFFlIkoyZl07MOHvDXLSO2sAX0hRYYmrYdMElkuWv8y+3Td9Y3IzZrdu7/puF3GhXu1 WhhQ== X-Forwarded-Encrypted: i=1; AJvYcCUit5HZ4bLNTno04FQq+6znY3/909dbDOWalzC2/b3ntFFdyYEHuBQrzzylOsYPjq1kKMU6Cor+9YEEPNsA@postgresql.org X-Gm-Message-State: AOJu0Yx7FTPS79QNBVNvkvRTpHCwynC5D4U0XP8ylc97XeybOjxYNgqj wzKoQzAf5IbUmSi2SmKEpEkaoIbevOxV6lz/ClYOfVnFSdtusR1M1LnjqxWhPKe2AA25xZGxu4F f3x/n5GyR/1ccimWQ03zt48DC4llBj7ka X-Gm-Gg: ASbGnct5P2wV977UoC4XNU4XBgef637vmHHvAIqBDbd/wDv84ed0sJ3lAfQ8LnMCmFq /d899PnSYqTJxW/d7yy51DJnaRGGZYv6Cfn7MG5+CvayZKoI/ctOOPwyYWXrO7Vc8vCGHsIcLWz T5kHiLMgrac8idWBlOdLBpNVkWQ8h9btlEhNsBs8uv0w32f6uFgg== X-Google-Smtp-Source: AGHT+IG1efrRiqHNaib7tWPOI3aFVYM2Ip1jgaomhgmQhmWZlXcPlbggeGbfPMB3JfJIWVNHyOyK+NHGrDAHX5c49eg= X-Received: by 2002:a17:906:f5a9:b0:ac3:4373:e8bf with SMTP id a640c23a62f3a-acb74ac5194mr664381266b.10.1745088676836; Sat, 19 Apr 2025 11:51:16 -0700 (PDT) MIME-Version: 1.0 References: <20250418141817.2457ac8d@ardentperf.com> In-Reply-To: From: Vijaykumar Jain Date: Sun, 20 Apr 2025 00:21:05 +0530 X-Gm-Features: ATxdqUEobZvVxt7auO9EsVFt1rGS2ocntZAnEwHst0v-9v3862c4lF7h-R4eqbo Message-ID: Subject: Re: verify checksums online To: Greg Sabino Mullane Cc: Jeremy Schneider , pgsql-general Content-Type: multipart/alternative; boundary="000000000000af3d080633261e5e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000af3d080633261e5e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable iirc there used to be a Google snippet that did online checksum verification. it worked pretty well , but I did not let it run the tests of the extension, so it may not be 100% , I just used it for a quick check if there were other problems visible. if it's archived now well :) https://github.com/google/pg_page_verification Thanks, Vijay Open to work Resume - Vijaykumar Jain On Sat, Apr 19, 2025, 9:00=E2=80=AFPM Greg Sabino Mullane wrote: > On Fri, Apr 18, 2025 at 5:18=E2=80=AFPM Jeremy Schneider > wrote: > >> but i wanted to confirm with someone - my easiest options for online >> verifying checksums would be to trigger pg_basebackup then check >> pg_stat_database, or to install michael's utility? >> > > Your easiest option is to just use pgbackrest, which verifies checksums a= s > part of its process. So you are guaranteed to have every page verified at > least as often as every full backup. > > Cheers, > Greg > > -- > Crunchy Data - https://www.crunchydata.com > Enterprise Postgres Software Products & Tech Support > > --000000000000af3d080633261e5e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

iirc there used to be a Google snippet tha= t did online checksum verification. it worked pretty well , but I did not l= et it run the tests of the extension, so it may not be 100% , I just used i= t for a quick check if there were other problems visible.=C2=A0

if it's archived now well :)=C2=A0

https://github.com/goog= le/pg_page_verification


Thanks,
Vijay

Open to work
Resume -=C2=A0Vijaykumar Jain
On Sat, Apr 19, 2025, 9:00=E2=80=AFPM Greg Sabino Mullane &= lt;htamfids@gmail.com> wrote:<= br>
O= n Fri, Apr 18, 2025 at 5:18=E2=80=AFPM Jeremy Schneider <schneider= @ardentperf.com> wrote:
but i wanted to confirm with someone = - my easiest options for online
verifying checksums would be to trigger pg_basebackup then check
pg_stat_database, or to install michael's utility?

Your easiest option is to just use pgbackrest, which verifi= es checksums as part of its process. So you are guaranteed=C2=A0to have eve= ry=C2=A0page verified at least as often as every full backup.
Cheers,
<= div dir=3D"ltr">
Greg

--
Enterprise Postgres Softwar= e Products & Tech Support

--000000000000af3d080633261e5e--