Re: Database consistency check.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Asomba Djala <asombadjala8(at)gmail(dot)com>
Cc: abbas alizadeh <ramkly(at)yahoo(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Database consistency check.
Date: 2019-11-07 19:31:12
Message-ID: CAH2-Wzk5UXiX2JjtND2h3tzp4m0114QgYJLBSRfxwLGzxfQyVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Nov 7, 2019 at 11:18 AM Asomba Djala <asombadjala8(at)gmail(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Asomba Djala 2019-11-07 19:32:06 Re: Database consistency check.
Previous Message Asomba Djala 2019-11-07 19:16:52 Re: Database consistency check.