当前位置:网站首页>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
边栏推荐
- 1.2 download and installation of the help software rstudio
- 基于 Ingress Controller 在集群外访问 Zadig 自测环境(最佳实践)
- Four components of logger
- QML reported an error expected token ";", expected a qualified name ID
- postgis 安装地理信息扩展
- datagrid直接编辑保存“设计缺陷”
- 力扣------经营摩天轮的最大利润
- 华为游戏多媒体调用切换房间方法出现异常Internal system error. Reason:90000017
- MQ----activeMq
- POJ 3237 tree (tree chain splitting)
猜你喜欢

Oracle checkpoint queue - Analysis of the principle of instance crash recovery

Chapter 05_ Storage engine

Analysis and test of ModbusRTU communication protocol

MQ----activeMq

华为游戏多媒体服务调用屏蔽指定玩家语音方法,返回错误码3010

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

Opérations de lecture et d'écriture pour easyexcel

力扣------经营摩天轮的最大利润

2.2.3 output of documents

Realize the function of verifying whether the user has completed login when browsing the page
随机推荐
Scenario interview: ten questions and ten answers about distributed locks
总结出现2xx、3xx、4xx、5xx状态码的原因
Teach yourself to train pytorch model to Caffe (I)
华为联机对战如何提升玩家匹配成功几率
冯唐“春风十里不如你”数字藏品,7月8日登录希壤!
华为云ModelArts文本分类–外卖评论
Incentive mechanism of Ethereum eth
Cross end solutions to improve development efficiency
Selenium's method of getting attribute values in DOM
Drawing HSV color wheel with MATLAB
Ethereum ETH的奖励机制
Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry
selenium 获取dom内验证码图片
1.2 download and installation of the help software rstudio
leetcode:1755. Sum of subsequences closest to the target value
Teach yourself to train pytorch model to Caffe (III)
The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
"Grain mall" -- Summary and induction
Interviewer: will concurrent programming practice meet? (detailed explanation of thread control operation)
Oracle检查点队列–实例崩溃恢复原理剖析