Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 113A04758F3 for ; Fri, 9 Aug 2002 09:28:20 -0400 (EDT) Received: from mail1.chek.com (lisa.synacor.com [208.197.227.27]) by postgresql.org (Postfix) with SMTP id AB41D47546E for ; Fri, 9 Aug 2002 09:28:18 -0400 (EDT) Received: (qmail 28246 invoked by uid 0); 9 Aug 2002 13:28:22 -0000 Received: from perthesep.installs.com (HELO host112.installs.ops) (206.24.104.131) by lisa.synacor.com with SMTP; 9 Aug 2002 13:28:22 -0000 Subject: What to do about a vacuum... From: "Robert M. Meyer" To: pgsql-admin@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2-5mdk Date: 09 Aug 2002 09:24:32 -0400 Message-Id: <1028899472.28130.4.camel@skymaster> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/90 X-Sequence-Number: 5205 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. Is it safe to cancel the query from inside pgmonitor? I've pretty much determined that ripping the thread out by the roots is a bad thing. This goes back to my earlier thread about postgres performance slowly getting worse. I made the assumption that we were doing full vacuums knew for sure. I checked the script yesterday and found that the '-f' flag was not turned on...so I turned it on. It has gotten to the part where it pegs the CPU (99.9% of one cpu) and it's been there for a while. So far, it's rung up 3:13 of CPU time since it started. Can I cancel the query and what will that do to me? Thanks... Cheers! Bob -- Robert M. Meyer Sr. Network Administrator DigiVision Satellite Services 14 Lafayette Sq, Ste 410 Buffalo, NY 14203-1904 (716)332-1451