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 3AD0BEFF7E for ; Thu, 5 Jun 2003 13:59:43 +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 85310-10 for ; Thu, 5 Jun 2003 13:59:41 +0000 (GMT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id A1B5DEFF74 for ; Thu, 5 Jun 2003 13:59:41 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h55DxjU6002105; Thu, 5 Jun 2003 09:59:45 -0400 (EDT) To: Shankar K Cc: pgsql-admin@postgresql.org Subject: Re: interpret vacuum verbose output In-reply-to: <20030604164557.24757.qmail@web21102.mail.yahoo.com> References: <20030604164557.24757.qmail@web21102.mail.yahoo.com> Comments: In-reply-to Shankar K message dated "Wed, 04 Jun 2003 09:45:57 -0700" Date: Thu, 05 Jun 2003 09:59:45 -0400 Message-ID: <2104.1054821585@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200306/29 X-Sequence-Number: 9020 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