Re: [Admin]To estimate the size of db - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: [Admin]To estimate the size of db
Date
Msg-id dcc563d10805211208l27b6cb1as5951112bf504ffaa@mail.gmail.com
Whole thread Raw
In response to [Admin]To estimate the size of db  ("Duan Ligong" <l-duan@zd.cnes.jp.nec.com>)
List pgsql-admin
On Wed, May 14, 2008 at 7: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?
>
> I know there are a lot of factors, such as the frequency
> of updating, data size, which affects the size of db and it seems difficult
> to estimate it precisely.

There's also the old fashioned way:

sudo su - postgres
cd $PGDATA  # or wherever you point with -D on startup
du -sh .

pgsql-admin by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Trouble with recovering disc space
Next
From: "Duan Ligong"
Date:
Subject: Re: ]To estimate the size of db