Re: Index bloat of 4x - Mailing list pgsql-general

From Csaba Nagy
Subject Re: Index bloat of 4x
Date
Msg-id 1169197877.11526.10.camel@coppola.muc.ecircle.de
Whole thread Raw
In response to Re: Index bloat of 4x  ("Ed L." <pgsql@bluepolka.net>)
Responses Re: Index bloat of 4x  ("Ed L." <pgsql@bluepolka.net>)
List pgsql-general
[snip]
> I afraid I don't see how any of the answers I saw discussed fit a
> 24x7 operation.  Reindex, drop index, vacuum full, ... they all
> block production queries of one sort or another for significant
> periods of time (minutes) on large (multi/tens of GB) tables,
> and thus are infeasible for true 24x7 operations.[snip]

This is not completely true, as of 8.2 there is an online index build,
and if that could be used in a background thread to rebuild the index
and replace the bloated one once it's finished, that would be a
non-blocking operation which could be done in 24x7 situations.

There are some issues with using the online index build for replacing an
existing index, but if those could be solved it would be a viable
solution I think...

Cheers,
Csaba.



pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Defining data directory while installing [WinXP]
Next
From: "Simon Riggs"
Date:
Subject: Re: [HACKERS] Autovacuum Improvements