pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaime Casanova <systemguards@gmail.com>
To: Duan Ligong <l-duan@zd.cnes.jp.nec.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: [Admin]To estimate the size of db
Date: Wed, 14 May 2008 23:27:47 -0500
Message-ID: <c2d9e70e0805142127t3efb82e3qd7625d207ae9c360@mail.gmail.com> (raw)
In-Reply-To: <004301c8b62b$b183e840$f623480a@nsl.ad.nec.co.jp>
References: <004301c8b62b$b183e840$f623480a@nsl.ad.nec.co.jp>

On Wed, May 14, 2008 at 8:33 PM, Duan Ligong <l-duan@zd.cnes.jp.nec.com> wrote:
>
> Hi, all
>
> Is there a way to estimate the size of the space which a postgresql database
> occupies? or the max size of db?
>

if pg >= 8.1 then
    http://www.postgresql.org/docs/8.1/static/functions-admin.html#FUNCTIONS-ADMIN-DBSIZE
else
    there is a contrib/dbsize
end if

-- 
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Guayaquil - Ecuador
Cel. (593) 087171157



view thread (7+ messages)  latest in thread

Message-ID: <c2d9e70e0805142127t3efb82e3qd7625d207ae9c360@mail.gmail.com>
Permalink:  ../c2d9e70e0805142127t3efb82e3qd7625d207ae9c360@mail.gmail.com/
Also on:    postgresql.org/message-id/c2d9e70e0805142127t3efb82e3qd7625d207ae9c360@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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: systemguards@gmail.com, l-duan@zd.cnes.jp.nec.com
  Subject: Re: [Admin]To estimate the size of db
  In-Reply-To: <c2d9e70e0805142127t3efb82e3qd7625d207ae9c360@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