pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Milen A. Radev <milen@radev.net>
To: pgsql-admin@postgresql.org
Subject: Re: Raw disk space used
Date: Wed, 01 Aug 2007 16:03:02 +0300
Message-ID: <f8q0a5$5cu$1@sea.gmane.org> (raw)
In-Reply-To: <AB1268D7-687B-45FE-84BC-B8D6B06F1975@indiana.edu>
References: <AB1268D7-687B-45FE-84BC-B8D6B06F1975@indiana.edu>

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




view thread (6+ messages)  latest in thread

Message-ID: <f8q0a5$5cu$1@sea.gmane.org>
Permalink:  ../f8q0a5$5cu$1@sea.gmane.org/
Also on:    postgresql.org/message-id/f8q0a5$5cu$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: milen@radev.net
  Subject: Re: Raw disk space used
  In-Reply-To: <f8q0a5$5cu$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox