pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jason Culverhouse <Jason@Mischievous.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3
Date: Fri, 30 Apr 2010 14:12:06 -0400
Message-ID: <12917.1272651126@sss.pgh.pa.us> (raw)
In-Reply-To: <73FACE25-A114-4F01-857C-F21067ADA1BA@Mischievous.org>
References: <73FACE25-A114-4F01-857C-F21067ADA1BA@Mischievous.org>

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



view thread (4+ messages)  latest in thread

Message-ID: <12917.1272651126@sss.pgh.pa.us>
Permalink:  ../12917.1272651126@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12917.1272651126@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Jason@Mischievous.org
  Subject: Re: Can I safely kill a VACUUM ANALYZE with pg_cancel_backend 8.3
  In-Reply-To: <12917.1272651126@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox