Re: How can I known the size of a database, table by table ?

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How can I known the size of a database, table by table ?
Date: 2006-03-27 17:33:29
Message-ID: 20060327173329.GA30204@KanotixBox
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruno Baguette <pgsql-ml(at)baguette(dot)net> schrieb:

> Hello,
>
> I works on a PostgreSQL 8.0.4 database, and I would like to known the size
> (in bytes, Mbytes or anything else) of that database, for each table.
>
> How can I do that ?

I'm not sure if this functions available in 8.0:
If not, see in contrib.

http://www.postgresql.org/docs/8.1/interactive/functions-admin.html

=>

pg_relation_size(text) and other.

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknow)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shoaib Mir 2006-03-27 17:38:41 Re: How can I known the size of a database, table by table ?
Previous Message Leonel Nunez 2006-03-27 17:29:50 Re: How can I known the size of a database, table by table