oracle 11g 添加控制文件

OS:

Oracle Linux Server release 5.7

DB:

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

添加控制文件:

1.修改参数文件
alter system set control_files = '/u01/oracle/oradata/yoon/control01.ctl','/u01/oracle/oradata/yoon/control03.ctl' scope=spfile;

2.停止数据库

SQL> shutdown immediate;

3.复制控制文件

[oracle@yoon yoon]$ cp control01.ctl control03.ctl

4.启动数据库

SQL> statup

5.验证,查看v$controlfile

SQL> select name from v$controlfile;

NAME
--------------------------------------------------

/u01/oracle/oradata/yoon/control01.ctl

/u01/oracle/oradata/yoon/control03.ctl

上一篇:#034Python选修课第二届Turtle绘图大赛


下一篇:Kubernetes Ingress 学习