Re: Raw disk space used

From: "Milen A(dot) Radev" <milen(at)radev(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Raw disk space used
Date: 2007-08-01 13:03:02
Message-ID: f8q0a5$5cu$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Carol Walter написа:
> Hi, Guys,
>
> Is there a way to tell what the raw disk space used by a single database
> is? I know that databases are fluid, but if there is way to do even a
> snap shot view that is a "ball park" figure, I'd be happy. My user
> keeps clammering for this figure.
>

Depending on what you mean by "raw disk space" the "pg_database_size"
function (mentioned here -
http://www.postgresql.org/docs/current/static/functions-admin.html) will
give you this information.

--
Milen A. Radev

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Browne 2007-08-01 13:25:20 Re: Raw disk space used
Previous Message Carol Walter 2007-08-01 12:49:53 Raw disk space used