Re: DB Structure Recovery

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: veejar <veejar(dot)net(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: DB Structure Recovery
Date: 2008-03-21 08:48:59
Message-ID: 1206089339.4285.633.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2008-03-19 at 16:56 +0200, veejar wrote:

> My filesystem (UFS-FreeBSD) was crashed and I have lost files from
> PGSQL DATA DIR FOLDER after fsck-utility.
>
> I have lost files from directory "pg_xlog"
> I reset my pg_xlog.
>
> And now have such error by starting pgsql-server:
>
> LOG: database system was interrupted at 2008-03-18 22:29:48 EET
> LOG: checkpoint record is at 3E/6C000020
> LOG: redo record is at 3E/6C000020; undo record is at 3E/6C000020;
> shutdown TRUE
> LOG: next transaction ID: 0/1624775486; next OID: 9528514
> LOG: next MultiXactId: 6643; next MultiXactOffset: 13690
> LOG: database system was not properly shut down; automatic recovery in progress
> LOG: record with zero length at 3E/6C000068
> LOG: redo is not required
> FATAL: could not access status of transaction 6643
> DETAIL: Could not read from file "pg_multixact/offsets/0000" at
> offset 24576: Success.
> LOG: startup process (PID 6267) exited with exit code 1
> LOG: aborting startup due to startup process failure
> LOG: logger shutting down
>
> Is it possible to lose this problem?
> HELP!!!

It is possible to recover some data in most situations, but it can take
anywhere from a day or two. My company offers database recovery
services, if you're willing to pay.

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Steve Crawford 2008-03-21 19:50:10 Re: Postgres Performance
Previous Message Uwe C. Schroeder 2008-03-21 04:51:35 Re: exceeds max_fsm_pages