| From: | Lee Kindness <lkindness(at)csl(dot)co(dot)uk> |
|---|---|
| To: | Jeff Davis <list-pgsql-general(at)dynworks(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org, Lee Kindness <lkindness(at)csl(dot)co(dot)uk> |
| Subject: | determining database size |
| Date: | 2002-04-18 07:46:33 |
| Message-ID: | 15550.31193.891286.188798@kelvin.csl.co.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Take a look at dbsize in the contrib directory of the source
distribution - it's a function you add to your DB to get the size of
databases. I don't know how the RPMs handle the contrib stuff, but it
might be available without compiling it yourself.
Nicer than the other ways...
Jeff Davis writes:
> I would just like to know how to determine the size of a database. The
> directories inside the data directory are numerical, so I can't associate
> them with a particular database or table.
>
> I would basically just like to create reports so I can determine how fast the
> disk usage is increasing.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Egon Sommer | 2002-04-18 07:57:28 | Performance of column order |
| Previous Message | Curt Sampson | 2002-04-18 06:52:09 | Re: Questions on 7.2.1 query plan choices |