Re: Deferred constraints and locks...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nathan Wilhelmi <wilhelmi(at)ucar(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Deferred constraints and locks...
Date: 2008-02-12 20:04:25
Message-ID: 1538.1202846665@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nathan Wilhelmi <wilhelmi(at)ucar(dot)edu> writes:
> Hello - Trying to track down a lock contention problem, I have a process
> that does a series of select / insert operations. At some point the
> process grabs a series of RowExclusiveLock(s) and has the obvious effect
> of stalling other processes. I logged all the statements and don't see
> any for update or explicit lock statements.

Insert statements would naturally take RowExclusiveLock, but that
doesn't block other DML operations. So the question is what *else*
are you doing?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2008-02-12 20:13:05 Re: TSearch2 Migration Guide from 8.2 to 8.3
Previous Message Martijn van Oosterhout 2008-02-12 19:45:53 Re: Some Autovacuum Questions