Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3 - Mailing list pgsql-admin

From Tom Lane
Subject Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3
Date
Msg-id 12917.1272651126@sss.pgh.pa.us
Whole thread Raw
In response to Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3  (Jason Culverhouse <Jason@Mischievous.org>)
List pgsql-admin
Jason Culverhouse <Jason@Mischievous.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

pgsql-admin by date:

Previous
From: Jason Culverhouse
Date:
Subject: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3
Next
From: "Kevin Grittner"
Date:
Subject: Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3