Skip site navigation (1) Skip section navigation (2)

Re: transactions getting slon in councurrent environment

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tigran Mkrtchyan <tigran(dot)mkrtchyan(at)desy(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: transactions getting slon in councurrent environment
Date: 2006-12-29 03:42:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Tigran Mkrtchyan <tigran(dot)mkrtchyan(at)desy(dot)de> writes:
> I got a incorrect or unexpected behavior in concurrent environment.

This is not a bug, nor even surprising.  Since you haven't committed
the second transaction, there are a growing number of
dead-but-not-recyclable versions of the updated row.  The active client
has to check each of these versions during its primary key uniqueness
check during each update.

			regards, tom lane

In response to


pgsql-bugs by date

Next:From: Tom LaneDate: 2006-12-29 04:04:41
Subject: Re: BUG #2866: cast varchar to decimal failure
Previous:From: Theodore PetroskyDate: 2006-12-28 13:26:24
Subject: Re: BUG #2867: FULL PATH name problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group