Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0D2124758FB for ; Fri, 9 Aug 2002 11:03:25 -0400 (EDT) Received: from mail1.chek.com (lenny.synacor.com [208.197.227.246]) by postgresql.org (Postfix) with SMTP id 3129C4758F3 for ; Fri, 9 Aug 2002 11:03:24 -0400 (EDT) Received: (qmail 27485 invoked by uid 0); 9 Aug 2002 15:03:28 -0000 Received: from perthesep.installs.com (HELO host112.installs.ops) (206.24.104.131) by lenny.synacor.com with SMTP; 9 Aug 2002 15:03:28 -0000 Subject: Re: What to do about a vacuum... From: "Robert M. Meyer" To: Tom Lane Cc: pgsql-admin@postgresql.org In-Reply-To: <418.1028900838@sss.pgh.pa.us> References: <1028899472.28130.4.camel@skymaster> <418.1028900838@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2-5mdk Date: 09 Aug 2002 10:59:38 -0400 Message-Id: <1028905179.28137.7.camel@skymaster> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/92 X-Sequence-Number: 5207 Well, 'kill -INT pid' doesn't seem to have worked. This is 7.2.1. We really don't want to whack the system but we need to get back online... Any other ideas? Bob On Fri, 2002-08-09 at 09:47, Tom Lane wrote: > "Robert M. Meyer" 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 > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly -- Robert M. Meyer Sr. Network Administrator DigiVision Satellite Services 14 Lafayette Sq, Ste 410 Buffalo, NY 14203-1904 (716)332-1451