Thread: The need for full vacuum / reindex

The need for full vacuum / reindex

From
Tobias Brox
Date:
By occation, we dropped the whole production database and refreshed it from
a database backup - and all our performance problems seems to have gone.  I
suppose this means that to keep the database efficient, one eventually does
have to do reindexing and/or full vacuum from time to time?

--
Notice of Confidentiality: This email is sent unencrypted over the network,
and may be stored on several email servers; it can be read by third parties
as easy as a postcard.  Do not rely on email for confidential information.

Re: The need for full vacuum / reindex

From
Bruno Wolff III
Date:
On Wed, Sep 28, 2005 at 05:33:27 +0200,
  Tobias Brox <tobias@nordicbet.com> wrote:
> By occation, we dropped the whole production database and refreshed it from
> a database backup - and all our performance problems seems to have gone.  I
> suppose this means that to keep the database efficient, one eventually does
> have to do reindexing and/or full vacuum from time to time?

Normally you only need to do that if you didn't vacuum often enough or with
high enough fsm setting and bloat has gotten out of hand to the point that
you need to recover some space.