Search notes:
Oracle control files
Every Oracle
database needs a control file.
The controlfile is a small binary file that stores some important characteristics of the database:
Additionally,
RMAN uses the control file to store a history of
backup metadata .
Purpose
Thus, when an
instance is
started up , it first goes through a phase when the control files are opened but the database is still closed.
A control file also contains the information that is required to recover a database (such as checkpoints).
Default location of control files
The default location for control files can be found with
select
default_value
from
v$parameter
where
name = 'control_files';
Dictionary views
Some dictionary views that are related to control files are:
RMAN commands
Oracle recommends to turn on autobackup on for control files:
configure controlfile autobackup on;
configure controlfile autobackup format for device type disk to 'controlfile_%f';
restore controlfile from autobackup;
Dumping the contents of a control file to a trace file
The entries of a control file can be dumped to a
trace file by setting the following event:
alter session set events 'immediate trace name controlf level 10';