Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D3AC59FB743 for ; Thu, 7 Jun 2007 14:46:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 55475-03 for ; Thu, 7 Jun 2007 14:46:47 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id 90E679FB6B1 for ; Thu, 7 Jun 2007 14:46:50 -0300 (ADT) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1HwM4K-0006aG-Ra for pgsql-admin@postgresql.org; Thu, 07 Jun 2007 13:46:44 -0400 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 59097404E; Thu, 7 Jun 2007 13:46:39 -0400 (EDT) Date: Thu, 7 Jun 2007 13:46:39 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: the right time to vacuum database? Message-ID: <20070607174639.GG14087@phlogiston.dyndns.org> References: <1181039589.643323.59660@r19g2000prf.googlegroups.com> <20070605132546.GI4818@phlogiston.dyndns.org> <1181089690.963738.260660@n15g2000prd.googlegroups.com> <20070606195101.GF11545@phlogiston.dyndns.org> <1181200023.281625.249120@n15g2000prd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1181200023.281625.249120@n15g2000prd.googlegroups.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/70 X-Sequence-Number: 25738 On Thu, Jun 07, 2007 at 12:07:03AM -0700, Charles.Hou wrote: > i use the VACUUM VERBOSE a table , but it had been hold 10 minutes . i > must use the linux command " kill " to exit the VACUUM. > after i kill this PID, the PostgreSql have been restart > automatically. Maybe it was doing work. Why did you kill it? If there is a problem on that table, I wouldn't be surprised that it'd take 10 minutes. You just caused all the work it started to do to be undone, and to cause more bloat. But. . . > DETAIL: 0 dead row versions cannot be removed yet. . . . this suggests you don't have bloat on that table at least. So it sounds to me like your disk use is going up because you have a lot of data. A -- Andrew Sullivan | ajs@crankycanuck.ca In the future this spectacle of the middle classes shocking the avant- garde will probably become the textbook definition of Postmodernism. --Brad Holland