Re: vacuumdb error: tuple concurrently updated

From: Harald Krake <harald(at)krake(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: vacuumdb error: tuple concurrently updated
Date: 2002-12-26 19:37:46
Message-ID: 200212262037.46122.harald@krake.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-12-26 19:55:43 Re: Bug #854: configure file and tcl/tk
Previous Message Tom Lane 2002-12-26 18:48:45 Re: Bug #855: pg_dump crash on linux-xfs