Re: [GENERAL] Table corruption and other questions

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
To: Miguel Montes <montes(at)noc(dot)unc(dot)edu(dot)ar>
Cc: "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] Table corruption and other questions
Date: 1999-11-30 06:30:42
Message-ID: 38436F12.93D74DC7@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Miguel Montes wrote:
> I'm using postgresql 6.5.1 with Linux Mandrake 6.1. I have two cases
> of table corruption related to hardware failure.

If the table itself is really messed up it can be tough to fix.
Sometimes it is possible to do a pg_dump of the table and reload --
otherwise it is a restore from the back-ups.

However, if you have indexes on the table, try dropping them all and
re-building them. I have never actually seen a corrupted table, but
index corruption with Postgres does occur. Also check for inidexes that
you may not have knowingly created, such as *_pkey or *_key ffor
primary_key or unique fields.

Hope this helps and good luck,

Adriaan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-11-30 06:33:48 Re: [HACKERS] Re: [GENERAL] Update of bitmask type
Previous Message Adriaan Joubert 1999-11-30 06:23:05 Re: [HACKERS] Re: [GENERAL] Update of bitmask type