Linux AS 5.3 64bit
Oracle10.2.0.4 64bit
最大性能模式DG
Primary 中参数设置如下 :
*.db_name='mxdell'
*.db_unique_name='mxdell'
*.log_archive_dest_1='location=/data/mxdell/arch
valid_for=(all_logfiles,all_roles) db_unique_name=mxdell'
*.log_archive_dest_2='service=standby valid_for=(online_logfiles,primary_role) db_unique_name=mxstandby'
*.log_archive_dest_state_1='enable'
*.log_archive_dest_state_2='enable'
Physical Standby 上参数:
*.db_name='mxdell'
*.db_unique_name='mxstandby'
*.log_archive_dest_1='location=/data/mxdell/arch valid_for=(all_logfiles,all_roles) db_unique_name=mxstandby'
*.log_archive_dest_2='service=mxdell valid_for=(online_logfiles,primary_role) db_unique_name=mxdell'
*.log_archive_dest_state_1='enable'
*.log_archive_dest_state_2='enable'
*.standby_archive_dest='/data/mxdell/arch2'
*.log_archive_min_succeed_dest=1
*.db_file_name_convert='/data/mxdell','/data/mxdell'
*.log_file_name_convert='/u01/product/oradata/mxdell','/u01/product/oradata/mxdell'
*.standby_file_management='AUTO'
*.fal_server='mxdell'
*.fal_client='standby'
配置之后设置为Managed 状态后,redo apply 恢复正常, read only open 没有问题, 转换为Logical Standby后SQL Apply 也工作正常.
按照Oracle文档需要设置 log_archive_config 参数, 这里没有设置,也没有发现报类似 ORA-16047: DGID mismatch between destination setting and standby 的错误 。 前天一朋友和这个设置一样, 没有设置 log_archive_config , 结果报错 ORA-16047 。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-619422/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-619422/