Re: reindexdb hangs

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: reindexdb hangs
Дата
Msg-id 1178119918.2953.5.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на reindexdb hangs  ("dx k9" <bitsandbytes88@hotmail.com>)
Ответы Re: reindexdb hangs  ("dx k9" <bitsandbytes88@hotmail.com>)
Список pgsql-admin
On Wed, 2007-05-02 at 09:50, dx k9 wrote:
> Hi,
>
> What would cause or what should I do with a table that hangs during its
> reindexing?  I can see in the messages the last table to reindex, so
> sequentially the next table must be the problem.
> I have statement_timeout set for 6 hours, then I get "canceling statement
> due to statement timeout"  Ok, that's fine, and I don't think setting the
> statement_timeout to 0 will really help.  The question is why did it hang or
> what are some reasons that would make a table hang a reindexing?   And is
> there a solution?

The real question is did it hang?  If the machine was still working on
reindexing then it wasn't hung, it was just taking longer than you
wanted it to.  Which can also be a problem, but isn't the same thing as
hanging, and as it's a different problem, would have a different
solution than if it is hanging.

So, what does vmstat / top / iostat have to say about this "hang"?  Was
it really hanging, or just taking a long time?

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

Предыдущее
От: Peter Koczan
Дата:
Сообщение: Re: VACUUM FULL ANALYSE hanging
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: VACUUM FULL ANALYSE hanging