Re: "error with invalid page header" while vacuuming pgbench data

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-performance(at)postgresql(dot)org>, "John Rouillard" <rouilj(at)renesys(dot)com>
Subject: Re: "error with invalid page header" while vacuuming pgbench data
Date: 2011-05-25 20:19:59
Message-ID: 4DDD1E1F020000250003DCDA@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

John Rouillard <rouilj(at)renesys(dot)com> wrote:
> On Mon, May 23, 2011 at 05:21:04PM -0500, Kevin Grittner wrote:
>> John Rouillard <rouilj(at)renesys(dot)com> wrote:
>>
>> > I seem to be able to provoke this error:
>> >
>> > vacuum...ERROR: invalid page header in
>> > block 2128910 of relation base/16385/21476
>>
>> What version of PostgreSQL?
>
> Hmm, I thought I replied to this, but I haven't seen it come back
> to me on list. It's postgres version: 8.4.5.
>
> rpm -q shows
>
> postgresql84-server-8.4.5-1.el5_5.1

I was hoping someone else would jump in, but I see that your
previous post didn't copy the list, which solves *that* mystery.

I'm curious whether you might have enabled one of the "it's OK to
trash my database integrity to boost performance" options. (People
with enough replication often feel that this *is* OK.) Please run
the query on this page and post the results:

http://wiki.postgresql.org/wiki/Server_Configuration

Basically, if fsync or full_page_writes is turned off and there was
a crash, that explains it. If not, it provides more information to
proceed.

You might want to re-start the thread on pgsql-general, though. Not
everybody who might be able to help with a problem like this follows
the performance list. Or, if you didn't set any of the dangerous
configuration options, this sounds like a bug -- so pgsql-bugs might
be even better.

-Kevin

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2011-05-25 20:41:16 Re: "error with invalid page header" while vacuuming pgbench data
Previous Message Merlin Moncure 2011-05-25 20:14:42 Re: Speeding up loops in pl/pgsql function