当前位置:网站首页>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
边栏推荐
- EL与JSTL注意事项汇总
- selenium 查找b或p标签的内容
- Explain various hot issues of Technology (SLB, redis, mysql, Kafka, Clickhouse) in detail from the architecture
- Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
- Experienced inductance manufacturers tell you what makes the inductance noisy. Inductance noise is a common inductance fault. If the used inductance makes noise, you don't have to worry. You just need
- 使用Aspect制作全局异常处理类
- [daily training] 729 My schedule I
- SQL knowledge leak detection
- Two ways to realize video recording based on avfoundation
- 基于 Ingress Controller 在集群外访问 Zadig 自测环境(最佳实践)
猜你喜欢

Interviewer: will concurrent programming practice meet? (detailed explanation of thread control operation)

Drawing HSV color wheel with MATLAB

Two ways to realize video recording based on avfoundation

Realize the function of verifying whether the user has completed login when browsing the page

Clickhouse copy paste multi line SQL statement error

Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node

递归查询多级菜单数据

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

让开发效率飞速提升的跨端方案

华为联机对战如何提升玩家匹配成功几率
随机推荐
Teach yourself to train pytorch model to Caffe (2)
Xlrd common operations
从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
他们主动布局(autolayout)环境的图像编辑器
Huawei fast game failed to call the login interface, and returned error code -1
Alibaba cloud award winning experience: build a highly available system with polardb-x
Comprehensive optimization of event R & D workflow | Erda version 2.2 comes as "7"
Explain various hot issues of Technology (SLB, redis, mysql, Kafka, Clickhouse) in detail from the architecture
华为游戏多媒体服务调用屏蔽指定玩家语音方法,返回错误码3010
Parker驱动器维修COMPAX控制器维修CPX0200H
PostGIS installation geographic information extension
Drawing HSV color wheel with MATLAB
张丽俊:穿透不确定性要靠四个“不变”
postgres 建立连接并删除记录
让开发效率飞速提升的跨端方案
Longest swing sequence [greedy practice]
Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node
Clickhouse copy paste multi line SQL statement error
Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry
Opérations de lecture et d'écriture pour easyexcel