Re: Autovacuum firing up during my manual vacuum on same table

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "Henry C(dot)" <henka(at)cityweb(dot)co(dot)za>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Autovacuum firing up during my manual vacuum on same table
Date: 2011-04-03 20:39:46
Message-ID: 8c330cb05952fe3e0736ab90173cf76d@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 2 Apr 2011 19:26:56 +0200, "Henry C." <henka(at)cityweb(dot)co(dot)za> wrote:
> On Sat, April 2, 2011 14:17, Jens Wilke wrote:
>> Nevertheless since at least 8.4 IMO there's no need to bother with
>> manual vacuum any more.

Uhh, this is entirely untrue. There are plenty of cases where 8.4
autovacuum can't cut it.

>
> Sadly, in my case, the db is so busy that autovac processes run for
weeks
> and
> never catch up (insufficient h/w for the app quite frankly - the
addition
> of

You can disable autovacuum for the relations that you are manually
vacuuming. If pre 8.4 see pg_autovacuum, if post see alter table.

JD

--
PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org
Consulting, Development, Support, Training
503-667-4564 - http://www.commandprompt.com/
The PostgreSQL Company, serving since 1997

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2011-04-03 21:19:59 Re: Autovacuum firing up during my manual vacuum on same table
Previous Message Glenn Maynard 2011-04-03 18:49:00 pg_dump generating unrestorable data (8.4)