Database recovery in postgres 7.2.4.

From: "Santosh" <ssbhujbal(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Database recovery in postgres 7.2.4.
Date: 2006-10-30 10:25:09
Message-ID: 1162203909.082487.192540@m7g2000cwm.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi All.

My setup is as follows:
OS: Sun Solaris 5.8.
Postgres: 7.2.4

I have very large database, which contain 15 tables and each table is
contain more than 10,00,000 records.

My application is parsing text data files and inserting records into
database.

When this process was running last night, machine was got down because
of power failure.

Today when I come back to office and I have compaired record count in
data files and in database and find that some records are missing in
database.

Then I have checked postgres log and found log similar to as follows:
=================================
DEBUG: The DataBase system was not properly shut down
Automatic recovery is in progress...
DEBUG: Redo starts at (0, 1064)
=================================

I have read some WAL related stuff on postgres site but not found any
solution to recover those uncommited records.

Can any one tell me how to recover those missing records?

Thanks,
Santosh

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message roopa perumalraja 2006-10-30 23:19:53 Re: Add calculated fields from one table to other table
Previous Message Bobus 2006-10-30 06:13:22 Re: fetching unique pins in a high-transaction environment...