Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id A40949FB59C for ; Fri, 8 Jun 2007 10:53:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 04714-06-4 for ; Fri, 8 Jun 2007 10:53:10 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 378229FB6C2 for ; Fri, 8 Jun 2007 10:53:12 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.8/8.13.8) with ESMTP id l58Dr241033903 for ; Fri, 8 Jun 2007 10:53:02 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.8/8.13.8/Submit) id l58DTnjv028634 for pgsql-admin@postgresql.org; Fri, 8 Jun 2007 10:29:49 -0300 (ADT) (envelope-from news) From: "Charles.Hou" X-Newsgroups: pgsql.admin Subject: Re: the right time to vacuum database? Date: Fri, 08 Jun 2007 06:29:55 -0700 Organization: http://groups.google.com Lines: 36 Message-ID: <1181309395.707448.201490@i13g2000prf.googlegroups.com> 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> <20070607174639.GG14087@phlogiston.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Complaints-To: groups-abuse@google.com In-Reply-To: <20070607174639.GG14087@phlogiston.dyndns.org> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; FDM; InfoPath.1; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 Ezxcess200.antlabs.com:3128 (PROXY/4.7.STABLE6) Complaints-To: groups-abuse@google.com Injection-Info: i13g2000prf.googlegroups.com; posting-host=61.221.178.66; posting-account=Mznd-A0AAABITZ14OcULoTm5bpaBaOsm To: pgsql-admin@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/81 X-Sequence-Number: 25749 On Jun 8, 1:46 am, a...@crankycanuck.ca (Andrew Sullivan) wrote: > 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 | a...@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 > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majord...@postgresql.org so that your > message can get through to the mailing list cleanly i have traced the size of the table. About 1000 new rows will be inserted into the table in one day. each row has 300 bytes. 1000*300/1024=293K, but the size of this table had been increased 3MB. 3MB-293K=2.7MB...Why?where is the 2.7MB?