sql clone "alter system set db_recovery_file_dest =
''/u01/app/oracle/fast_recovery_area''comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount;
}
executingMemory Script
sqlstatement: alter system set db_unique_name = ''ORCL150''comment= '''' scope=spfile
sqlstatement: alter system set log_archive_dest_1 = ''location=/u01/app/oracle/oradata/orcl150/archivelogvalid_for=(all_logfiles,all_roles) db_unique_name=orcl150'' comment= ''''scope=spfile
sqlstatement: alter system set log_archive_dest_2 = ''service=ORCL151 lgwr async valid_for=(online_logfiles,primary_role)db_unique_name=orcl151'' comment= '''' scope=spfile
sqlstatement: alter system set log_archive_dest_state_1 = ''enable'' comment= '''' scope=spfile
sqlstatement: alter system set log_archive_dest_state_2 = ''enable''comment= '''' scope=spfile
sqlstatement: alter system set standby_file_management = ''AUTO'' comment= '''' scope=spfile
sqlstatement: alter system set fal_client= ''ORCL150'' comment= '''' scope=spfile
sqlstatement: alter system set fal_server= ''ORCL151'' comment= '''' scope=spfile
sqlstatement: alter system set control_files = ''/u01/app/oracle/oradata/orcl150/control01.ctl'',''/u01/app/oracle/fast_recovery_area/orcl150/control02.ctl'' comment= '''' scope=spfile
sqlstatement: alter system set db_file_name_convert = ''/u01/app/oracle/oradata/orcl151'', ''/u01/app/oracle/oradata/orcl150''comment= '''' scope=spfile
sqlstatement: alter system set log_file_name_convert = ''/u01/app/oracle/oradata/orcl151'', ''/u01/app/oracle/oradata/orcl150''comment= '''' scope=spfile
sqlstatement: alter system set audit_file_dest = ''/u01/app/oracle/admin/orcl150/adump'' comment= '''' scope=spfile
sqlstatement: alter system set db_recovery_file_dest = ''/u01/app/oracle/fast_recovery_area'' comment= '''' scope=spfile
Oracleinstance shut down
connectedto auxiliary database (not started)
Oracleinstance started
TotalSystem Global Area 3206836224 bytes
Fixed Size 2257520 bytes
VariableSize 1811942800 bytes
DatabaseBuffers 1375731712 bytes
RedoBuffers 16904192 bytes
contents ofMemory Script:
{
backup as copy current controlfile forstandby auxiliary format '/u01/app/oracle/oradata/orcl150/control01.ctl';
restore clone controlfile to '/u01/app/oracle/fast_recovery_area/orcl150/control02.ctl' from