当前位置:网站首页>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
边栏推荐
猜你喜欢

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

2.2.3 output of documents

Uni app Bluetooth communication

冯唐“春风十里不如你”数字藏品,7月8日登录希壤!

Yolov5 training custom data set (pycharm ultra detailed version)

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

Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned

Golang (1) | from environmental preparation to quick start

Chapter 05_ Storage engine

leetcode:1755. Sum of subsequences closest to the target value
随机推荐
MMAP学习
MMAP
datagrid直接编辑保存“设计缺陷”
[daily training -- Tencent select 50] 89 Gray code (only after seeing the solution of the problem)
What should I do to prepare for the interview algorithm position during school recruitment?
Chapter 05_ Storage engine
Objects in the list, sorted by a field
Image editor for their AutoLayout environment
Longest swing sequence [greedy practice]
Problems encountered in office--
Cross end solutions to improve development efficiency
Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
冯唐“春风十里不如你”数字藏品,7月8日登录希壤!
PIP install beatifulsoup4 installation failed
Codeforces 12D Ball 树形阵列模拟3排序元素
EBS Oracle 11g 克隆步骤(单节点)
Codeforces 12D ball tree array simulation 3 sorting elements
Deeply convinced plan X - network protocol basic DNS
秋招将临 如何准备算法面试、回答算法面试题
The primary key is set after the table is created, but auto increment is not set