From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Table Sizes
Date: Fri, 14 Mar 2003 10:07:43 +0530
Message-ID: <200303141007.43467.mallah@trade-india.com> (raw)
In-Reply-To: <010a01c2e983$5d8c0440$de138f80@virginia.edu>
References: <3E6BA947.3050205@waste.org>
<200303101515.18859.mallah@trade-india.com>
<010a01c2e983$5d8c0440$de138f80@virginia.edu>
You need to install the contrib/dbsize
package.
Yes it will work from psql. Not sure though
if this contrib package is bundled with
pgsql 7.2.3 , with 7.3.2 yes.
regds
mallah.
On Thursday 13 Mar 2003 10:39 pm, you wrote:
> I assume these command need to be run within psql? They don't work for me.
> Could it be specific to a newer version? We are using 7.2.3
> Thanks
> Jodi
>
> ----- Original Message -----
> From: "Rajesh Kumar Mallah" <mallah@trade-india.com>
> To: "Ogden Nefix" <onefix@waste.org>; <pgsql-admin@postgresql.org>
> Sent: Monday, March 10, 2003 4:45 AM
> Subject: Re: [ADMIN] Table Sizes
>
>
> >
> > 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.
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
> >
>
>
>
--
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.
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: mallah@trade-india.com, jkanter@virginia.edu
Subject: Re: Table Sizes
In-Reply-To: <200303141007.43467.mallah@trade-india.com>
References: <3E6BA947.3050205@waste.org> <200303101515.18859.mallah@trade-india.com> <010a01c2e983$5d8c0440$de138f80@virginia.edu> <200303141007.43467.mallah@trade-india.com>
* 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