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

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Jason Culverhouse" <Jason(at)Mischievous(dot)org>, <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:21:08
Message-ID: 4BDAD9440200002500031112@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jason Culverhouse <Jason(at)Mischievous(dot)org> wrote:

> The server is postgres 8.3 on ubuntu linux.

There have been a number of bugs fixed in vacuuming, including
autovacuum, since the original 8.3 release. I hope you mean
8.3.somethingrecent -- if not, you should get the latest fixes.

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

That is safe. If it doesn't work, you may need a bigger hammer.

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2010-04-30 18:39:41 Re: dump diffs even w/o db changes
Previous Message Tom Lane 2010-04-30 18:12:06 Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3