Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from puck1183.startdedicated.com (localhost [127.0.0.1])
 by puck1183.startdedicated.com (Postfix) with ESMTP id 9911E1960F9C
 for <oracle-l@orafaq.com>; Thu, 21 Mar 2013 17:05:00 +0100 (CET)
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by puck1183.startdedicated.com (Postfix) with ESMTP
 for <oracle-l@orafaq.com>; Thu, 21 Mar 2013 17:05:00 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D46B0F48EF0;
 Thu, 21 Mar 2013 12:04:20 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1363881860;
 bh=3BhKkagL3RbkpgEvNIIbOnPSKTzQ9uibkCh4PU65+Ec=;
 h=From:To:Date:Subject:Message-ID:Content-type:
	 Content-Transfer-Encoding:MIME-Version:Sender:Reply-To:List-help:
	 List-unsubscribe:List-Id:List-subscribe:List-owner:List-post:
	 List-archive;
 b=v+GFjC8t+RSHbgL7rlIGFEx3fIkPBSF/yfX1tyHpMug0sWYyvXth17PPkoqR6/oMC
	 h8U0EAau0fXVCDDbdL/tGa1mOkz7vB71ZaprOoeKxQabOUyrTOXpytjdNRTr8o1H+D
	 L+niDuKjbZyMkaSZY4a9hFy/PSyjLujRhwkHGdGw=
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id t1JLRPZ+LNrl; Thu, 21 Mar 2013 12:04:20 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id EA9F9F4CF34;
 Thu, 21 Mar 2013 12:03:30 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1363881853;
 bh=3BhKkagL3RbkpgEvNIIbOnPSKTzQ9uibkCh4PU65+Ec=;
 h=From:To:Date:Subject:Message-ID:Content-type:
	 Content-Transfer-Encoding:MIME-Version:Sender:Reply-To:List-help:
	 List-unsubscribe:List-Id:List-subscribe:List-owner:List-post:
	 List-archive;
 b=uUbtAQayS+Xt5+bxYVw4Parxv9y8vQiG7o2i0pjeHcznAKkqUwOJZqQICh0ULaRpF
	 +nyVKHq3SiRZjhH6z6JrXVD90GdQ7ekVpw/5DfZeOZayh0H9c9LaQo/xHy1+2O5A1M
	 feWK2Mo0Y3q2vGqZc3/UleOwdrrb06oyZ+H24WNY=
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 21 Mar 2013 12:02:47 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 01857F4CF2F
 for <oracle-l@freelists.org>; Thu, 21 Mar 2013 12:02:47 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ThRUP9J4hGdl for <oracle-l@freelists.org>;
 Thu, 21 Mar 2013 12:02:46 -0400 (EDT)
Received: from morpheus.cronos.be (morpheus.cronos.be [94.143.184.115])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 78CADF4CF2A
 for <oracle-l@freelists.org>; Thu, 21 Mar 2013 12:02:46 -0400 (EDT)
X-AuditID: ac1effb5-b7fec6d0000008c6-ae-514b2f254a52
Received: from ws03-exch07.iconos.be (Unknown_Domain [10.0.10.69])
 by morpheus.cronos.be (Cronos AntiSpam Gateway) with SMTP id B1.36.02246.52F2B415; Thu, 21 Mar 2013 17:02:45 +0100 (CET)
Received: from ws03-exch07.iconos.be ([10.100.12.60]) by ws03-exch07.iconos.be
 ([10.100.12.60]) with mapi; Thu, 21 Mar 2013 17:02:45 +0100
From: D'Hooge Freek <Freek.DHooge@uptime.be>
To: "oracle-l@freelists.org" <oracle-l@freelists.org>
Date: Thu, 21 Mar 2013 17:02:44 +0100
Subject: [Fwd: Re: Deadlock inserting into same rowid (different block)]
Thread-Topic: [Fwd: Re: Deadlock inserting into same rowid (different block)]
Message-ID: <1363881764.2948.86.camel@dhoogfr-lpt1>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA12SbVAMcRzH73+P22nZ2+70c+HGNqRGlySMCOMxTUNjmOEFNk571F1uy1zG
 C5nhOM8PSTd0ehg1iYxh5KGJ600dM+6MRnKlyChMjJOEOrt34Xiz8539/j7f3///3cVE5HWZ
 GtMbcnUmA51FSeViuUC+NHZyXGr69KN90XMufTiLFqIVTrd6Ndowal4GnbtrjT7TEJe8eRTj
 c/VLcr4pzJ6H72V70T2FFWEYEDOh7NFOKwrh5FhwddRKeU0S9QiG7ZyWc/oIgquVD4S8ISWm
 gbWgSsRrJZEIX+xtEj5HTEwG39vl/OswYgVYSu2ywEgavDz0XBLQWrh7/I0fxYkEONl9yx+J
 uL0Dzhq/FhHh0NZtFwbOQ0DFvceigFZB7+thSWBeBR5LLeLXiohoqL0TF0AnwZnDXbJAvAKa
 i7vFJ1CYLSjV9pewBRG2IOIiElcjMttoymF0eax2i8loMLLaDN11xFVdM9F3sw71NkY6EIEh
 KhRXR6WmkxJ6F5uf7UCJmJBS4+4nztVkWIZxaz5Ds8wmNi8jW8+yeqOBUuGLY7nx0X88U16W
 jnUgwESUEjdRnIdvpfN360zG31YShlETcCQQCMixJl2mzrxNn8V9+eBUwGdpOVIRbI/QQiyE
 f8gdKAELpcYFckg2h85m9ZnBGUp8AZ+B/7b8vBPNVo/HXzIp6aSKN5g8w7+r1eH4VB4jglw/
 +Q61Iq4ewF18FwruZ/1vXxhO8WDoiOOHZlRwDNEkg5tdodDT2YTA88SJ4PzXfUI4d7lFCnVF
 lhDwXDikgINlwyR8dBaroPnpq3DwvDkIUOBoiYCy7tYI6Hl0fzwMVbg10NrZooGOY+2TYPDF
 QCR4jzRHgc9VHg1V7mfRUFLRGAO9PwdioNbdHgslJZe10P+0LB683v4EaD1wIxHuPC+aDU2D
 NXPh9NCnJOg4VTj/Hdel8G+XufT/d1Pi++tX8l2OWP7Lqfci/etV684ryr8cLykuBIH067V1
 pcolG9ovydfqVd6i8qgim/nji9uurtSlqfsilq/cY/d2auo0PcmzhBYlIqzt5u0X5rYt2Lio
 yp28ozotKWeM+hl8j/+xqb5fw5w4+nlocHrfsmpLg26o4ErDImSunLPe3Sea0uhjpjKRDdZx
 KZSYZej4GJGJpX8BcrymlEUEAAA=
X-archive-position: 47925
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: Freek.DHooge@uptime.be
Precedence: normal
Reply-To: Freek.DHooge@uptime.be
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l

resending because mail on freelists showed only some gibberish

But if your values for the primary key constraint on the child table are
generated by a sequence, how would you end up with sessions trying to
insert duplicate values?

-- 
Freek D'Hooge
Uptime
Oracle Database Administrator
email: freek.dhooge@uptime.be
tel +32(03) 451 23 82
http://www.uptime.be
disclaimer: www.uptime.be/disclaimer.html





On do, 2013-03-21 at 16:19 +0100, Patterson, Joel wrote: 
> This was enough to dig into the application further.  We know that last night's process had to be one of a few - since it is acceptance and no 'user' was logged in and working.
> We hypothesize that there are two application layer 'nodes' executing inserts into the child table - at the same time.  The Cache on the sequence used for the primary key is set to 500 - clue.
> 
> However, as to the suspect reporting of the deadlock graph - it appears that Jonathan was spot on, (I have a little English in me).
> 
> The column used by the child table sequence is the primary key for the child table, and is not related to the FK index mentioned in the Deadlock graph, object 199909, which references the parent table on a totally different column.
> 
> So we theorize that the primary key overlap is actually on the child table - and had nothing to do with the FK index to the parent table as reported in the deadlock graph; 'mystery'.
> 
> Still looking into getting the values for the bind variable in the trace file.  I haven't done an insert in so long I have opened an SR - this may confirm the theory.
> 
> Joel Patterson
> Database Administrator
> 904 928-2790
> 

--
http://www.freelists.org/webpage/oracle-l


