Re: 3rd time is a charm.....right sibling is not next child crash.

From: Jeff Amiel <jamiel(at)istreamimaging(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Jeff Amiel <becauseimjeff(at)yahoo(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: 3rd time is a charm.....right sibling is not next child crash.
Date: 2010-06-08 19:15:28
Message-ID: C8340100.4B55E%jamiel@istreamimaging.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 6/8/10 2:03 PM, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com> wrote:

>
> I've seen this problem (and others) in a high-load environment. Not
> Slony related though.
>
> I wrote a small tool to check btree index files for consistency problems
> such as this one, by parsing pg_filedump output. I've seen strange
> things such as index pointers pointing to pages that shouldn't have been
> pointed to; mismatching sibling pointers; and others.
>
> Do you have a copy of the broken index file?

Alas, no. But I have another 5 days to reproduce the problem before
changing hardware/versions (which will probably bring a whole new set of
'opportunities' to deal with). If it happens again, I will snag the index
file for analysis.

Any way you can share your tool source so I can proactively look for issues
in my indexes?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2010-06-08 19:16:27 Re: Some insight on the proper SQL would be appreciated
Previous Message Andy Colson 2010-06-08 19:12:44 Re: Some insight on the proper SQL would be appreciated

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2010-06-08 19:34:11 Re: hstore ==> and deprecate =>
Previous Message Robert Haas 2010-06-08 19:07:58 hstore ==> and deprecate =>