当前位置:网站首页>3. Oracle control file management

3. Oracle control file management

2022-07-05 06:22:00 Cold leaves elegant_

  1. Close instance (shutdown immediate), Delete all control files , Recreate the control file (3 individual )
select member from v$logfile;

 Insert picture description here

select value from v$parameter where name = 'control_files';

 Insert picture description here
First, close the database
 Insert picture description here
perform create control command ( I reported an error before , The reason is that the log file size is not set correctly , It should be the same size as when it was created )
 Insert picture description here

  1. After the above operations are completed , Add a control file control04.ctl, Put it in D disc ( Multi mirror )
ALTER SYSTEM SET CONTROL_FILES =
'D:\APP\SNAKEWOOD\PRODUCT\11.2.0\DBHOME_1\DATABASE\ORA_CONTROL1',
'D:\APP\SNAKEWOOD\PRODUCT\11.2.0\DBHOME_1\DATABASE\ORA_CONTROL2',
'D:\app\Snakewood\oradata\mydba\ORA_CONTROL4'
SCOPE=SPFILE;

 Insert picture description here

  1. The backup control file is a text file

 Insert picture description here

 Insert picture description here

  1. Please try to control01.ctl File move to C:\oracle\product Location , And ensure that the database can be re 、 Normal start
    Query the location of the control file
     Insert picture description here
    modify spfile Location of control files in
     Insert picture description here
    Close the database , And move the control file to the modified location

 Insert picture description here
Start database , And query the directory where the control file is located
 Insert picture description here

原网站

版权声明
本文为[Cold leaves elegant_]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/186/202207050620030152.html