From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: ahmostovoi@gmail.com
To: pgsql-admin@postgresql.org
Subject: Re: Estimate physical index size
Date: Sun, 11 Sep 2011 10:47:41 -0500
Message-ID: <4E6C91CD02000025000410C0@gw.wicourts.gov> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, ahmostovoi@gmail.com
Subject: Re: Estimate physical index size
In-Reply-To: <4E6C91CD02000025000410C0@gw.wicourts.gov>
References: <4E6C91CD02000025000410C0@gw.wicourts.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox