On Fri, 2009-02-13 at 15:51 -0500, Jaime Casanova wrote: > On Fri, Feb 13, 2009 at 3:21 PM, Joshua D. Drake <j...@commandprompt.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: jdr...@jabber.postgresql.org Consulting, Development, Support, Training 503-667-4564 - http://www.commandprompt.com/ The PostgreSQL Company, serving since 1997 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers