Re: ERROR: XX001 (Critical and Urgent)

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Siddharth Shah" <siddharth(dot)shah(at)elitecore(dot)com>, <pgsql-admin(at)postgresql(dot)org>,<pgsql-novice(at)postgresql(dot)org>
Subject: Re: ERROR: XX001 (Critical and Urgent)
Date: 2010-05-07 13:35:58
Message-ID: 4BE3D0EF020000250003137D@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-novice

Siddharth Shah <siddharth(dot)shah(at)elitecore(dot)com> wrote:

> * fsync is off*

If you are running the database with fsync off and there is any sort
of unusual termination, your database will probably be corrupted. I
recommend restoring from your last good backup. If you don't have
one, recovery is going to be painful; I recommend contracting with
one of the many companies which off PostgreSQL support. (I'm not
affiliated with any of them.)

> I have tried with making fsync on

That may help prevent further corruption, but will do nothing to
help recover from the damage already done.

> Postgres Version : 8.4.3 (Migrated data from 8.4.1)

What do you mean by that? You installed 8.4.3 and reindexed hash
indexes?

> What can be issue ? Is it issue coming after database table
> corruption

Yes.

> Can fsync on can prevent such (corruption) scenarios ?

Yes.

-Kevin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Siddharth Shah 2010-05-07 13:51:29 Re: ERROR: XX001 (Critical and Urgent)
Previous Message Siddharth Shah 2010-05-07 08:03:08 ERROR: XX001 (Critical and Urgent)

Browse pgsql-novice by date

  From Date Subject
Next Message Siddharth Shah 2010-05-07 13:51:29 Re: ERROR: XX001 (Critical and Urgent)
Previous Message Siddharth Shah 2010-05-07 08:03:08 ERROR: XX001 (Critical and Urgent)