ERROR: missing chunk number 0 for toast value 382548694 in pg_toast_847386

From: Michael Harris <michael(dot)harris(at)ericsson(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: ERROR: missing chunk number 0 for toast value 382548694 in pg_toast_847386
Date: 2011-02-28 00:25:02
Message-ID: B0F87A6BC671B249AD1C6F7DF8ACA86C2AD086A2F2@ESGSCCMS0001.eapac.ericsson.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

We have a PG 8.4 database approx 5TB in size.

We were recently testing our restore procedure against our latest dump. The dumps are taken using the Continuous Archiving method with base dumps taken using tar. Our tar script is set up to ignore missing/modified files but should stop on all other errors.

We are testing the restore on a completely separate machine of a similar spec to the server on which the dumps are made.

On our first attempt we were using PG 8.4.0. We struck problems on restore with the error 'Unexpected timeline ID 0 in log file'. After some googling we identified that this was a known bug in PG 8.4.0 so we upgraded the target machine to 8.4.7 and began the recovery again.

On the second attempt the recovery went through smoothly. However, after starting the application again we started to get the following error:

ERROR: missing chunk number 0 for toast value 382548694 in pg_toast_847386

The table it is trying to access is one in which our application stores various schema information that is used each time the application starts up.

As far as we know the base dump is good and the DB did not complain about any of the WAL files. We are now nervous that our backups are no good, so we want to get to the bottom of it. What can be the reason that these backups are not restoring properly?

Thanks in advance,

Regards
Mike Harris

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2011-02-28 00:34:42 Re: PG on two nodes with shared disk ocfs2 & drbd
Previous Message Andrew Sullivan 2011-02-28 00:17:41 Re: PG on two nodes with shared disk ocfs2 & drbd