MAXIMUM PERFORMANCE upgrade to MAXIMUM PROTECTION method
1. The main parameters for the modified library ( if preceded MAXIMUM AVAILABILITY or before the following is not changed )
lgwr sync affirm valid_for=(online_logfiles,primary_role)
2. The main library is closed and starts to mount state
3. Main Library execution
alter database set standby database to maximize protection;
4. Preparation of library execution ( if a previous MAXIMUM AVAILABILITY or before the following is not performed )
alter database add standby logfile group 4 '/xx/standby_redo04.log' size 50M,group 5 '/xx/standby_redo05.log' size 50M,group 6 '/xx/standby_redo06.log' size 50M,group 7 '/xx/standby_redo07.log' size 50M;
The main library performed (this process must ensure that all primary repository archive logs have been transferred to the standby database, otherwise an error ORA-03113: End-of-File ON Communication Channel , Alert Log display ORA-16072: a minimum of one Where do you want IS required Database STANDBY )
Alter database open
6. Preparation of library execution ( if a previous MAXIMUM AVAILABILITY or before the following is not performed )
alter database recover managed standby database cancel;
alter database recover managed standby database using current logfile disconnect from session;
Over the first 5 encounter problems step is as follows
Main library to perform the following two
alter database set standby database to maximize PERFORMANCE;
alter database open;
Prepared by the library to view all archived logs have been received and applied to yes emperor library then perform three back
SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME, APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
Perform the following three main library
shutdown immediate;
alter database set standby database to maximize protection;
alter database open;