Re: vacuumdb error: tuple concurrently updated - Mailing list pgsql-bugs

From Harald Krake
Subject Re: vacuumdb error: tuple concurrently updated
Date
Msg-id 200212262037.46122.harald@krake.de
Whole thread Raw
In response to Re: vacuumdb error: tuple concurrently updated  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #855: pg_dump crash on linux-xfs
Next
From: Tom Lane
Date:
Subject: Re: Bug #854: configure file and tcl/tk