Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Remote Links
Rick,
A distributed transaction normally uses the two-phase commit process so all sites should either commit or rollback. If there's a failure in one site then the RECO process should automatically recover the distributed transaction. Until it does this there will be info in DBA_2PC_PENDING and DBA_2PC_NEIGHBORS about the in-doubt transaction.
Does this behavior occur only through your application or if you issue the sql for the distributed transaction manually via sqlplus?
What are the versions of the db's involved?
For performance reasons db links remain open for the
life of the session, unless explicitly closed. To
close a dblink for a given session:
ALTER SESSION CLOSE DATABASE LINK <db_link>;
HTH,
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: A. Bardeen INET: abardeen1_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Nov 19 2001 - 10:29:42 CST
![]() |
![]() |