Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> ORA-02049 on inserting into a local table. Why ?

ORA-02049 on inserting into a local table. Why ?

From: alainkr <akreienbuhl_at_yahoo.com>
Date: 11 Apr 2003 12:23:24 -0700
Message-ID: <9822b77f.0304111123.113578de@posting.google.com>


Hello,

I need your help with the following :

Transaction 1
  Does an UPDATE of a remote table
  then
  copies selected data from the remote table to a local table   by selecting from the remote table and inserting into the local table (using 2 different cursors)

  then commit

Meanwhile

Transaction 2

  Does the same thing (UPDATE of a remote table) but on a totally different set of record but on the same table.  then a systematically get an "ORA-02049: timeout: distributed transaction waiting for lock" went trying to insert on the local table.

Why is that? How can that be solved ?

Thanks a lot for your help.

Alain. Received on Fri Apr 11 2003 - 14:23:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US