Re: Ideas to deal with table corruption

From: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Luis Marin <luismarinaray(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org, pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Ideas to deal with table corruption
Date: 2018-01-06 18:30:02
Message-ID: CANu8FiyXAZQVCd2uDY1T9acVThFRSTgYZgZFBZaOZtSTuWif2g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Sat, Jan 6, 2018 at 1:23 PM, Peter Geoghegan <pg(at)bowt(dot)ie> wrote:

> On Sat, Jan 6, 2018 at 2:11 AM, Luis Marin <luismarinaray(at)gmail(dot)com>
> wrote:
> > I am looking for ideas, to help me, check what is happening with a
> possible
> > table corruption, I have some FK that works ok, but some stay in the
> state
> > waiting forever, however selecting the same table works fine.
> >
> > Since, I am a newbie, in PostgreSQL, what should be my firsts steps, in
> > order to have an idea how to fix this problem.
> >
> > I am thinking in watching my postgresql log error file during the
> requests
> > for creating our FK,
> > What do you suggest me
>
> There are CentOS packages for amcheck on 9.4:
>
> https://github.com/petergeoghegan/amcheck#redhatcentossles
>
> I would start there.
>
> --
> Peter Geoghegan
>
>

*>"some stay in the state waiting forever"*

*Don't forget to create indexes on the FK's in the table they reference!*

*Also, it would be nice to know the PostgreSQL version and O/S.*

--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Corey Taylor 2018-01-06 19:11:44 Re: Ideas to deal with table corruption
Previous Message Peter Geoghegan 2018-01-06 18:23:40 Re: Ideas to deal with table corruption

Browse pgsql-general by date

  From Date Subject
Next Message Corey Taylor 2018-01-06 19:11:44 Re: Ideas to deal with table corruption
Previous Message Peter Geoghegan 2018-01-06 18:23:40 Re: Ideas to deal with table corruption