Re: Vacuum taking an age

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Vacuum taking an age
Дата
Msg-id 20080104181636.GN821@crankycanuck.ca
обсуждение исходный текст
Ответ на Re: Vacuum taking an age  ("Brian Modra" <epailty@googlemail.com>)
Список pgsql-admin
On Fri, Jan 04, 2008 at 06:55:13AM +0200, Brian Modra wrote:
> I started a vacuum on the table yesterday, and its still running. I
> guess thats because the table is live. I am pretty sure that if I take
> it offline, then the vacuum will complete relatively quickly. Am I
> right? (I don't want to take it offline unless I really need to.)

No.  The vacuum on that table is going to take a long time, period.  See
upthread about not brushing teeth for 3 months.

Anyway, I can't believe a plain vacuum is going to help you here.  I'd
perform CLUSTER or else dump the database and reload it.  You're looking at
a service outage, I think.

A


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

Предыдущее
От: Guy Deleeuw
Дата:
Сообщение: how to array and other select
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgres 7.4 VACUUM FULL multiple AccessExclusiveLocks?