Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Backup & Recovery >> how to recover control file

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: how to recover control file
 imran  Posted: Jul 08, 2008 09:12:39 AM

 Total Post: 3
 Joined: Jul, 2008






 I have three controlfiles in my database,one of the controlfile is corrupted during database is in functional,
suddenly my database is shutdown,during next startup oracle send me the error,i have the old backup of controlfile that is taken before one week,my database is running in archivelog mode and no datafile is added yet but i added five tables this week,how could i recover the database.

i am working in oracle 9i

 Babu
Posted: Jul 08, 2008 01:03:43 PM  

 Total Post: 94
 Joined: Oct, 2007






 
Hi,

You need to create text based controlfile using;

'ALTER DATABASE BACKUP CONTROLFILE TO TRACE'

Babu

 eyecycas
Posted: Jul 09, 2008 03:05:28 PM  

 Total Post: 6
 Joined: Nov, 2007






 
Hello,

Babu is right! But you can even have it easier. If just one controlfile is gone and the others are intact, just shutdown the instance. Replace the damaged controlfile with one of you other intact controlfiles and then startup the instance. That's possible, because you only need 1 Controlfile. The others are identical copies of the Original.

host > cp controlfile03.ctl controlfile01.ctl

Or you can do it in NOMOUNT, by altering the parameter CONTROL_FILES. Just delete the damaged Controlfile from this entry:

alter system set CONTROL_FILES= '../controlfile02.ctl', '../controlfile03.ctl';
shutdown immediate;
startup;

Hope I was able to help.

bye-bye
eyecycas



 Babu
Posted: Jul 09, 2008 09:08:13 PM  

 Total Post: 94
 Joined: Oct, 2007






 
Good.

Babu

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar843
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gitesh Trivedi322
  Gopu Gopi268
  neeraj sharma252
  Ramesh Jois245
  Bishal Khetan207






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software