|
环境:单实例
SQL> show parameter control
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
control_file_record_keep_time integer 7
control_files string F:\APP\ADMINISTRATOR\ORADATA\O
RCL\CONTROL01.CTL, F:\APP\ADMI
NISTRATOR\ORADATA\ORCL\CONTROL
02.CTL
control_management_pack_access string DIAGNOSTIC+TUNING
SQL> alter system set control_files='F:\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL01.CTL','F:\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL02.CTL','F:\ORACLE19C\DB_RECOVERY_FILE\ORCL\AUTOBACKUP\CONTROL03.CTL' scope=spfile;
系统已更改。
SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
此时复制CONTROL01.CTL到F:\ORACLE19C\DB_RECOVERY_FILE\ORCL\AUTOBACKUP目录下并改名为CONTROL03.CTL
启动数据库:
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 1.0301E+10 bytes
Fixed Size 12578000 bytes
Variable Size 1778384896 bytes
Database Buffers 8489271296 bytes
Redo Buffers 20975616 bytes
数据库装载完毕。
数据库已经打开。
SQL> show parameter control;
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
control_file_record_keep_time integer 7
control_files string F:\APP\ADMINISTRATOR\ORADATA\O
RCL\CONTROL01.CTL, F:\APP\ADMI
NISTRATOR\ORADATA\ORCL\CONTROL
02.CTL, F:\ORACLE19C\DB_RECOVE
RY_FILE\ORCL\AUTOBACKUP\CONTRO
L03.CTL
control_management_pack_access string DIAGNOSTIC+TUNING
|
|