X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 110E1EFF6F for ; Fri, 6 Jun 2003 17:07:44 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 47269-05 for ; Fri, 6 Jun 2003 17:07:42 +0000 (GMT) Received: from web21102.mail.yahoo.com (web21102.mail.yahoo.com [216.136.227.104]) by svr1.postgresql.org (Postfix) with SMTP id 01019EDEB8 for ; Fri, 6 Jun 2003 17:07:42 +0000 (GMT) Message-ID: <20030606170741.2150.qmail@web21102.mail.yahoo.com> Received: from [208.253.218.33] by web21102.mail.yahoo.com via HTTP; Fri, 06 Jun 2003 10:07:41 PDT Date: Fri, 6 Jun 2003 10:07:41 -0700 (PDT) From: Shankar K Subject: Re: interpret vacuum verbose output To: Tom Lane Cc: pgsql-admin@postgresql.org In-Reply-To: <2104.1054821585@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=EMAIL_ATTRIBUTION, FROM_ENDS_IN_NUMS, IN_REP_TO, MAILTO_TO_SPAM_ADDR X-Spam-Level: X-Archive-Number: 200306/42 X-Sequence-Number: 9033 Thanks tom that was very useful. just wondering what could be "Keep 0, UnUsed 205434" refer here. does that any of it impact in evaluvating the vaccum frequecy. thanks, Shankar --- Tom Lane wrote: > Shankar K writes: > > I'm trying to evaluate the frequecy to run vacuum > > analyze on key tables. so if anyone could help me > to > > interpret the output of vacuum analyze verbose > output > > that would be great. > > > INFO: Removed 55448 tuples in 2367 pages. > > CPU 0.04s/0.11u sec elapsed 0.41 sec. > > INFO: Pages 11266: Changed 4, Empty 0; Tup 231: > Vac > > 55448, Keep 0, UnUsed 205434. > > This says that you have 231 live tuples versus 55448 > that were removed --- > in other words, less than one-half of one percent of > your table was > current data. You need to vacuum this table a LOT > more often than > you are doing. > > You will need a VACUUM FULL and a REINDEX to get the > table and index > physical sizes down to something reasonable, after > which a more rigorous > schedule of plain vacuums ought to keep things in > shape. > > 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 __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com