Re: [GENERAL] Stuck in a vacuum.

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [GENERAL] Stuck in a vacuum.
Дата
Msg-id 3781732E.470B87B0@krs.ru
обсуждение исходный текст
Ответ на [GENERAL] Stuck in a vacuum.  (Stuart Rison <stuart@ludwig.ucl.ac.uk>)
Ответы Re: [GENERAL] Stuck in a vacuum.  (Thomas Good <tomg@admin.nrnet.org>)
Список pgsql-general
Stuart Rison wrote:
>
> Since I thought that probably left the table a bit messed up, I started a:
>
> VACUUM blast_hits;
>
> It's using 95% of the cpu and seems to be going nowhere (at least not in
> the 30 minutes it has been running so far).
>
> QUESTION 2: What do I do now?  Is there any way I can kill the VACUUM or
> will they be the final nail in the table's coffin?

VACUUM uses transactions so there shouldn't be problems with
its stopping.
After that try to drop all indices over blash_hits and re-vacuum
(in verbose mode).

BTW, PG version?

Vadim

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

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [GENERAL] Auto-timeout on all queries
Следующее
От: Don Yury
Дата:
Сообщение: Inheritance of primary key