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)
Список
Дерево обсуждения
Crash after VACUUM FULL cancel "Hardwick, Joe" <Joe.Hardwick@fnis.com>
Re: Crash after VACUUM FULL cancel Alvaro Herrera <alvherre@commandprompt.com>
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
Дата: