Re: vacuumdb error: tuple concurrently updated

Поиск
Список
Период
Сортировка
От Harald Krake
Тема Re: vacuumdb error: tuple concurrently updated
Дата
Msg-id 200212262037.46122.harald@krake.de
обсуждение исходный текст
Ответ на Re: vacuumdb error: tuple concurrently updated  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thursday 26 December 2002 06:09 pm, Tom Lane wrote:
> Is it likely that someone else was doing the same thing in another
> session?

no ANALYZE in parallel but another client constantly running transactions
(over 6 tables with approx. 20 - 100 updates/inserts per transaction).
The postgres client generates a permanent cpu load of 80-90% for days.
To keep the transaction rate at a reasonable level we run a "vacuumdb -z"
via a shell script in a while-loop with a "sleep 3600" in between.
I suspect the vacuumdb returns to the shell when the ANALYZE has finished,
so it should be impossible that two ANALYZE were running at the same time (?)

As long as it's harmless, we can live with that.

Btw.: is there a tool to check the consistency of a postgres database?

regards,
harald.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #855: pg_dump crash on linux-xfs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug #854: configure file and tcl/tk