Re: Corrupt data pages...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kevin Brown <kevin(at)sysexperts(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Corrupt data pages...
Date: 2006-04-18 16:57:14
Message-ID: 14583.1145379434@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kevin Brown <kevin(at)sysexperts(dot)com> writes:
>> I'll put the files on a web server and post links to them here.
> You can find them here:
> https://gazebo.sysexperts.com/~kevin/postgresql

AFAICT, the first half of page 73 is OK, but the second half clearly is
trashed. In the raw-format dump it does look a whole lot like the
second half has been replaced by the first half of a page of some index.

It's fairly hard to see how that could happen inside Postgres. One can
readily imagine bugs that might replace one whole page with another,
but there aren't any operations that manipulate half-a-page. On the
other hand, if your kernel uses 4K blocksize, this could be explained
as substitution of one buffer for another at the kernel level. So my
money is on a kernel bug. As I mentioned, we've once or twice before
seen reports that looked like similar substitutions of single pages by
the kernel.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-04-18 17:26:23 Re: Is full_page_writes=off safe in conjunction with
Previous Message Marc G. Fournier 2006-04-18 15:40:45 Re: CVS tags