日志的错误信息
RFS[2]: No standby redo logfiles available for thread 1
ORA-16014: log 4 sequence# 113 not archived, no available destinations
ORA-00312: online log 4 thread 1: '/data/oracle/oradata/orcl/stdredo01.log'
现象:
Oracle11g,从主库spfile生产pfile方法创建备库之后,使用实时更新模式(alter database recover managed standby database using current logfile disconnect from session;),一段时间之后备库无法实时更新,可以用 alter system switch logfile;手动触发传输数据。
standby redo 日志状态(select group#,thread#,sequence#,bytes/1024/1024 mb,archived,status from V$STANDBY_LOG;)
archived 全部为 NO ,status全部为 ACTIVE
问题分析:
1、初步判断是standby redo未自动归档所致。正常情况下Oracle应该会 自动归档。
2、出现这个情况应该是配置文件导致的。用 show parameter 查看配置 参数。
3、检查log_archive_dest
log_archive_dest_1 string location=/data/archivelog valid_for=(online_logfiles,primary_role) db_unique_name=ORCL_STAND