Re: Table Sizes

From: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
To: Ogden Nefix <onefix(at)waste(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Table Sizes
Date: 2003-03-10 09:45:18
Message-ID: 200303101515.18859.mallah@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


use contrib/dbsize

1. select relation_size('schemaname.tablename');
2. select database_size('databasename');

function 1 does not works with tablename in miXed CaSe.

regds
mallah.

On Monday 10 Mar 2003 2:21 am, Ogden Nefix wrote:
> Hi,
>
> Is it possible to find out the size of certain tables in PostgreSQL? If
> so, how?
>
> Thank you
>
> Ogden
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>

--

Regds
Mallah

----------------------------------------
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar Mallah 2003-03-10 09:46:28 Re: word search
Previous Message Daniel Rubio 2003-03-10 08:34:52 Re: Appliying Rules and Triggers