Re: Vacuums taking forever :(

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Vacuums taking forever :(
Date: 2009-02-03 17:17:40
Message-ID: 200902030917.40408@hal.medialogik.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 03 February 2009, Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com> wrote:
> The autovacuum was clearly not enough, so we also have a crontab that
> vacuums the tables every hour. This is PG 8.2.9.

How did you determine it wasn't enough? As others have stated, you're
causing your own slowdown by running vacuum so much on tables that aren't
changing.

If you have a particular table that needs more frequent vacuums, like a
session table or something, maybe just cron that. But autovacuum should be
doing it more often than an hour anyway in that case ...

--
Alan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2009-02-03 17:19:16 Re: Full text index not being used
Previous Message Tom Lane 2009-02-03 17:16:59 Re: LIKE with pattern containing backslash