Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9B49AB5DBC8 for ; Sun, 11 Sep 2011 12:47:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 52105-08 for ; Sun, 11 Sep 2011 15:47:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 112C1B5DBC5 for ; Sun, 11 Sep 2011 12:47:44 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Sun, 11 Sep 2011 10:47:43 -0500 Message-Id: <4E6C91CD02000025000410C0@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Sun, 11 Sep 2011 10:47:41 -0500 From: "Kevin Grittner" To: , Subject: Re: Estimate physical index size Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/56 X-Sequence-Number: 38293 Alejandro wrote: > I need to know how to estimate physical index size. I can't find > any formulas in online documentation. For an existing index you probably want pg_relation_size(): http://www.postgresql.org/docs/9.0/interactive/functions-admin.html#FUNCTIONS-ADMIN-DBSIZE -Kevin