Re: Heavily fragmented table and index data in 8.0.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zoltan Boszormenyi <zb(at)cybertec(dot)at>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Heavily fragmented table and index data in 8.0.3
Date: 2008-06-12 15:21:15
Message-ID: 9633.1213284075@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Zoltan Boszormenyi <zb(at)cybertec(dot)at> writes:
> The realtime trace I captured from the hung INSERT shows that it
> enters two functions repeatedly: _bt_relandgetbuf() and _bt_compare().
> The pattern in which these functions entered match either _bt_moveright() or
> _bt_insertonpg().

What that sounds like to me is a corrupt index (infinite loop of
right-links, perhaps). Have you tried REINDEXing the table?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-06-12 15:29:56 Re: Fw: postgrepsql vacuum
Previous Message David Lambert 2008-06-12 15:14:03 Re: Determining offsets to jump to grab a group of records