0% found this document useful (0 votes)
62 views

Create Controlfile

The CREATE CONTROLFILE command is used to re-create a control file for an Oracle database if the existing control files are lost or to change configuration settings like the maximum number of redo log files, datafiles, or instances. It allows specifying LOGFILE and DATAFILE locations and options like NORESETLOGS to retain archived redo logs after creation. Multiple LOGFILEs and DATAFILEs can be listed separated by commas.

Uploaded by

mehul dholakiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Create Controlfile

The CREATE CONTROLFILE command is used to re-create a control file for an Oracle database if the existing control files are lost or to change configuration settings like the maximum number of redo log files, datafiles, or instances. It allows specifying LOGFILE and DATAFILE locations and options like NORESETLOGS to retain archived redo logs after creation. Multiple LOGFILEs and DATAFILEs can be listed separated by commas.

Uploaded by

mehul dholakiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

CREATE CONTROLFILE [REUSE] [SET] DATABASE database

LOGFILE [GROUP int] filespec


[RESETLOGS | NORESETLOGS]
DATAFILE filespec options [CHARACTER SET charset]

Options:
MAXDATAFILES int
MAXLOGFILES int
MAXLOGMEMBERS int
MAXLOGHISTORY int
MAXINSTANCES int
ARCHIVELOG | NOARCHIVELOG
FORCE LOGGING

Several LOGFILE and/or DATAFILEs can be specified at once if separated with commas.

Do not include in the DATAFILE clause any datafiles in temporary or read-only


tablespaces. You can add these to the database later.

Use this command to re-create a control file only if:

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, datafiles, or instances that can concurrently
have the database mounted and open.

You might also like