GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Oracle  >  Backup and Recovery
Go To First  |  Previous Question  |  Next Question 
 Backup and Recovery  |  Question 36 of 37    Print  
Corrupted Archieve Logs
There are 100 datafiles, numbered from 1 to 100. File number 10 is deleted and it has 500 MB of data. The database is working in archive log mode. How can be the database recovered ? While doing recovery the archive logs applied are from nos 1 to 100, but 50 gets corrupted. What do we do? Can we proceed further? If so how?


  
Total Answers and Comments: 3 Last Update: September 29, 2008     Asked by: shanthiavari 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 07, 2008 09:33:10   #1  
raghavram Member Since: July 2008   Contribution: 1    

RE: Corrupted Archieve Logs
you can recover the datafiles byusing the following command,
mount the database and issues the following comand before openining it,

SQL> alter database recover datafile '< datafile file name.';
SQL> alter database open;

Part 2, if while doing a recovery the archive logs gets corrupted then we are in serious trouble. Rolling forward tranactions need the archive logs to be proper, if they are corrupted we will need some advanced recovery techniques, I forgot what the names of the advanced recovery utilities, but Oracle suggests in such a case the you get in touch with support before using those utilities. But to be more precise and answer your question, I do not think we can recover the database fully with corrupted archive logs, especially if the redo logs have been swtiched.

 
Is this answer useful? Yes | No
July 22, 2008 05:28:34   #2  
g.mrunalini Member Since: February 2008   Contribution: 8    

RE: Corrupted Archieve Logs
If the archive log which was missed has been still exists in the online redo log file. That means the log sequence number for that file in the online redo log files doesnt get overwritten at the time we plan to do recovery, then switch that redo log file again so that we will get the corrupted log file back.
 
Is this answer useful? Yes | No
September 29, 2008 07:58:23   #3  
mojidra Member Since: September 2008   Contribution: 7    

RE: Corrupted Archieve Logs

Your database in archive log mode one of your archive file is missing there is no way to performed complete recovery you can able to do incomplete recovery, recover database till cancelled or there is another way if you have a export copy of that datafile latest than that archive log file missed then import that datafile data loss is lesser as compared to incomplete recovery.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape