Postgres Server crashed

From: Akash Kodibail <akash(dot)kodibail(at)onmobile(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Postgres Server crashed
Date: 2011-10-10 15:54:57
Message-ID: 04DA5C9AF2453F44ACD4541A08EFE9832D0CF8EE87@MUSCA.onmobile.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All,

I am a noob in database field.

Lately the postgres server crashed due to space constraints, pg_control file got lost and the server wouldn't start. Had a old pg_control file placed in $PGDATA/global/ path.

I was able to start the server, however, the data seems to be a very old one (2011 Jan 07) (probably the time where pg_control I had pasted was last updated). How do I recover the rest of the data? The data directory seems to be showing entire data, I am guessing so, because the major 4 tables which seemed to be missed are the only contributors to around 100 GB and the DATAPATH still says 163 GB is utilized.

When trying to take a pg_dump, it says : pg_dump: schema with OID 29257 does not exist, this OID is there in pg_type, but not there in any other catalog tables.

Please help me!!

Regards,
Akash.

________________________________
DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Further, this e-mail may contain viruses and all reasonable precaution to minimize the risk arising there from is taken by OnMobile. OnMobile is not liable for any damage sustained by you as a result of any virus in this e-mail. All applicable virus checks should be carried out by you before opening this e-mail or any attachment thereto.
Thank you - OnMobile Global Limited.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2011-10-10 17:17:18 Re: Postgres Server crashed
Previous Message Merlin Moncure 2011-10-10 15:51:14 Re: [GENERAL] how to save a bytea value into a file?