pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kevin kempter <kevin@kevinkempterllc.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tino Schwarze <postgresql@tisc.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Deadlocks ?
Date: Tue, 13 May 2008 17:33:27 -0600
Message-ID: <506ECCFC-6568-4CD3-B4AF-25A860D97859@kevinkempterllc.com> (raw)
In-Reply-To: <7586.1210719628@sss.pgh.pa.us>
References: <8490DCB9-7D9B-47E5-B5A6-A0FD52C30C59@kevinkempterllc.com>
	<20080513193048.GA15701@easy2.in-chemnitz.de>
	<7586.1210719628@sss.pgh.pa.us>


On May 13, 2008, at 5:00 PM, Tom Lane wrote:

> Tino Schwarze <postgresql@tisc.de> writes:
>> On Tue, May 13, 2008 at 01:18:24PM -0600, kevin kempter wrote:
>> ProgrammingError: deadlock detected
>> DETAIL:  Process 23098 waits for ShareUpdateExclusiveLock on
>> relation 428126 of database 427376; blocked by process 23916.
>> Process 23916 waits for ShareLock on transaction 46802680; blocked
>> by process 23098.
>
>> I've never figured out how to resolve the "lock on transaction" to
>> something understandable...
>
> It's presumably waiting for a row lock that the other transaction
> has got.  We don't keep enough information about row locks in memory
> to give a better error message (because we could run out of memory
> if we tried :-()
>
> 			regards, tom lane
>

If that's true does it make sense to play with a timeout value (I  
assume the timeout is configurable somewhere in postgresql.conf) in an  
effort to tune for this ?



/Kevin





> -- 
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin




view thread (7+ messages)  latest in thread

Message-ID: <506ECCFC-6568-4CD3-B4AF-25A860D97859@kevinkempterllc.com>
Permalink:  ../506ECCFC-6568-4CD3-B4AF-25A860D97859@kevinkempterllc.com/
Also on:    postgresql.org/message-id/506ECCFC-6568-4CD3-B4AF-25A860D97859@kevinkempterllc.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: kevin@kevinkempterllc.com, tgl@sss.pgh.pa.us, postgresql@tisc.de
  Subject: Re: Deadlocks ?
  In-Reply-To: <506ECCFC-6568-4CD3-B4AF-25A860D97859@kevinkempterllc.com>
  References: <8490DCB9-7D9B-47E5-B5A6-A0FD52C30C59@kevinkempterllc.com> <20080513193048.GA15701@easy2.in-chemnitz.de> <7586.1210719628@sss.pgh.pa.us> <506ECCFC-6568-4CD3-B4AF-25A860D97859@kevinkempterllc.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox