A Control file is a must file for a Oracle Database to start-up and function. The control file includes:
Some one asked me, can you start a database without control file? Yes, that’s possible but it is not an easy task.
Multiplexing of control file minimized the risk of losing a copy during single disk or media failure. I can’t stress enough, how valuable the control file is? We need to do whatever we can to preserve the control file. It is recommended that you have at-least 3 copies of control files on different medias. The idea her is not to store all the eggs in a same basket!
Check if your database control file is Multiplexed or not:
Or you may use these queries!
How do you multiplex control file in Oracle 11g?
- The Database name
- Names and locations of associated data files and redo log files
- The time stamps of the database creation
- The current log sequence number
- Checkpoint information
Some one asked me, can you start a database without control file? Yes, that’s possible but it is not an easy task.
Multiplexing:
The term multiplexing is frequently used in Telecom Industries which means mirroring in plain English. It is an act of sending signals to multiple directions at a same time. How is this relevant to Oracle database? Oracle db has the ability to write to more than one files (max 8 files - 11g) at a given time. This is done to preserve the copy of a file.Multiplexing of control file minimized the risk of losing a copy during single disk or media failure. I can’t stress enough, how valuable the control file is? We need to do whatever we can to preserve the control file. It is recommended that you have at-least 3 copies of control files on different medias. The idea her is not to store all the eggs in a same basket!
Check if your database control file is Multiplexed or not:
show parameter control_file;
Or you may use these queries!
SELECT * FROM v$parameter WHERE name LIKE '%control%'; SELECT name FROM v$controlfile;
How do you multiplex control file in Oracle 11g?
- Go to the directory where the control file is located (show parameter control_file; -- for file path dir.)
- Log into SQLPlus and shutdown the database. (Why?) We don't want the updating happening in a control file while making a copy of control file.
- Make few copies of Oracle Control File. (control02.ctl and control03.ctl).You now have three control files. Store them in different storage media.
- Update the PFILE with two new control files. (show parameter pfile; --for pfile/spile location) for location of these new control files.
- Create spfile from pfile;
- Startup database.
- You are done with Multiplexing!!
- Verify the new control files are under show parameter control_file;
Interested in working with me? I can be reached at pbaniya04[at]gmail.com for any questions, consulting opportunities or you may drop a line to say HELLO. Thank your again for visiting my blog and looking forward to serving you more.
Have a Database-ious Day!
Have a Database-ious Day!
No comments