Re: autovacuum not honoring pg_autovacuum in 8.3.5?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: autovacuum not honoring pg_autovacuum in 8.3.5?
Date: 2009-02-13 21:16:02
Message-ID: 1234559763.6483.1.camel@jd-laptop.pragmaticzealot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2009-02-13 at 15:51 -0500, Jaime Casanova wrote:
> On Fri, Feb 13, 2009 at 3:21 PM, Joshua D. Drake <jd(at)commandprompt(dot)com> wrote:
> > Hello,
> >
> > I found this today. Note, auto vacuum has been disabled for this
> > relation for a very, very long time. At the very end you will see that
> > this relation has been autovacuumed previously as well. We have a manual
> > cron to vacuum this table every hour so I am unsure why autovacuum is
> > doing what it is doing.
> >
> > app=# select * from pg_autovacuum where vacrelid = '21474846';
> > -[ RECORD 1 ]----+---------
> > vacrelid | 21474846
> > enabled | f
> > vac_base_thresh | 0
> > vac_scale_factor | 0
> > anl_base_thresh | 0
> > anl_scale_factor | 0
> > vac_cost_delay | 0
> > vac_cost_limit | 0
> > freeze_min_age | 0
> > freeze_max_age | 0
> >
>
> i was bitten for this already... the problem is that you have all
> parameters in 0... they should be -1 (specifically max_freeze_age)
>

Thanks for the work around, but that is ridiculous. I still say this is
a bug. If I say enabled = f, the *only* thing that should be firing
autovacuum on that relation is xid wrap.

Sigh...

Joshua D. Drake

--
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-hackers by date

  From Date Subject
Next Message Tom Lane 2009-02-13 21:18:32 Re: autovacuum not honoring pg_autovacuum in 8.3.5?
Previous Message Hannu Krosing 2009-02-13 20:56:42 Re: The science of optimization in practical terms?