Re: REINDEX takes half a day (and still not complete!) - Mailing list pgsql-performance

From Greg Smith
Subject Re: REINDEX takes half a day (and still not complete!)
Date
Msg-id 4DBBC331.7080200@2ndQuadrant.com
Whole thread Raw
In response to Re: REINDEX takes half a day (and still not complete!)  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: REINDEX takes half a day (and still not complete!)  (Phoenix Kiula <phoenix.kiula@gmail.com>)
List pgsql-performance
On 04/23/2011 03:44 PM, Robert Haas wrote:
> On Apr 17, 2011, at 11:30 AM, Phoenix Kiula<phoenix.kiula@gmail.com>  wrote:
>
>> Postgres is 8.2.9.
>>
>>
> An upgrade would probably help you a lot, and as others have said it sounds like your hardware is failing, so you
probablywant to deal with that first. 
>
> I am a bit surprised, however, that no one seems to have mentioned using CLUSTER rather than VACUUM or REINDEX.
Sometimesthat's worth a try... 
>

Don't know if it was for this reason or not for not mentioning it by
others, but CLUSTER isn't so great in 8.2.  The whole "not MVCC-safe"
bit does not inspire confidence on a production server.

--
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us



pgsql-performance by date:

Previous
From: Greg Smith
Date:
Subject: Re: VX_CONCURRENT flag on vxfs( 5.1 or later) for performance for postgresql?
Next
From: Phoenix Kiula
Date:
Subject: Re: REINDEX takes half a day (and still not complete!)