[code]有时为了调优bai需要,我们需要增加onlline redo的组数,du下面是操作流程一、查看主zhi库online redo信息。dao select a.members,a.status,a.bytes/1024/1024,b.type,b.member,b.group#from v$log a,v$logfile b where a.group#=b.group#;二、相看主库standby_log 信息 select a.member,a.status,b.bytes/1024/1024,b.group#,b.used/1024/1024,b.statusfrom v$logfile a,v$standby_log b where a.group#=b.group#;三、查看备库online redo信息 select a.members,a.status,b.type,b.member,b.group#from v$log a,v$logfile b where a.group#=b.group#四、查看备库standby_log 信息 select a.member,a.status,b.bytes/1024/1024,b.group#,b.used/1024/1024,b.statusfrom v$logfile a,v$standby_log b where a.group#=b.group#;以上信息无误后操作下面的步骤五、在主库上增加online redo组。 alter database add logfile group 10 (\'/u01/app/oradata/orcl/redo10a.log\',\'/u01/app/oradata/orcl/redo10b.log\') size 100m;六、在主库上增加standby log。 alter database add standby logfile group 15 (\'/u01/app/oradata/orcl/stred15a.log \',\'/u01/app/oradata/orcl/stred15b.log \') size 100M;七,备库操作,增加onlie redo7.1 alter database recover managed standby database cancel; ---取消主备传送7.2 alter system set standby_file_management=manual; ---改为备库文件改为手动模式7.3 增加备库onlie redo文件与主库一样在大小,位置一般是一样的,除非有主备环境不同alter database add logfile group 10 (\'/u01/app/oradata/orcl/redo10a.log\',\'/u01/app/oradata/orcl/redo10b.log\') size 100m;八,备库操作,增加备库standby log alter database add standby logfile group 15 (\'/u01/app/oradata/orcl/stred15a.log \',\'/u01/app/oradata/orcl/stred15b.log \') size 100M;九, 备库操作,改写备库文件管理模式为自动,并启用实时应用 alter system set standby_file_management=auto; alter database recover managed standby database using current logfile disconnect from session;十,观察同步是否时实。