Re: Crash after VACUUM FULL cancel

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Crash after VACUUM FULL cancel
Дата
Msg-id 20080409145917.GC5233@alvh.no-ip.org
обсуждение исходный текст
Ответ на Crash after VACUUM FULL cancel  ("Hardwick, Joe" <Joe.Hardwick@fnis.com>)
Список pgsql-general
Hardwick, Joe wrote:

> We have a cronjob that runs nightly to do the VACUUM FULL ANALYZE on a
> few tables in each schema and occasionally we'll cancel one if they take
> longer than usual to run and block our morning loads.. This is the first
> time Postgres has had any trouble with it.   Is cancelling a full vacuum
> a bad idea?

Yes -- this is a known problem but since VACUUM FULL is deprecated, the
most likely outcome is that it won't get fixed.  Just don't cancel it.

You don't need VACUUM FULL anyway in most cases -- plain VACUUM ANALYZE
should be more than enough.  For the rare cases that it's not, you can
use CLUSTER to compress the dead space.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Syra.Didelez@agfa.com
Дата:
Сообщение: Re: Problem with windows Postgres 8.3.1 MSI binary distribution
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Disable Triggers