Mirroring the Control File

It is essential to mirror the control file in your Oracle database.

If you only have one copy of the control file and lose this copy due to a disk error or other problems, it is probably impossible to completely recover the database. The result is inevitable data loss.

To prevent this happening, create multiple copies of the control file. When the SAP system is installed, the control file is mirrored to at least two additional disks (often three). You can also mirror the control file yourself.

Caution Caution

Always make sure that all the control files are on different disks.

End of the caution.

Prerequisites

The default database profile (init.ora profile) delivered with the system makes sure that the control file and its mirror copies are stored in directories that are mounted on different disks.

Procedure

If necessary, change the standard mirroring of the control file by setting the control_files parameter.

Example Example

Here is a sample entry in profile init.ora:

control_files = (?/dbs/cntrl.dbf, ?/sapdata1/cntrl/ctrl.dbf,?/sapdata2/cntrl/ctrl.dbf)

The question mark ? is the official Oracle placeholder for the home directory of the database system (for example, /oracle/C11/102_64).

No comments:

topics