Re: Space occupied by Postgres index.

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Space occupied by Postgres index.
Дата
Msg-id 4CF4F3D80200002500037F9E@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Space occupied by Postgres index.  ("Shridhar Polas" <shridharpolas@gmail.com>)
Список pgsql-admin
"Shridhar Polas" <shridharpolas@gmail.com> wrote:

> In my test setup I found that the disk space consumed by Postgers
> is not getting declined even after deleting records from tables,
> if I do not perform VACUUM FULL and REINDEX.

True, but if you expect the tables to grow again it's generally
better to leave the space allocated to PostgreSQL than to make it
give it back up to the OS for the moment and have to go ask for it
again later.

If you don't expect PostgreSQL to need the space again and you want
to release it back to the OS, prior to release 9.0 it is usually
better to use CLUSTER than to use VACUUM FULL and REINDEX.

-Kevin

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

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: Space occupied by Postgres index.
Следующее
От: Samuel Stearns
Дата:
Сообщение: Re: Setting Schema on Restore