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

From Merlin Moncure
Subject Re: REINDEX takes half a day (and still not complete!)
Date
Msg-id BANLkTinyBmQyEAn04VhUgdb=ANVeQ_gH3Q@mail.gmail.com
Whole thread Raw
In response to Re: REINDEX takes half a day (and still not complete!)  (Phoenix Kiula <phoenix.kiula@gmail.com>)
List pgsql-performance
On Sat, Apr 30, 2011 at 4:26 AM, Phoenix Kiula <phoenix.kiula@gmail.com> wrote:
> I suppose that's what I am going to do on a periodic basis from now
> on. There is a lot of DELETE/UPDATE activity. But I wonder if the
> vacuum stuff really should do something that's similar in function?
> What do the high-end enterprise folks do -- surely they can't be
> dumping/restoring every quarter or so....or are they?

The pg_reorg tool (google it) can rebuild a live table rebuilds
without taking major locks.  It's better to try an engineer your
database so that you have enough spare i/o to manage 1-2 continuously
running vacuums, but if things get really out of whack it's there.

merlin

pgsql-performance by date:

Previous
From: Dimitri
Date:
Subject: Re: VX_CONCURRENT flag on vxfs( 5.1 or later) for performance for postgresql?
Next
From: Simon Riggs
Date:
Subject: Re: Postgres 9.0.4 + Hot Standby + FusionIO Drive + Performance => Query failed ERROR: catalog is missing 1 attribute(s) for relid 172226