Re: VACUUM FULL takes long time to complete

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: VACUUM FULL takes long time to complete
Дата
Msg-id 20070331211540.GB27655@svana.org
обсуждение исходный текст
Ответ на VACUUM FULL takes long time to complete  ("Eric B. Ridge" <ebr@tcdi.com>)
Ответы Re: VACUUM FULL takes long time to complete
Список pgsql-general
On Sat, Mar 31, 2007 at 03:18:35PM -0400, Eric B. Ridge wrote:
> Anyways, we run a VACUUM FULL ANALYZE VERBOSE every night, and it's
> now taking 3+ hours to complete.  We also have autovacuum turned on
> with default settings.  This 3+ hour vacuum time is cutting into our
> production hours.  :(

Firstly, with autovacuum you really don't need to be running VACUUM
FULL anyway. VACUUM FULL is actually quite inefficient, you're better
off having higher FSM settings and leaving it to autovacuum.

For more info, post the actual output of VACUUM VERBOSE. That displays
enough info to get to the cause.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: "Brian A. Seklecki"
Дата:
Сообщение: Re: introduction of FK results in no data insert
Следующее
От: Bill Moran
Дата:
Сообщение: Re: VACUUM FULL takes long time to complete