当前位置:网站首页>Multiplexing of Oracle control files
Multiplexing of Oracle control files
2022-07-05 21:45:00 【Ruthless white】
Concept :
The control file is Oracle Database is a very important file , The structure information of the current database is recorded , At the same time, it also contains the information of data files and log files, as well as the related status , Archive information and so on , A database has at least one control file , It is strongly recommended that more than one control document , The backup of each control file should be placed on a different disk .
Configuration steps :
1. Create a directory for storing multiplexing control files
mkdir -p /flash_recover_area/controfile
2. View existing control files
show parameter contro;
NAME TYPE
------------------------------------ --------------------------------
VALUE
------------------------------
control_file_record_keep_time integer
7
control_files string
/u01/app/oracle/oradata/jfdb/c
ontrol01.ctl, /u01/app/oracle/
oradata/jfdb/control02.ctl
control_management_pack_access string
NAME TYPE
------------------------------------ --------------------------------
VALUE
------------------------------
DIAGNOSTIC+TUNING
3. add to control03.ctl
alter system set control_files='/u01/app/oracle/oradata/jfdb/control01.ctl','/u01/app/oracle/oradata/jfdb/control02.ctl','/flash_recover_area/controfile/control03.ctl' scope=spfile;
4. Close the database
shutdown immediater;
5. Copy control01.ctl To /flash_recover_area/controfile/ Directory and rename control03.ctl
cp /u01/app/oracle/oradata/jfdb/control01.ctl /flash_recover_area/controfile/control03.ctl
6. Start database , Check the number of control files
startup
show parameter contro;
SQL> show parameter contro;
NAME TYPE
------------------------------------ --------------------------------
VALUE
------------------------------
control_file_record_keep_time integer
7
control_files string
/u01/app/oracle/oradata/jfdb/c
ontrol01.ctl, /u01/app/oracle/
oradata/jfdb/control02.ctl, /f
lash_recover_area/controfile/c
ontrol03.ctl
control_management_pack_access string
NAME TYPE
------------------------------------ --------------------------------
VALUE
------------------------------
DIAGNOSTIC+TUNING
边栏推荐
- Interview questions for basic software testing
- MMAP
- Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
- Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
- Net small and medium-sized enterprise project development framework series (one)
- Environment configuration problem record
- selenium 查找b或p标签的内容
- Cross end solution to improve development efficiency rapidly
- Robot framework setting variables
- Codeforces 12D ball tree array simulation 3 sorting elements
猜你喜欢

R language learning notes

Ethereum ETH的奖励机制

Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development

uni-app 蓝牙通信

Access Zadig self-test environment outside the cluster based on ingress controller (best practice)

What should I do to prepare for the interview algorithm position during school recruitment?

DBeaver同时执行多条insert into报错处理

Yolov5 training custom data set (pycharm ultra detailed version)

Huawei fast game failed to call the login interface, and returned error code -1

MQ----activeMq
随机推荐
HYSBZ 2243 染色 (树链拆分)
Two ways to realize video recording based on avfoundation
Poj 3237 Tree (Tree Chain Split)
Detailed explanation of memset() function usage
QML reported an error expected token ";", expected a qualified name ID
uni-app 蓝牙通信
postgres 建立连接并删除记录
华为云ModelArts文本分类–外卖评论
Access Zadig self-test environment outside the cluster based on ingress controller (best practice)
123456
Cross end solution to improve development efficiency rapidly
冯唐“春风十里不如你”数字藏品,7月8日登录希壤!
Clickhouse copy paste multi line SQL statement error
int GetMonth( ) const throw( );后面的throw( )什么意思?
EBS Oracle 11g 克隆步骤(单节点)
How can Huawei online match improve the success rate of player matching
Some common processing problems of structural equation model Amos software
Objects in the list, sorted by a field
事项研发工作流全面优化|Erda 2.2 版本如“七”而至
Get JS of the previous day (timestamp conversion)