X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5F74ED1B430 for ; Wed, 26 Nov 2003 21:44:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 84099-03 for ; Wed, 26 Nov 2003 17:43:38 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 577FED1B43F for ; Wed, 26 Nov 2003 17:43:30 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hAQLhb19017933; Wed, 26 Nov 2003 16:43:37 -0500 (EST) To: Jeff Boes Cc: pgsql-admin@postgresql.org Subject: Re: Vacuum stats interpreted? In-reply-to: <6b79e0aa2a1c3668937e1ce087c4a819@news.teranews.com> References: <6b79e0aa2a1c3668937e1ce087c4a819@news.teranews.com> Comments: In-reply-to Jeff Boes message dated "Wed, 26 Nov 2003 15:12:21 +0000" Date: Wed, 26 Nov 2003 16:43:37 -0500 Message-ID: <17932.1069883017@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/457 X-Sequence-Number: 11444 Jeff Boes writes: > The "Keep" and "UnUsed" numbers seem high to me, compared to other tables. Can > anyone interpret these and tell me anything about what we could do with this > table to make it "look" better? "Keep" is the number of rows that are committed dead but had to be kept anyway, because there are open transactions old enough to still potentially see them. The only way to reduce that is to not have old transactions hanging 'round while you vacuum. UnUsed is the number of empty line-pointer slots. At 4 bytes apiece, this would have to vastly exceed the number of live tuples before you should worry much. 7.4 labels these numbers in a hopefully more user-friendly way, btw. regards, tom lane