Re: db_space

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Campano, Troy" <Troy(dot)Campano(at)LibertyMutual(dot)com>
Cc: Pgsql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: db_space
Date: 2004-02-09 22:30:32
Message-ID: 200402092230.i19MUWo09895@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Campano, Troy wrote:
> Is there a way to get the size of your PostgreSQL database using sql?
> I need this for an inventory program.

No, not db size. You have to use 'du'. See the manual section
"Managing Disk Space" in the admin section.

--
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

  • db_space at 2004-02-09 21:50:18 from Campano, Troy

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jason Tesser 2004-02-09 23:01:30 Case sensitivity
Previous Message Joe Lester 2004-02-09 22:20:45 Re: Increasing Max Connections Mac OS 10.3