RFS[1]: No standby redo logfiles available for thread 1
2017-12-27 14:35
996 查看
场景:备库只能接收归档日志,不能实时应用redo log,如果主端日志不切换,备端一直会有adg延迟
后台日志:
RFS[1]: Assigned to RFS process 5351
RFS[1]: No standby redo logfiles available for thread 1
RFS[2]: Assigned to RFS process 5353
RFS[2]: No standby redo logfiles available for thread 1
RFS[1]: Opened log for thread 1 sequence 102 dbid 1485808053 branch 960908345
RFS[2]: Opened log for thread 1 sequence 103 dbid 1485808053 branch 960908345
Archived Log entry 175 added for thread 1 sequence 102 rlc 960908345 ID 0x579951e6 dest 3:
Serial Media Recovery started
Managed Standby Recovery starting Real Time Apply
Waiting for all non-current ORLs to be archived...
All non-current ORLs have been archived.
Media Recovery Log /u01/app/oracle/fast_recovery_area/ORCL/archivelog/2017_12_27/o1_mf_1_102_f46gw1t4_.arc
Media Recovery Waiting for thread 1 sequence 103 (in transit)
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE THROUGH ALL SWITCHOVER DISCONNECT USING CURRENT LOGFILE备库standby redo状态全为UNASSIIGNED:
GROUP# DBID THREAD# SEQUENCE# BYTES BLOCKSIZE USED ARCHIVED STATUS
4 UNASSIGNED 0 0 52428800 512 0 YES UNASSIGNED
5 UNASSIGNED 0 0 52428800 512 0 YES UNASSIGNED
6 UNASSIGNED 0 0 52428800 512 0 YES UNASSIGNED
7 UNASSIGNED 0 0 52428800 512 0 YES UNASSIGNED
Database altered.
alter database drop standby logfile group 5;
alter database drop standby logfile group 6;
alter database drop standby logfile group 7;
alter database add standby logfile group 5 '/u01/app/oracle/oradata/orcl/std_redo05.log' size 50M;
alter database add standby logfile group 6 '/u01/app/oracle/oradata/orcl/std_redo06.log' size 50M;
alter database add standby logfile group 7 '/u01/app/oracle/oradata/orcl/std_redo07.log' size 50M;
Database altered.
查看下standby log的状态,应该有一个为active状态的日志组,如果还是不能实时应用可以重启备库
后台日志:
RFS[1]: Assigned to RFS process 5351
RFS[1]: No standby redo logfiles available for thread 1
RFS[2]: Assigned to RFS process 5353
RFS[2]: No standby redo logfiles available for thread 1
RFS[1]: Opened log for thread 1 sequence 102 dbid 1485808053 branch 960908345
RFS[2]: Opened log for thread 1 sequence 103 dbid 1485808053 branch 960908345
Archived Log entry 175 added for thread 1 sequence 102 rlc 960908345 ID 0x579951e6 dest 3:
Serial Media Recovery started
Managed Standby Recovery starting Real Time Apply
Waiting for all non-current ORLs to be archived...
All non-current ORLs have been archived.
Media Recovery Log /u01/app/oracle/fast_recovery_area/ORCL/archivelog/2017_12_27/o1_mf_1_102_f46gw1t4_.arc
Media Recovery Waiting for thread 1 sequence 103 (in transit)
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE THROUGH ALL SWITCHOVER DISCONNECT USING CURRENT LOGFILE备库standby redo状态全为UNASSIIGNED:
GROUP# DBID THREAD# SEQUENCE# BYTES BLOCKSIZE USED ARCHIVED STATUS
4 UNASSIGNED 0 0 52428800 512 0 YES UNASSIGNED
5 UNASSIGNED 0 0 52428800 512 0 YES UNASSIGNED
6 UNASSIGNED 0 0 52428800 512 0 YES UNASSIGNED
7 UNASSIGNED 0 0 52428800 512 0 YES UNASSIGNED
1. 停止备库日志应用
SQL> alter database recover managed standby database cancel;Database altered.
2. 删除已有的standby log日志组
alter database drop standby logfile group 4;alter database drop standby logfile group 5;
alter database drop standby logfile group 6;
alter database drop standby logfile group 7;
3. 重建standby log
alter database add standby logfile group 4 '/u01/app/oracle/oradata/orcl/std_redo04.log' size 50M;alter database add standby logfile group 5 '/u01/app/oracle/oradata/orcl/std_redo05.log' size 50M;
alter database add standby logfile group 6 '/u01/app/oracle/oradata/orcl/std_redo06.log' size 50M;
alter database add standby logfile group 7 '/u01/app/oracle/oradata/orcl/std_redo07.log' size 50M;
4. 开启实时日志应用
SQL> alter database recover managed standby database using current logfile disconnect from session;Database altered.
查看下standby log的状态,应该有一个为active状态的日志组,如果还是不能实时应用可以重启备库
相关文章推荐
- RFS[18075]: No standby redo logfiles available for thread 1
- error :“No source available for main()” when debugging by eclipse cdt
- Spring Boot中使用Feign调用时Hystrix提示异常:"could not be queued for execution and no fallback available."以及"Rejected command because thread-pool queueSize is at rejection threshold"
- No EntityManager with actual transaction available for current thread - cann
- The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact
- Rfs[2]: no standby&nbs…
- No EntityManager with actual transaction available for current thread - cannot reliably process 'mer
- Springboot No EntityManager with actual transaction available for current thread
- The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
- sublimeText3 -- There are no packages available for installation
- there is no source code available for the current location的解决方法
- 主库配置关于Dataguard Online redo log 和 Standby redo log
- sublime text安装插件时提示There are no packages available for installation问题解决
- ORA-19527: physical standby redo log must be renamed
- No Netinstall Server currently available, Please wait for the program to start
- Caused by: org.springframework.data.mapping.PropertyReferenceException: No property name found for t
- 踩坑实录 Android studio中关于 No cached version of **** available for of处理办法
- sublime There are no packages available for installation错误
- Data Guard 配置 Standby Redo Log
- Myeclipse:No projects are available for deployment to this server!