Re: - Mailing list pgsql-general

From Peter Geoghegan
Subject Re:
Date
Msg-id CAH2-WzmyPtswccGYrY4dMDF0H52XpPF1MMSULEftX74w9TtLhg@mail.gmail.com
Whole thread Raw
In response to  (Torsten Förtsch <tfoertsch123@gmail.com>)
List pgsql-general
On Thu, Jul 19, 2018 at 11:43 AM, Torsten Förtsch
<tfoertsch123@gmail.com> wrote:
> is there a way to find if a certain page in a data file is referenced by a
> btree index?
>
> I found a few completely empty pages in one of my tables. I am not sure if
> that's corruption or just bloat. Now I am thinking I could use an index, the
> PK for instance, and see if it references these pages.

Ir'a probably not serious, but you may want to try amcheck's
heapallindexed check. You'll have to use the non-contrib packages for
that right now, though, but those are available from the PGDG repos.


--
Peter Geoghegan


pgsql-general by date:

Previous
From: Torsten Förtsch
Date:
Subject:
Next
From: Tim Cross
Date:
Subject: Re: User documentation vs Official Docs