pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert M. Meyer <rmeyer@installs.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: What to do about a vacuum...
Date: Fri, 09 Aug 2002 09:47:18 -0400
Message-ID: <418.1028900838@sss.pgh.pa.us> (raw)
In-Reply-To: <1028899472.28130.4.camel@skymaster>
References: <1028899472.28130.4.camel@skymaster>

"Robert M. Meyer" <rmeyer@installs.com> writes:
> IN my infinite wisdom, in an effort to resolve my performance problems,
> I started a full vacuum of my database last night around 4:00AM.  It's
> still running at 9;20AM and it has all of the tables locked.

Huh?  Vacuum should only lock one table at a time.

> Is it safe to cancel the query from inside pgmonitor?

Yes, a SIGINT should be safe enough.  You'll lose the benefit of whatever
vacuuming work has been done so far on the current table.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <418.1028900838@sss.pgh.pa.us>
Permalink:  ../418.1028900838@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/418.1028900838@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rmeyer@installs.com
  Subject: Re: What to do about a vacuum...
  In-Reply-To: <418.1028900838@sss.pgh.pa.us>
  References: <1028899472.28130.4.camel@skymaster> <418.1028900838@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