Re: Fw: postgrepsql vacuum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fw: postgrepsql vacuum
Дата
Msg-id 9764.1213284596@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fw: postgrepsql vacuum  ("wenjing wu" <wuwj@umich.edu>)
Список pgsql-general
"wenjing wu" <wuwj@umich.edu> writes:
> Now , I am trying to vacuum the database companion in the standalone model:

> root@head02 /var/lib/pgsql/data/pg_log# su - postgres
> -bash-3.00$  postgres -D /var/lib/pgsql/data

This is defaulting to connecting to database postgres ...

> WARNING:  database "companion" must be vacuumed within 4294599306 transactions
> HINT:  To avoid a database shutdown, execute a full-database VACUUM in "companion".

... which is not the one you need to vacuum.

> backend> vacuum full

Use a plain vacuum --- vacuum full is uselessly expensive.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Heavily fragmented table and index data in 8.0.3
Следующее
От: Zoltan Boszormenyi
Дата:
Сообщение: Re: Heavily fragmented table and index data in 8.0.3