Re: Vacuum takes a really long time, vacuum full required

From: Rod Taylor <pg(at)rbt(dot)ca>
To: Max Baker <max(at)warped(dot)org>
Cc: Postgresql Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Vacuum takes a really long time, vacuum full required
Date: 2004-10-19 15:40:17
Message-ID: 1098200416.750.238.camel@home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> Whatever the case, the database still slows down to a halt after a month or
> so, and I have to go in and shut everything down and do a VACUUM FULL by
> hand. One index (of many many) takes 2000 seconds to vacuum. The whole
> process takes a few hours.

Do a REINDEX on that table instead, and regular vacuum more frequently.

> $ pg_config --version
> PostgreSQL 7.3.2

7.4.x deals with index growth a little better 7.3 and older did.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Sullivan 2004-10-19 15:47:18 Re: Why isn't this index being used?
Previous Message Max Baker 2004-10-19 15:38:21 Vacuum takes a really long time, vacuum full required