pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grigory Smolkin <g.smolkin@postgrespro.ru>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Database consistency check.
Date: Fri, 8 Nov 2019 01:37:03 +0300
Message-ID: <26d7d056-5424-7f4d-ddf9-d74896c7e0ac@postgrespro.ru> (raw)
In-Reply-To: <CAOdgZeRFyXPL4knBetHsqWmk2OMauvqK5RoWcU7gOGF82HCzyQ@mail.gmail.com>
References: <CAKKd0665D1uOCGE+4TSSiMbQjZ6GmCatwgJ+RadNV_S3jhKLsg@mail.gmail.com>
	<CAOdgZeRFyXPL4knBetHsqWmk2OMauvqK5RoWcU7gOGF82HCzyQ@mail.gmail.com>

Hello!

pg_probackup has dedicated command for PostgreSQL instance verification, 
which rely on amcheck, page checksum comparison and page header sanity 
checks.
It can be used on running databases and can be used even if you do not 
use pg_probackup for backup/restore purposes.

https://github.com/postgrespro/pg_probackup/blob/master/Documentation.md#checkdb
https://github.com/postgrespro/pg_probackup/blob/master/Documentation.md#verifying-a-cluster

On 11/7/19 10:47 AM, Asomba Djala wrote:
> Hello,
>
> I have a question, SQL Server has a tool DBCC checkdb and I believe 
> Oracle it's VerifyDB. Does Postgres have something similar and if not, 
> does anyone have steps or queries to do a sanity check or database 
> integrity check with PgAdmin4?
>
> In advance,
>
> Thank you for your help.
>
> Aso.

-- 
Grigory Smolkin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company






view thread (12+ messages)  latest in thread

Message-ID: <26d7d056-5424-7f4d-ddf9-d74896c7e0ac@postgrespro.ru>
Permalink:  ../26d7d056-5424-7f4d-ddf9-d74896c7e0ac@postgrespro.ru/
Also on:    postgresql.org/message-id/26d7d056-5424-7f4d-ddf9-d74896c7e0ac@postgrespro.ru

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: g.smolkin@postgrespro.ru, pgsql-admin@lists.postgresql.org
  Subject: Re: Database consistency check.
  In-Reply-To: <26d7d056-5424-7f4d-ddf9-d74896c7e0ac@postgrespro.ru>

* 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