Fighting the autovacuumer (to prevent wraparound)

From: Michael Graham <mgraham(at)bloxx(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Fighting the autovacuumer (to prevent wraparound)
Date: 2013-10-03 18:48:11
Message-ID: 1380826091.16581.77.camel@smokey
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

We partition the data in postgres in a per-month basis and run a script
to delete old partitions. Sometimes this script fails and the delete
doesn't happen because of a deadlock, today I noticed that it was the
autovacuumer that fighting with the script.

Is it possible to stop the autovacuumer temporarily (and cancel any on
going autovacuum) so that my script can remove the table that the
autovacuumer wants to vacuum?

I'm on 9.1.4 if it matter.

Cheers,
--
Michael Graham <mgraham(at)bloxx(dot)com>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message bricklen 2013-10-03 18:53:06 Re: Fighting the autovacuumer (to prevent wraparound)
Previous Message akp geek 2013-10-03 18:01:35 Re: Postgres replication question :- One master 2 slaves 9.0.10