Re: Database size

From: "Chris Hoover" <revoohc(at)gmail(dot)com>
To: "Nikola Radakovic" <achillea(at)hi(dot)t-com(dot)hr>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Database size
Date: 2006-11-06 20:59:24
Message-ID: 1d219a6f0611061259s75f95a84ja1e0b721a6f92c84@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)hi(dot)t-com(dot)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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Richard Broersma Jr 2006-11-06 20:59:26 Re: Database size
Previous Message Nikola Radakovic 2006-11-06 20:48:02 Database size