Re: Easy way of pruning pg_data?

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Easy way of pruning pg_data?
Дата
Msg-id m3vghfsjep.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Easy way of pruning pg_data?  ("Lee Crampton" <lee@avbrief.com>)
Список pgsql-general
David Link <dlink@soundscan.com> writes:

> What are those files?  my $PGDATA/base only contains subdirectores, one
> for each database name.  Are those your database names?

Recent versions of Postgres (since 7.1 IIRC) store the databases by
IOD number instead of by name (to avoid certain problems with
renaming).

The only way to "prune" the files under your data/base directory is to
VACUUM and to drop and recreate your indexes, both of which will free
up space.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

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

Предыдущее
От: Denis Gasparin
Дата:
Сообщение: Re: VACUUM, 24/7 availability and 7.2
Следующее
От: "culley"
Дата:
Сообщение: loggin