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

From Csaba Nagy
Subject Re: Index bloat of 4x
Date
Msg-id 1169052495.22307.283.camel@coppola.muc.ecircle.de
Whole thread Raw
In response to Re: Index bloat of 4x  ("Greg Sabino Mullane" <greg@turnstep.com>)
List pgsql-general
[snip]
> Come to think of it, an auto-reindex option might be nice in core someday.
> TODO item?

Marry it with autovacuum + online index build, and it will be cool ;-)

BTW, having a privileged background thread doing the reindex could be a
solution to most of the objections regarding online reindex, as the
thread would be privileged enough already to be able to back out if
something fails (part of the objections), and it could stay around long
enough to only lock tentatively in a loop in order to avoid deadlocks
(another part of the objections).

If it would be also marked the same as the vacuum threads not to block
other vacuums, then it would also not be a problem that it runs 2
days...

Cheers,
Csaba.




pgsql-general by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: Index bloat of 4x
Next
From: Tom Lane
Date:
Subject: Re: SELECT INTO TEMPORARY problem