Managing Control Files
Managing Control Files
This module describes how to remove and re-create control
files.
This module discusses the following:
Move your mouse over this icon to show all screenshots.
You can also move your mouse over each individual icon to see only the screenshot
associated with it.
Back to List of Topics
You can remove a control file so that the Oracle server no
longer uses it. The approach you follow depends on whether you are using a text
initialization parameter file (also referred to as an init.ora file) or a server
parameter file (also referred to as an SPFILE).
Back to List of Topics
Complete the following steps to remove a control file from
your database when using a text initialization parameter file:
Back to List of Topics
Complete the following steps to remove a control file from
your database when using a server parameter file:
Back to List of Topics
You can use the CREATE
CONTROLFILE statement to re-create a control file in one of the following
cases:
 |
All copies of your existing control files
have been lost through media failure |
 |
You want to change the name of the database |
 |
You want to change the maximum number of
redo log file groups, redo log file members, archived redo log files, data
files, or instances that can concurrently have the database mounted and
open |
In this module, you will learn how to generate a SQL script
containing the CREATE CONTROLFILE
command from an existing control file. In addition, you will learn how to create
a new control file if you have lost all of your control files and do not have
a SQL script that you previously created.
Back to List of Topics
You can use a command to generate a SQL script to re-create
your control file. Follow the steps outlined below to create this script and
re-create your control file:
Back to List of Topics
If you do not have a SQL script file to re-create the control
file, you can manually create the script file containing the CREATE
CONTROLFILE command. The CREATE
CONTROLFILE syntax follows:

Complete the following steps to create your control file:
Move your mouse over this icon to hide all screenshots
|