当前位置:网站首页>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
边栏推荐
猜你喜欢
KingbaseES V8R3集群维护案例之---在线添加备库管理节点
Huawei cloud modelarts text classification - takeout comments
An exception occurred in Huawei game multimedia calling the room switching method internal system error Reason:90000017
阿里云有奖体验:用PolarDB-X搭建一个高可用系统
2.2.3 output of documents
Chapter 05_ Storage engine
Arcgis\qgis no plug-in loading (no offset) mapbox HD image map
Teach yourself to train pytorch model to Caffe (2)
Zhang Lijun: la pénétration de l’incertitude dépend de quatre « invariants»
Realize the function of verifying whether the user has completed login when browsing the page
随机推荐
Cross end solution to improve development efficiency rapidly
SQL common syntax records
华为游戏多媒体服务调用屏蔽指定玩家语音方法,返回错误码3010
Problems encountered in office--
Xlrd common operations
The primary key is set after the table is created, but auto increment is not set
Clickhouse copy paste multi line SQL statement error
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
postgres 建立连接并删除记录
深信服X计划-网络协议基础 DNS
Teach yourself to train pytorch model to Caffe (III)
他们主动布局(autolayout)环境的图像编辑器
Emotional analysis of wechat chat records on Valentine's day based on Text Mining
Oracle HugePages没有被使用导致服务器很卡的解决方法
递归查询多级菜单数据
one hundred and twenty-three thousand four hundred and fifty-six
Selenium's method of getting attribute values in DOM
Reading and writing operations of easyexcel
Gcc9.5 offline installation
Simple interest mode - lazy type