Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group