Home > Ask the Oracle Database / Applications Experts > Oracle database backup and recovery Questions & Answers > What happens to redo files in a crash?
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

What happens to redo files in a crash?

Brian Peasland1 EXPERT RESPONSE FROM: Brian Peasland1

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 06 December 2006
Whenever we read about backup and recovery in Oracle, a crash always corrupts the datafiles. What happens to the redo files? Do they never get corrupted? If yes, then how is recovery done in these cases?

>
I would not characterize the datafiles as being "corrupt" when Oracle crashes. A better term is that the datafiles will be "inconsistent" after an instance crash. The files will be inconsistent because there may be uncommitted transactions in the datafile. So the online redo log files are used to resolve the uncommitted data. It is also possible that the datafiles will not contain the results of a committed transaction.

It is highly possible that when the instance crashes, there are uncommitted transactions in the redo log files as well. This means the online redo log files share the same inconsistency. However, when you start the instance, SMON performs instance recovery which means the online redo log files are used to commit any changes not yet written to the database data files, as well as rollback any uncommitted transactions that were in progress during the crash.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Oracle database backup and recovery
Can I perform an Oracle server backup through a client machine?
How to execute DML in an Oracle trigger with EXECUTE IMMEDIATE
How to restore a dump file with the Oracle SHOW=Y option
Why do I get an Oracle not available error with Oracle 8i on Windows?
How to perform Oracle database recovery with a corrupt online redo log
Can I create an Oracle Catalog Database with the Enterprise Console?
Do I need to recreate views after an Oracle table reorg?
Client-based apps vs. web-based apps in Developer 2000
How to perform an Oracle 8i to 10g migration
Can I move the tablespace online with missing datafiles in Oracle?

Oracle database backup and recovery
Can I perform an Oracle server backup through a client machine?
How to execute DML in an Oracle trigger with EXECUTE IMMEDIATE
How to restore a dump file with the Oracle SHOW=Y option
Why do I get an Oracle not available error with Oracle 8i on Windows?
Oracle tutorial library: SearchOracle.com's learning guides
How to perform Oracle database recovery with a corrupt online redo log
Can I create an Oracle Catalog Database with the Enterprise Console?
Do I need to recreate views after an Oracle table reorg?
Client-based apps vs. web-based apps in Developer 2000
How to perform an Oracle 8i to 10g migration
Oracle database backup and recovery Research

Redo logs
Questions about the redo logs from the Oracle 9i concepts manual
Getting back to a particular day's state after committing something incorrectly
Updating a remote database using redo logs
Questions about redo logs
How is recovery possible in a roll forward phase when the database instance fails?
Purpose of roll forward and roll backward
Do I need to back up the online redo log?
Avoiding hot backup for online redo logs
Hot backup using export utility
Point-in-time recovery

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts