How to implement the multiple control files for an existing
database ?
Answers were Sorted based on User's Feedback
Answer / ankur aggarwal
shutdown the database
copy the existing control file by using copy command of OS.
paste it another location where you want to create it.
define the path in init.ora file ("control file" Parameter)
startup database.
| Is This Answer Correct ? | 4 Yes | 0 No |
1)Check number of controlfiles.
SQL>select name from v$controlfile.
Suppose there are two controlfiles,control01.ctl and control02.ctl.Check the path of controlfiles.
SQL>Shut immediate.
Go to the controfile location.
$ls
control01.ctl control02.ctl
$cp control01.ctl control03.ctl
$ls
control01.ctl control02.ctl control03.ctl
Now open parameter file init<sid>.ora .
$vi init<sid>.ora
control_files='/home/..../control01.ctl','/home/.../control02.ctl','/home/...../control03.ctl'
save and quit
SQL>startup
SQL>Now check the name and path of controfiles.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the function of Redo Log in Oracle?
What is an Integrity Constrains in Oracle?
How does Space allocation table place within a block ?
Name the ORACLE Background Process?
How will you swap objects into a different table space for an existing database?
What are functions of PMON?
What is an Oracle Rollback Segment?
What does LGWR do?
How will you estimate the space required by a non-clustered tables?
What is meant by free extent ?
What is the function of Lock (LCKn) Process?
Why query fails sometimes ?