Re: Rapidly decaying performance repopulating a large table

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: David Wilson <david(dot)t(dot)wilson(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Rapidly decaying performance repopulating a large table
Date: 2008-04-23 05:59:23
Message-ID: Pine.GSO.4.64.0804230153360.22837@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 22 Apr 2008, David Wilson wrote:

> Is there a way to get the size of a specific index, on that note?

select pg_size_pretty(pg_relation_size('index_name')) works for me.

There's a neat article on other things you can look at like this at
http://andreas.scherbaum.la/blog/archives/282-table-size,-database-size.html

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-04-23 06:29:42 Re: Rapidly decaying performance repopulating a large table
Previous Message Greg Smith 2008-04-23 05:53:20 Re: Rapidly decaying performance repopulating a large table