Re: Processing a work queue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Processing a work queue
Дата
Msg-id 16555.1177694318@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Processing a work queue  ("John D. Burger" <john@mitre.org>)
Ответы Re: Processing a work queue
Список pgsql-general
"John D. Burger" <john@mitre.org> writes:
> I decided to run a periodic vacuum on my work queue.  Lo and behold,
> I get this:

>    ERROR:  tuple concurrently updated

Which PG version is this, and do you have autovacuum enabled?  Awhile
back it was possible to get this error if autovac and a manual vacuum
hit the same table concurrently (the error actually stems from trying
to update pg_statistic concurrently during the ANALYZE phase).

> In addition, all of my workers locked up, apparently indefinitely.

[ squint... ]  That shouldn't happen.  Look into pg_locks to see if
you can determine who's waiting for what.

            regards, tom lane

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

Предыдущее
От: "John D. Burger"
Дата:
Сообщение: Re: Processing a work queue
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Preferred Installation/Data Directories