Re: Fwd: index corruption in PG 8.3.13

From: Nikhil Sontakke <nikhil(dot)sontakke(at)enterprisedb(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fwd: index corruption in PG 8.3.13
Date: 2011-03-09 14:16:22
Message-ID: AANLkTikEkMxO6XSVc9j8=E3JWhU=FCDtJwWeruOwhhDd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> Re-sending without the attachments. Can someone please allow my
>> attachments through from the previous email?
>
> They are not in the moderation queue, so presumably they got eaten by
> the antispam grue.

Ouch. Attempting to attach the dotty image again..

>
>
>> Blocks 519 to 521 are DELETED. They do not have the LEAF flag set,
>> meaning they could be internal pages, but that is strange since ROOT
>> page is at level 1. Also importantly their next XID is set FrozenXid,
>> meaning VACUUM FULL was at play. Maybe due to deletes, we reduced the
>> hierarchy level or something?
>
> Hierarchy level is never reduced.
>
> I'll send you a perl program we wrote for a customer to check for
> strange issues in btrees.  Please give it a spin; it may give you more
> clues.  If you find additional checks to add, please let me know!
>

Ok, thanks a lot!

Regards,
Nikhils

Attachment Content-Type Size
index_corruption.png image/png 131.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-03-09 14:35:40 Re: Fwd: index corruption in PG 8.3.13
Previous Message Simon Riggs 2011-03-09 14:10:11 Re: Sync Rep and shutdown Re: Sync Rep v19