Professional Documents
Culture Documents
Steps
On Source
On Destination
Steps
On Source
On Destination
f. Change directories and names for redo logs and data files
g. Delete everything after line containing Character Set
7. Make sure there are no log files and control files (delete if
exist)
8. sqlplus “/as sysdba”
9. SQL> @create_control
10.SQL> recover database using backup controlfile until
cancel;
Type cancel when all available logs have been applied.
11.SQL> alter database open resetlogs;
12.SQL> alter database rename global_name to <SID>;
13.SQL> shutdown immediate
14.For switching off archiving:
a. SQL> startup mount
b. SQL> alter database noarchivelog;
c. SQL> alter database open;
d. Comment out following in initSID.ora file
i. log_archive_start
ii. log_archive_format
iii. log_archive_dest_1
15.Recreating Temporary Tablespace:
SQL> alter tablespace temp add tempfile
‘filename1’ reuse;
SQL> alter tablespace temp add tempfile
‘filename2’ reuse;
Or