X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6B3D6D86B5 for ; Wed, 31 Aug 2005 15:06:41 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08166-01 for ; Wed, 31 Aug 2005 18:06:38 +0000 (GMT) Received: from mx1.surnet.cl (mx1.surnet.cl [216.155.73.180]) by svr1.postgresql.org (Postfix) with ESMTP id BE7FBD852F for ; Wed, 31 Aug 2005 15:06:36 -0300 (ADT) Received: from unknown (HELO cluster.surnet.cl) (216.155.73.164) by mx1.surnet.cl with ESMTP; 31 Aug 2005 14:06:34 -0400 X-IronPort-AV: i="3.96,158,1122868800"; d="scan'208"; a="3014583:sNHT45643418" Received: from alvh.no-ip.org (216.155.78.140) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 42B3EF6000AA428C; Wed, 31 Aug 2005 14:06:34 -0400 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 404B4C2DC2A; Wed, 31 Aug 2005 14:07:03 -0400 (CLT) Date: Wed, 31 Aug 2005 14:07:03 -0400 From: Alvaro Herrera To: Jeff Frost Cc: Tom Lane , pgsql-admin@postgresql.org Subject: Re: auto vacuum settings Message-ID: <20050831180703.GA23453@surnet.cl> Mail-Followup-To: Jeff Frost , Tom Lane , pgsql-admin@postgresql.org References: <43152971.1030508@winklerpartners.com> <27988.1125463452@sss.pgh.pa.us> <1400.1125496055@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.10i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.251 required=5 tests=[AWL=-0.525, DNS_FROM_RFC_ABUSE=0.374, DNS_FROM_RFC_POST=1.376, RCVD_IN_NJABL_PROXY=1.026] X-Spam-Level: ** X-Archive-Number: 200508/418 X-Sequence-Number: 18737 On Wed, Aug 31, 2005 at 10:59:49AM -0700, Jeff Frost wrote: > Thanks Tom! > > Now what does the relpages column mean? I.e. how should I interpret that > entry for my tables? relpages is the number of "pages" of the table. A page is 8kb (unless you changed a compile-time setting -- you can check it with SHOW block_size). Each page stores whole tuples, and can have some amount of free space. Tuples exceeding a certain length will be "toasted", that is, some of its attributes will be moved to an external table. Check the documentation for more details -- there is a section called "Disk Storage" or something similar. -- Alvaro Herrera -- Valdivia, Chile Architect, www.EnterpriseDB.com "[PostgreSQL] is a great group; in my opinion it is THE best open source development communities in existence anywhere." (Lamar Owen)