Re: Detemine database size on Postgres 8.0

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Detemine database size on Postgres 8.0
Дата
Msg-id dcc563d10903020952k136bb22ex747f771206f63f58@mail.gmail.com
обсуждение исходный текст
Ответ на Detemine database size on Postgres 8.0  (Thom Brown <thombrown@gmail.com>)
Ответы Re: Detemine database size on Postgres 8.0  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-general
On Mon, Mar 2, 2009 at 8:25 AM, Thom Brown <thombrown@gmail.com> wrote:
> Hi all,
>
> We have a database server which is on version 8.0.12.  I was wondering if
> anyone knows of a way to tell the size of each database?

Back in the olden days when I was on 8.0 I would just use du -sh to find out.

sudo su - postgres
cd $PGDATA/base
oid2name
du -sh *

and match them up.  yeah, I had a script that made it prettier but
that worked fine.

If you're on windows I don't know what to tell you about doing these
things from the shell.

В списке pgsql-general по дате отправления:

Предыдущее
От: Chris Browne
Дата:
Сообщение: Non-Fun with SSHA Password scheme
Следующее
От: K D
Дата:
Сообщение: Re: Stalled post to pgsql-general