From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc Mitchell <marcm@eisolution.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Row data corruption under 7.3.5
Date: Wed, 17 Mar 2004 11:53:36 -0500
Message-ID: <25825.1079542416@sss.pgh.pa.us> (raw)
In-Reply-To: <001f01c40c3a$b1a95e80$6701050a@MarcM8500>
References: <001f01c40c3a$b1a95e80$6701050a@MarcM8500>
"Marc Mitchell" <marcm@eisolution.com> writes:
> This is follow-up to a problem first reported on 3/1/04. The problem
> has continued to occur intermittently and recently we experienced the
> first occurrence where the first column of a table was the column where
> the corrupted and thus we could not recover it.
It would be useful to look at pg_filedump output for the affected pages.
See http://sources.redhat.com/rhdb/utilities.html to get that program.
I find "-i -f" options to be its most useful display format, although
the raw hex dump (-d) is also good to look at when investigating
data corruption. The first part of the TID (15 in your latest example)
is the block number within the table file; you can use contrib/oid2name
if you need help figuring out which file is the table you want.
> We've observed nothing that would lead us to believe there are any
> hardware problems.
Have you done anything to proactively test for hardware problems?
memtest86, badblocks, etc? It's possible you have a software problem,
but the symptoms sound more like hardware glitches to me.
regards, tom lane
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, marcm@eisolution.com
Subject: Re: Row data corruption under 7.3.5
In-Reply-To: <25825.1079542416@sss.pgh.pa.us>
References: <001f01c40c3a$b1a95e80$6701050a@MarcM8500> <25825.1079542416@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