Re: Thoughts on maintaining 7.3 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Thoughts on maintaining 7.3
Date
Msg-id 27655.1065326253@sss.pgh.pa.us
Whole thread Raw
In response to Re: Thoughts on maintaining 7.3  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Thoughts on maintaining 7.3
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> No.  You'd be better off using REINDEX for that, I think.

> I guess my point is that if you forget to run regular vacuum for a
> month, then realize the problem, you can just do a VACUUM FULL and the
> heap is back to a perfect state as if you had been running regular
> vacuum all along.  That is not true of indexes.  It would be nice if it
> would.

A VACUUM FULL that invoked REINDEX would accomplish that *better* than
one that didn't, because of the problem of duplicate entries for moved
tuples.  See my response just now to Alvaro.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Thoughts on maintaining 7.3
Next
From: Bruce Momjian
Date:
Subject: Re: [PERFORM] COUNT(*) again (was Re: Index/Function organized