Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to delete in-doubt transactions
Sorry for so late answer.
You can delete a in-doubt ranscation using the package DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('trans_id').
You can see which transcation are in-doubt using next select statement:
select * from dba_2pc_pending;
or relation with remote database
select * from dba_2pc_neighbors
Also you can find more in information in Oracle8i Supplied PL/SQL Packages Reference at dbms_transcation package.
Version of the database is 8.1.6
Danut,
Tele-Pages Inc.
Phone : (416) 296-9011 Ext. 2271
Fax : (905) 477-7062
E-mail : danut_at_telepages.ca
> I found a in-doute transaction through Instance Manager. The application
> could not query a table which was dead-locked by this in-doubt
transaction.
> I knew nothing to clear this. I had to shutdown the instance. After that,
> everything is ok.Below is part of trace file.
>
> *** SESSION ID:(8.6) 2000.04.28.09.58.22.000
> DISTRIB TRAN
>
28.747578320000000000000000000000000000000000000000000000000000000016B907004409F938128E9100
28.747578320000000000000000000000000000000000000000000000000000000016B907004409F938128E9100
![]() |
![]() |