ORA-16065: remote archival disabled at standby destination ORACLE 报错 故障修复 远程处理

文档解释

ORA-16065: remote archival disabled at standby destination

Cause: Receipt of remote archived REDO log files has been disabled at the associated standby destination host database.

Action: If appropriate change the associated archive log parameter to specify a local destination with the LOCATION keyword or defer the associated archive log destination. Or, if possible, set the standby REMOTE_ARCHIVE_ENABLE parameter to TRUE, or enable the RECEIVE attribute of the LOG_ARCHIVE_CONFIG parameterand restart the standby database instance before further REDO log file archivals occur.

错误ORA-16065表示远程归档发生错误,因为在备份服务器上禁用了远程归档。这是由于处于standby状态的服务器禁用了远程归档,这会导致复制归档日志文件存储到primary和standby服务器的可用空间将有限。

官方解释

ORA-16065:远程归档禁用在备用目标。

提示:远程归档已禁用,因此无法归档到指定的远程注册目标。

常见案例

该错误可以在使用Data Guard环境中引发。由于备用数据库被设置为STANDBY状态,因此无法在备用数据库中归档该文件,并可能导致空间紧张。

一般处理方法及步骤

1。通过运行ALTER DATABASE位于PRIMARY数据库上的命令,关闭ARCn进程,如下所示:

ALTER SYSTEM SET log_archive_dest_state_n=DEFER SCOPE=SPFILE;

2。使用以下命令重新启用ARCn服务:

ALTER SYSTEM SET log_archive_dest_state_n=ENABLE SCOPE=SPFILE;

3。重新启动实例,使新设置生效。


数据运维技术 » ORA-16065: remote archival disabled at standby destination ORACLE 报错 故障修复 远程处理