RMAN-08137: WARNING: Archived Log Not Deleted, Needed For Standby Or Upstream Capture Proces

OGG版本

Oracle GoldenGate - Version 11.2.1.0.20 and later

故障现象

rman删除归档时报错RMAN-08137: WARNING: Archived Log Not Deleted, Needed For Standby Or Upstream Capture Proces,归档删除不了。

产生原因

由于有失效的integrated extract进程存在,导致rman无法删除归档。

解决方法

使用如下语句查询REQ_SCN = 0的抽取进程

SQL> SELECT CAPTURE_NAME, CAPTURE_TYPE, STATUS, to_char(REQUIRED_CHECKPOINT_SCN,'999999999999999')as REQ_SCN ,to_char(OLDEST_SCN,'999999999999999')as OLDEST_SCN FROM DBA_CAPTURE;

  CAPTURE_NAME    CAPTURE_TYPE STATUS          REQ_SCN      OLDEST_SCN
  --------------  ------------ -------        --------      ----------
  OGG$CAP_ENAPC01 LOCAL        ENABLED        64983227        64983227
  OGG$CAP_EXTLOAD LOCAL        ENABLED               0               0

OGG中dblogin数据库执行下面语句就可以删除失效抽取进程了,然后就可以删除归档了。

UNREGISTER EXTRACT EXTLOAD DATABASE

转载于:https://www.cnblogs.com/priestess-zhao/p/8288574.html

你可能感兴趣的:(RMAN-08137: WARNING: Archived Log Not Deleted, Needed For Standby Or Upstream Capture Proces)