GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  Backup and Recovery
Go To First  |  Previous Question  |  Next Question 
 Backup and Recovery  |  Question 16 of 42    Print  
what is the difference between media recovery & crash recovery..?

  
Total Answers and Comments: 9 Last Update: October 23, 2007     Asked by: opk_pavan 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: KS
 
Datafile media recovery or media recovery is used when we need to recover datafile, controlfile or spfiles( server parameter file).Crash recovery is the recovery of a database in a single-instance configuration or an Oracle Real Application Clusters configuration in which all instances have crashed.Like crash recovery Oracle will not initiate media recovery on its own, it must be demanded by a DBA only.

Above answer was rated as good by the following members:
khaundanupam, makecenter
February 22, 2006 03:40:54   #1  
siddhant        

diff bitween media recovery crash recovery
diff bitween media recovery crash recovery
 
Is this answer useful? Yes | No
February 23, 2006 05:23:23   #2  
Arock Lincy.R        

what is the difference between media recovery & cr...
what is the difference between media recovery & crash recovery?
 
Is this answer useful? Yes | No
February 24, 2006 01:44:17   #3  
ritish        

RE: what is the difference between media recovery & cr...

Media recovery: is related to disc failure...

crash recovery:- Is related to instance recovery.which is automatically done by SMON background process.

i hope im able to clear your doubts


 
Is this answer useful? Yes | No
March 02, 2006 23:47:39   #4  
KS        

RE: what is the difference between media recovery & cr...
Datafile media recovery or media recovery is used when we need to recover datafile controlfile or spfiles( server parameter file).Crash recovery is the recovery of a database in a single-instance configuration or an Oracle Real Application Clusters configuration in which all instances have crashed.Like crash recovery Oracle will not initiate media recovery on its own it must be demanded by a DBA only.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
April 05, 2006 05:11:59   #5  
Paresh Sarma        

RE: what is the difference between media recovery & cr...

Media recovery is a process to recover database from backup when physical disk failure occure.

cash recovery is a automated process take care by oracle when instance failure occure.


 
Is this answer useful? Yes | No
July 08, 2006 03:34:46   #6  
sabita        

RE: what is the difference between media recovery & cr...

Media Recovery means disk failure in other way loss of physcial file which has to be taken care by Oracle DBA

but Crash Recovery means Instance recovery which is done automatically by SMON background process


 
Is this answer useful? Yes | No
July 13, 2006 10:03:00   #7  
jiawei wang        

RE: what is the difference between media recovery & cr...
media failture involves a physical when reading from or writing to a file that is necessary fo the database to operate. media failure is the most serious type of failure and dba intervention requires.
To recover database depends on the following:
.backup method you choose and which files are affected.
.the arechivelog mode of operation of the database. if archiving is used you can apply archived redo log files to recover committed data since the last backup. if you are using rman you can also apply incremental backups.
instance failure:
.power outage
.hardware problems
.background processes
startup instance---- the oracel server will automatically recover performing both the roll forward and roll back phases.
investigates the cause of failure by reading the alert log and any other trace files that were generated during the instance fuilure.

 
Is this answer useful? Yes | No
September 17, 2006 09:28:48   #8  
shabirwani Member Since: September 2006   Contribution: 2    

RE: what is the difference between media recovery & cr...

oracle never accepts the inconsistency of the database. so when oracle goes down due to power outage or aborted manually next time once the database base is opened it goes mainly to the three states nomount mount and open when oracle try to open the database it makes check of SCN in the controlfile and each database datafile header if the check is not correct it will try to perform crash recovery and apply the online redo logs to bring the database in consistent state. By any means if it could not apply then it will try to locate the archive logs to apply and asks for media recovery.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
October 23, 2007 00:36:47   #9  
hemant        

RE: what is the difference between media recovery & cr...
The basic diff between the media and crash recovery is that media recovery is performed by the user or dba with the helps of backups while the crash recovery is performed by the oracle itself by using his sman background process.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape