当前位置:网站首页>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
边栏推荐
- Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
- 2.2.3 output of documents
- 让开发效率提升的跨端方案
- Zhang Lijun: la pénétration de l’incertitude dépend de quatre « invariants»
- ESP32
- Selenium's method of getting attribute values in DOM
- 让开发效率飞速提升的跨端方案
- Robot framework setting variables
- PIP install beatifulsoup4 installation failed
- MySQL InnoDB Architecture Principle
猜你喜欢

Deployment of Jenkins under win7

Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"

事项研发工作流全面优化|Erda 2.2 版本如“七”而至

2.2.5 basic sentences of R language drawing

Defect detection - Halcon surface scratch detection

leetcode:1755. Sum of subsequences closest to the target value

场景化面试:关于分布式锁的十问十答

2022-07-03-CKA-粉丝反馈最新情况

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

从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
随机推荐
华为游戏多媒体调用切换房间方法出现异常Internal system error. Reason:90000017
让开发效率提升的跨端方案
Xlrd common operations
Defect detection - Halcon surface scratch detection
资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
EL与JSTL注意事项汇总
Matlab | app designer · I used Matlab to make a real-time editor of latex formula
matlab绘制hsv色轮图
oracle 控制文件的多路复用
selenium 查找b或p标签的内容
Teach yourself to train pytorch model to Caffe (2)
华为联机对战如何提升玩家匹配成功几率
postgis 安装地理信息扩展
int GetMonth( ) const throw( );后面的throw( )什么意思?
Golang (1) | from environmental preparation to quick start
Cross end solution to improve development efficiency rapidly
Postgres establish connection and delete records
Some common processing problems of structural equation model Amos software
SQL knowledge leak detection
Yolov5 training custom data set (pycharm ultra detailed version)