Disk usage - Mailing list pgsql-novice

From Martin Hampl
Subject Disk usage
Date
Msg-id B888007E-403C-11D8-8293-000393674318@gmx.de
Whole thread Raw
Responses Re: Disk usage  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-novice
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?

Thanks,
Martin.


pgsql-novice by date:

Previous
From: Andrew McMillan
Date:
Subject: Re: checking update/insert return
Next
From: Maximilian Tyrtania
Date:
Subject: Need smart sql