pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Adler <adler@pobox.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to recover corrupt data
Date: Tue, 17 Feb 2004 18:45:03 -0500
Message-ID: <18918.1077061503@sss.pgh.pa.us> (raw)
In-Reply-To: <20040217153101.GB25887@pobox.com>
References: <20040217153101.GB25887@pobox.com>

Michael Adler <adler@pobox.com> writes:
> Is there any way to extract this (possibly intact) data?

It looks like you have one corrupted, perhaps partially zeroed, page
in your table.  There may be more, but the trace output you show only
has corrupted tuples on one page (11193).  You could try replacing that
page with zeroes, which will lose the rows on that page but allow you to
recover the rest of the data.  See the archives for discussion of
corruption recovery procedures (searching for references to pg_filedump
will probably lead you to the right threads).

			regards, tom lane



view thread (2+ messages)

Message-ID: <18918.1077061503@sss.pgh.pa.us>
Permalink:  ../18918.1077061503@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18918.1077061503@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, adler@pobox.com
  Subject: Re: how to recover corrupt data
  In-Reply-To: <18918.1077061503@sss.pgh.pa.us>
  References: <20040217153101.GB25887@pobox.com> <18918.1077061503@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox