Re: Database,TempDB,index,Transaction log sizes

From: Jim Nasby <jnasby(at)pervasive(dot)com>
To: Sharma;G(dot)S(dot) <ghanshyam(at)newgen(dot)co(dot)in>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Database,TempDB,index,Transaction log sizes
Date: 2006-08-08 16:57:16
Message-ID: DECF3B1D-4C44-40C6-B788-64FC33F8334B@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Aug 8, 2006, at 3:10 AM, Sharma;G.S. wrote:
> Dear all,
> I have a database of 53GB , i want to know break up of these 53GB .
> Is there any command or way through which i can find out that how
> much space is used by database,Transaction Log,TempDB, tables
> indexes etc.

The sysviews project on http://pgfoundry.org has system views that
will contain some of that info. You can also look in $PGDATA; there's
a tool (in contrib, I think) that will convert the filenames into
what relation they are.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jim Nasby 2006-08-08 17:04:37 Re: Start-up script for Solaris
Previous Message Jim Nasby 2006-08-08 16:53:37 Re: disk usage spike