pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Mikko Partio <mpartio@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Stray autovacuum daemon
Date: Fri, 22 Feb 2008 12:44:30 -0300
Message-ID: <20080222154430.GD9392@alvh.no-ip.org> (raw)
In-Reply-To: <2ca799770802220305v38b800dbt909c84e3b3be57cc@mail.gmail.com>
References: <2ca799770802220305v38b800dbt909c84e3b3be57cc@mail.gmail.com>

Mikko Partio escribió:

> Now, the problem is that I cannot turn autovacuum off! I have tried to set
> autovacuum = off at postgresql.conf with no avail. I have also tried to
> disable the vacuum by inserting rows to pg_autovacuum but still the vacuum
> processes just pop up. What's even more weird is that autovacuum is
> vacuuming the same tables over and over. No sign of xid wraparound issues
> show in the logs. How can I stop autovacuum without restarting the database
> instance?

If your database is in danger of Xid wraparound, autovacuum will run on
it no matter what you do.  Check pg_class.relfrozenxid and
pg_database.datfrozenxid, and the current Xid counter (from
pg_controldata I think).  Also take a look at the description of the
autovacuum_min_freeze_age param (or was it max_freeze_age?  I forget).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (5+ messages)  latest in thread

Message-ID: <20080222154430.GD9392@alvh.no-ip.org>
Permalink:  ../20080222154430.GD9392@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080222154430.GD9392@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, mpartio@gmail.com
  Subject: Re: Stray autovacuum daemon
  In-Reply-To: <20080222154430.GD9392@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox