Skip site navigation (1) Skip section navigation (2)

Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jason Culverhouse <Jason(at)Mischievous(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3
Date: 2010-04-30 18:12:06
Message-ID: 12917.1272651126@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Jason Culverhouse <Jason(at)Mischievous(dot)org> writes:
> I have a vacuum process that has been running on a table for the past 20 days.
> The server is postgres 8.3 on ubuntu linux.

> Can I safely kill the vacuum with:
> 	select pg_cancel_backend(26433)

Sure.

20 days is a long time.  Is it actually running, or blocked on a lock?
If not blocked, I have to guess that you've chosen very poor vacuum
delay settings.

			regards, tom lane

In response to

pgsql-admin by date

Next:From: Kevin GrittnerDate: 2010-04-30 18:21:08
Subject: Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3
Previous:From: Jason CulverhouseDate: 2010-04-30 17:57:16
Subject: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group