Thread: Database size

Database size

From
Elielson Fontanezi
Date:
Hello folks!

    Is there any way to know the database size of a postgres 7.2 db?

    Thanks!

Elielson,

Re: Database size

From
Bruce Momjian
Date:
Elielson Fontanezi wrote:
> Hello folks!
>
>     Is there any way to know the database size of a postgres 7.2 db?

Yes, use contrib/oid2name and 'du', or contrib/dblink.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026