Oracle Articles, Oracle Tools, Oracle Tips, Database Articles and DBA Tips  

The Largest Online Resource for Oracle Articles, Oracle Tips, Oracle Scripts & Oracle Tools!!


Enter your Email:
 
Navigate at FreeMegaZone Home      Articles      Tools      Jobs      Games      Support      Submit Content      Advertise
Advertise at http://www.articles.freemegazone.com

Advertise at FreeMegaZone

Give tremendous boost to your business by advertising at FreeMegaZone. Contact webmaster@freemegazone.com

 


Rating: ****                                               Rate this article:    

 Author: Aron Kenny

Page: 1 2

It is very important to backup and recover your Oracle databases from time to time so as to protect your data from corruptions, hardware failures, and data failures. Although Oracle provides a number of great features for protecting your data but you should make sure that you have a valid and up to date backup of your database each time.

Being database administrator you must have experienced a number of scenarios where you need to backup your Oracle databases. Which type of recovery you should attempt depends on the situation. For example consider a situation where someone dropped a table and one of one of the online redo logs is missing and is not archived and the table needs to be recovered. Another case is where your backup control file does not know anything about the arhivelogs that got created after your last backup. Similarly another scenario can be where you have lost all logs pass a specific sequence say X and you want to control which archived log terminates recovery. Or a scenario where one of the archived redo log files required for the complete recovery is corrupt or missing and the only recovery option is to recover up to the missing archived redo log file. And the list goes on and on…..

Oracle Cancel-Based Recovery:

Oracle Cancel-Based Recovery is basically a user managed incomplete recovery where you use the UNTIL CANCEL clause to perform recovery until the user manually cancels the recovery process. Oracle Cancel-Based Recovery is usually performed when there is a requirement to recover up to a particular archived redo log file. All recovery scenarios we discussed above need Oracle Cancel-Based Recovery.

The Oracle Cancel-Based Recovery process prompts user with the suggested archived redo log files' names and is stopped when the user specifies CANCEL instead of specifying an archived redo log file's name. If the user does not specify CANCEL then the recovery process will automatically stop when all redo has been applied to the datafiles.

Recovery Scenario

Preferred Recovery Method

Some important table is dropped Oracle Time-based Recovery
Some bad data is committed in a table Oracle Time-based Recovery
Lost archive log results in failure of complete recovery Oracle Cancel-based Recovery
Backup control file does not know anything about the arhivelogs Oracle Cancel-based Recovery
All unarchived Redo Logs and datafiles are lost Oracle Cancel-based Recovery
Recovery is needed up to a specific archived log file Oracle Cancel-based Recovery
Recovery through Resetlogs when media failure occurs before backup completion. Oracle Change-based Recovery
A Tablespace is dropped Recovery with a backup control file

Continued...

Page: 1 2

 More Oracle Articles, Database Articles and DBA Tips
   Database Security: Step by step guideline
   Effective Tips for Hang Databases!
   Testing Database Security
   Efficiently Tracking Oracle Long-Running Queries!!
   The Power of Oracle External Tables


FreeMegaZone Jobs

 

 
HOME      ABOUT US      SUPPORT      SITE MAP      PRIVACY POLICY      TERMS OF USE      SUBMIT CONTENT      ADVERTISE
Copyright © 2007 - 2012 Oriole Intellect Inc. All rights reserved.

The name Oracle is a trademark of Oracle Corporation. Any other names used on this website may be trademarks of their respective owners