Re: Some frustrations with admin tasks on PGSQL database

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Some frustrations with admin tasks on PGSQL database
Date: 2007-08-17 14:14:39
Message-ID: 20070817141439.GB9685@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Aug 17, 2007 at 09:50:42PM +0800, Phoenix Kiula wrote:
> > How big is the actual table itself (in bytes).
> Where should I find this?

select pg_relation_size('mytable');

depesz

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA. here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rajaram J 2007-08-17 14:16:19 Re: I get a error msg when i try to connect to the DB
Previous Message hubert depesz lubaczewski 2007-08-17 14:14:11 Re: Some frustrations with admin tasks on PGSQL database