Documente Academic
Documente Profesional
Documente Cultură
• Safety
• Performance goes down but safety increases
• Oracle Multiplexing – use CONTROL_FILES parameter
1. Shut down the database.
2. Copy the control file to more locations by using
an operating system command.
3. Change the initialization parameter file to
include the new control file name(s) in the
parameter CONTROL_FILES
4. Start up the database.
• You can also use hardware mirroring (RAID 1) – DBA
will not be involved
• Why
• If you the DBA is stupid or unfortunate – all
control files are lost
• Want to change MAX clauses (MAXLOGFILES,
MAXLOGMEMBERS, MAXDATAFILES) in “create database”
command – poor planning on DBA’s part
• Change the name of the database – again, poor
planning
• How
o Shutdown the database
o Startup nomount – cannot execute startup mount
because we do not have the control file.
o Create control file using the following command.
It will create control file/s at the location
specified in CONTROL_FILES in init.ora
NORESETLOGS – means do not ignore the contents of
these redo log files.
CURRENT_SCN
-----------
4431570
Note: SCN in data file header should match with SCN in
control file at instance startup.
CHECKPOINT_CHANGE#
------------------
4433137
• DB_NAME
• CONTROL_FILES
• USER_DUMP_DEST
• FAST_START_MTTR_TARGET
• Create controlfile
• Startup nomount
• Alter database open
• Alter database backup controlfile to ‘/opt/ctrl.ctl’
reuse;
• Alter database backup controlfile to trace
• Show parameter control_files
• Alter system switch logs;
• Alter system checkpoint;