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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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