Re: Disk usage

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Martin Hampl <Martin(dot)Hampl(at)gmx(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Disk usage
Date: 2004-01-06 17:56:34
Message-ID: 200401061756.i06HuYG13306@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Martin Hampl wrote:
> Hi,
>
> I really don't understand the part of the docmentation about
> determining the disk usage of a database (section 24.1).
>
> The bit that puzzles me is:
>
> "contrib/dbsize loads functions into your database that allow you to
> find the size of a table or database from inside psqlwithout the need
> for VACUUM or ANALYZE.
>
> You can also use contrib/oid2name to show disk usage. See
> README.oid2name in that directory for examples. It includes a script
> that shows disk usage for each database."
>
> What is contrib? I am shure it's a directory, but where is it?

In the source tree under /pgsql/contrib/oid2name.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

  • Disk usage at 2004-01-06 11:37:34 from Martin Hampl

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2004-01-06 18:00:31 Re: Integrity problem on 7.3.4
Previous Message Rory Campbell-Lange 2004-01-06 17:51:18 Integrity problem on 7.3.4