oracle 11g adg,检查dg不同步,查看
-
--主库上监控dest状态
-
set lin 300 pages 100
-
col dest_name for a25
-
col error for a20 trunc
-
col GAP_STATUS for a18
-
col DATABASE_MODE for a15
-
col RECOVERY_MODE for a25
-
col STATUS for a12
-
col type for a15
-
col SYNCHRONIZATION_STATUS for a20
-
select DEST_NAME,STATUS,ERROR,TARGET,AFFIRM,COMPRESSION,APPLIED_SCN,NET_TIMEOUT from v$archive_dest where target='STANDBY';
error列提示ORA-16047
检查备库的log_archive_config参数为空,设置好后就ok
alter system set log_archive_config='DG_CONFIG=(orcl,orcldg)
';
原先此库就是一个可用的备库,因主库迁移,所以相关参数没调整,但是原先居然能用(也许一直没同步)
阅读(419) | 评论(0) | 转发(0) |