Home  >  Article  >  Database  >  ORA-02050 事务处理xxx已回退, 某些远程数据库可能有问题

ORA-02050 事务处理xxx已回退, 某些远程数据库可能有问题

WBOY
WBOYOriginal
2016-06-07 16:00:262820browse

--数据库检查的时候发现今天一个库报了ORA-02050错误:ORA-02050: 事务处理 35.28.256948 已回退, 某些远程数据库可能有问题ORA-

--数据库检查的时候发现今天一个库报了ORA-02050错误:
ORA-02050: 事务处理 35.28.256948 已回退, 某些远程数据库可能有问题
ORA-01013: 用户请求取消当前的操作
ORA-01013: 用户请求取消当前的操作

根据错误信息可知可能是远程数据库操作失败导致的。查看metalink上面的解释是:
Error:  ORA 2050
Text:  transaction rolled back, some remote DBs may be in-doubt
-------------------------------------------------------------------------------
Cause:  There was a network failure or a remote failure during the two-phase commit.
Action:  Notify the database administrator.
            The remote databases will automatically resynchronize when the failure is repaired.

远程数据库会自动再同步的。
查询这两个字典dba_2pc_pending,dba_2pc_neighbors
发现没有数据,说明已经自动恢复了。

本文永久更新链接地址

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn