Re: Vacuum-full very slow

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: Vacuum-full very slow
Дата
Msg-id 462F8393.4040101@pinpointresearch.com
обсуждение исходный текст
Ответ на Re: Vacuum-full very slow  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Vacuum-full very slow
Список pgsql-general
> You could try CLUSTER instead of VACUUM FULL, as I think it should be
> faster.  And the indexes will be devoid of any bloat, which will be a
> nice side effect.
>
> I wonder, though, if you set maintenance_work_mem too high and are
> causing the OS to swap?
>

Hmmm, why would cluster be faster?

No swapping - "top" shows swap mem of 3MB used and that wasn't changing.
Just to be sure I ran "swapoff -a ; swapon -a" which brought it back to
zero and it's not budging from there.

Cheers,
Steve

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Vacuum-full very slow
Следующее
От: Tilmann Singer
Дата:
Сообщение: Re: Audit-trail engine: getting the application's layer user_id