NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string C:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL01.CTL, C:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL02.CTL, C:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL03.CTL
5. 连接数据库
sqlplus /nolog
SQL> conn /@orcl as sysdba;
已连接到空闲例程。
6. 启动数据库
SQL> startup nomount;
ORACLE 例程已经启动。
Total System Global Area 431038464 bytes
Fixed Size 1333676 bytes
Variable Size 310380116 bytes
Database Buffers 113246208 bytes
Redo Buffers 6078464 bytes
7. 修改控制文件位置
SQL> alter system set control_files="C:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL01.CTL",
"C:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL02.CTL",
"C:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL03.CTL",
"C:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL04.CTL"
scope=spfile;
系统已更改。
8.SQL> startup force;
ORACLE 例程已经启动。
Total System Global Area 431038464 bytes
Fixed Size 1333676 bytes
Variable Size 310380116 bytes
Database Buffers 113246208 bytes
Redo Buffers 6078464 bytes
数据库装载完毕。
数据库已经打开。
9. 查看控制文件
SQL> show parameter control_files;
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
control_files string C:\ORACLE11G\APP\ADMINISTRATOR
\ORADATA\ORCL\CONTROL01.CTL, C
:\ORACLE11G\APP\ADMINISTRATOR\
ORADATA\ORCL\CONTROL02.CTL, C:
\ORACLE11G\APP\ADMINISTRATOR\O
RADATA\ORCL\CONTROL03.CTL, C:\
ORACLE11G\APP\ADMINISTRATOR\OR
ADATA\ORCL\CONTROL04.CTL