Postgres Server crashed - Mailing list pgsql-admin

From Akash Kodibail
Subject Postgres Server crashed
Date
Msg-id 04DA5C9AF2453F44ACD4541A08EFE9832D0CF8EE87@MUSCA.onmobile.com
Whole thread Raw
Responses Re: Postgres Server crashed  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List 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.

pgsql-admin by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: [GENERAL] how to save a bytea value into a file?
Next
From: "Kevin Grittner"
Date:
Subject: Re: Postgres Server crashed