pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@gmail.com>
To: Nikola Radakovic <achillea@hi.t-com.hr>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database size
Date: Mon, 6 Nov 2006 15:59:24 -0500
Message-ID: <1d219a6f0611061259s75f95a84ja1e0b721a6f92c84@mail.gmail.com> (raw)
In-Reply-To: <1162846082.16473.5.camel@localhost.localdomain>
References: <1162846082.16473.5.camel@localhost.localdomain>

select pg_database_size('<dbname>')/1024/1024;

http://www.postgresql.org/docs/8.1/interactive/functions-admin.html

On 11/6/06, Nikola Radakovic <achillea@hi.t-com.hr> wrote:
>
> Dear community,
>
> I would be very grateful if someone could answer me,
> where to find instructions how to set the size ( in megabytes ) for
> particular database.
>
>
> best regards,
> N.Radakovic
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
>

view thread (14+ messages)  latest in thread

Message-ID: <1d219a6f0611061259s75f95a84ja1e0b721a6f92c84@mail.gmail.com>
Permalink:  ../1d219a6f0611061259s75f95a84ja1e0b721a6f92c84@mail.gmail.com/
Also on:    postgresql.org/message-id/1d219a6f0611061259s75f95a84ja1e0b721a6f92c84@mail.gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: revoohc@gmail.com, achillea@hi.t-com.hr
  Subject: Re: Database size
  In-Reply-To: <1d219a6f0611061259s75f95a84ja1e0b721a6f92c84@mail.gmail.com>
  References: <1162846082.16473.5.camel@localhost.localdomain> <1d219a6f0611061259s75f95a84ja1e0b721a6f92c84@mail.gmail.com>

* 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