SQL> select name from v$controlfile;
NAME
--------------------------------------------------------------------------------
/oracle_drives/cca_data/SCAORA1/controlfile/o1_mf_904ml2jz_.ctl
/oracle_drives/oracle_fra/SCAORA1/controlfile/o1_mf_904ml2lw_.ctl
SQL> show parameter control_files
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string /oracle_drives/cca_data/SCAORA
1/controlfile/o1_mf_904ml2jz_.
ctl, /oracle_drives/oracle_fra
/SCAORA1/controlfile/o1_mf_904
ml2lw_.ctl
SQL> ALTER SYSTEM SET control_files='/oracle_drives/oracle_sys/control01.ctl','/oracle_drives/oracle_fra/control02.ctl' SCOPE=SPFILE;
System altered.
SQL> SHUTDOWN IMMEDIATE
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> ! mv /oracle_drives/cca_data/SCAORA1/controlfile/o1_mf_904ml2jz_.ctl /oracle_drives/oracle_sys/control01.ctl
SQL> ! mv /oracle_drives/oracle_fra/SCAORA1/controlfile/o1_mf_904ml2lw_.ctl /oracle_drives/oracle_fra/control02.ctl
SQL> startup
ORACLE instance started.
Total System Global Area 4,2950E+10 bytes
Fixed Size 2175824 bytes
Variable Size 4,2346E+10 bytes
Database Buffers 587202560 bytes
Redo Buffers 14598144 bytes
Database mounted.
Database opened.
SQL> select name from v$controlfile;
NAME
--------------------------------------------------------------------------------
/oracle_drives/oracle_sys/control01.ctl
/oracle_drives/oracle_fra/control02.ctl
Friday, August 16, 2013
Move Rename Oracle Control File
Subscribe to:
Post Comments (Atom)
Good work! Thank you for writing.
ReplyDeleteive got alot of free time on my hands recently, so ive decided to start blogging again, . . does anybody know any good blogging sites which are free and easy to use?? (apart from tumbr and blogger/google ). . thanks (:.
ReplyDeleteWhere can I find the best online creative writing courses?
ReplyDeleteHow do I start a blog? I just got a new account on Yahoo but don't see where to start writing.?
ReplyDeleteCheck wordpress.com
ReplyDeleteyou Can start from there.
My #1 recommand is wordpress.com
ReplyDeleteI'm studying Journalism at the University of Minnesota, and I am looking for a good website to start blogging on. I'm mostly looking for a good sports blogging website, but a music website would also be of interest. I've heard about Bleacher Report, is that one of the main sites?.
ReplyDeleteI am not a fun of sport.
ReplyDeleteSorry can't help you.