oracle_查询两阶段提交命令

select * from DBA_2PC_PENDING s  where s.local_tran_id='657.7.39336';

或者
   delete from sys.pending_trans$ where local_tran_id = '657.7.39336'; 
   delete from sys.pending_sessions$ where local_tran_id = '657.7.39336'; 
   delete from sys.pending_sub_sessions$ where local_tran_id ='657.7.39336'; 
   commit; 
   Commit force '657.7.39336' 
   exec dbms_transaction.purge_lost_db_entry('657.7.39336');
--------------------- 
作者:深圳gg 
来源:CSDN 
原文:https://blog.csdn.net/stevendbaguo/article/details/46533449 
版权声明:本文为博主原创文章,转载请附上博文链接!

猜你喜欢

转载自blog.csdn.net/maqingbin8888/article/details/88036028