Re: [Admin]To estimate the size of db

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: [Admin]To estimate the size of db
Дата
Msg-id dcc563d10805211208l27b6cb1as5951112bf504ffaa@mail.gmail.com
обсуждение исходный текст
Ответ на [Admin]To estimate the size of db  ("Duan Ligong" <l-duan@zd.cnes.jp.nec.com>)
Список 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 по дате отправления:

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Trouble with recovering disc space
Следующее
От: "Duan Ligong"
Дата:
Сообщение: Re: ]To estimate the size of db