Re: Database consistency check. - Mailing list pgsql-admin

From Asomba Djala
Subject Re: Database consistency check.
Date
Msg-id CAOdgZeQ4-_gpkFHjHQgmQE5Fd8g5Oeac8B5MOL+aXD5ZWFeJTA@mail.gmail.com
Whole thread Raw
In response to Re: Database consistency check.  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-admin
Thank you very much. 

On Thu, Nov 7, 2019, 1:31 PM Peter Geoghegan <pg@bowt.ie> wrote:
On Thu, Nov 7, 2019 at 11:18 AM Asomba Djala <asombadjala8@gmail.com> wrote:
> Thank you. What about already initialized clusters?

There is amcheck, which tests the consistency of B-Tree indexes:

https://www.postgresql.org/docs/current/amcheck.html

Recent versions have a "heapallindexed" option, too, which has the
tool test indexes against the table that they index. This is very
useful as a general purpose tool for detecting corruption.

--
Peter Geoghegan

pgsql-admin by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Database consistency check.
Next
From: Alex Balashov
Date:
Subject: Index degradation