当前位置:网站首页>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
边栏推荐
- 校招期间 准备面试算法岗位 该怎么做?
- 让开发效率飞速提升的跨端方案
- Simple interest mode - lazy type
- MMAP learning
- Selenium finds the contents of B or P Tags
- How to prepare for the algorithm interview and answer the algorithm interview questions
- postgis 安装地理信息扩展
- selenium 获取dom内验证码图片
- The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
- MySQL InnoDB Architecture Principle
猜你喜欢
Teach yourself to train pytorch model to Caffe (I)
Why can't Chinese software companies produce products? Abandon the Internet after 00; Open source high-performance API gateway component of station B | weekly email exclusive to VIP members of Menon w
Deeply convinced plan X - network protocol basic DNS
Oracle checkpoint queue - Analysis of the principle of instance crash recovery
使用Aspect制作全局异常处理类
Parker driver maintenance COMPAX controller maintenance cpx0200h
Analysis and test of ModbusRTU communication protocol
What should I do to prepare for the interview algorithm position during school recruitment?
How can Huawei online match improve the success rate of player matching
Interviewer: will concurrent programming practice meet? (detailed explanation of thread control operation)
随机推荐
Simple interest mode - evil Chinese style
Longest swing sequence [greedy practice]
Simple interest mode - lazy type
Feng Tang's "spring breeze is not as good as you" digital collection, logged into xirang on July 8!
Selenium finds the contents of B or P Tags
MQ----activeMq
Some common processing problems of structural equation model Amos software
资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
2.2.5 basic sentences of R language drawing
Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
張麗俊:穿透不確定性要靠四個“不變”
ESP32
场景化面试:关于分布式锁的十问十答
Selenium's method of getting attribute values in DOM
Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry
2.2.3 output of documents
Three components of openpyxl
Codeforces 12D Ball 树形阵列模拟3排序元素
ICMP 介绍
selenium 获取dom内属性值的方法