Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 830E5475AA3 for ; Fri, 9 Aug 2002 09:47:17 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 98CA4475A0E for ; Fri, 9 Aug 2002 09:47:16 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g79DlIVk000419; Fri, 9 Aug 2002 09:47:18 -0400 (EDT) To: "Robert M. Meyer" Cc: pgsql-admin@postgresql.org Subject: Re: What to do about a vacuum... In-reply-to: <1028899472.28130.4.camel@skymaster> References: <1028899472.28130.4.camel@skymaster> Comments: In-reply-to "Robert M. Meyer" message dated "09 Aug 2002 09:24:32 -0400" Date: Fri, 09 Aug 2002 09:47:18 -0400 Message-ID: <418.1028900838@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/91 X-Sequence-Number: 5206 "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