Home > Ask the Oracle Database / Applications Experts > Oracle database backup and recovery Questions & Answers > How does RMAN perform hot backups without shutting down DB?
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

How does RMAN perform hot backups without shutting down DB?

Brian Peasland1 EXPERT RESPONSE FROM: Brian Peasland1

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


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


>
QUESTION POSED ON: 23 June 2004
It's not clear to me how Oracle RMAN does a hot backup without shutting down the DB (to synchronize DB and Archivelog).

>
Whenever you back up datafiles, you have to do one of two things. You can shut down the database and then back up the datafiles. This option of a cold backup is a safe option because the datafiles will not be modified while you are backing them up. The second option is a hot backup. With a hot backup, it is likely that the datafile will be modified in the middle of backing it up. When this happens, the datafile is said to be "inconsistent." You need a mechanism to resolve that inconsistency. Prior to RMAN, this mechanism was to put the tablespaces in BACKUP mode. The database froze the SCN (System Change Number) in the datafile header. Each block of data also has a SCN noting when that block's contents last changed. On restore, if a block's SCN is higher than the header's SCN, then the database needs to resolve any inconsistencies using the archived redo logs. The system will go through the archived redo logs and ensure all blocks are consistent with a point in time.

RMAN is not that much different. It uses SCNs on the block level and the archived redo logs to resolve any inconsistencies in the datafiles from a hot backup. What RMAN does not require is to put the tablespace in BACKUP mode, thus freezing the SCN in the header. Rather, RMAN keeps this information in either your control files or in the RMAN repository (i.e., Recovery Catalog).


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



RELATED CONTENT
Recovery Manager (RMAN)
Can I take a compressed backup with RMAN?
Difference between RMAN and traditional backup methods
RMAN vs. dbverify utility
Different ways to back up a database
Questions about backup and recovery
RMAN backup and recovery help for new DBA
Deleting backups using RMAN
Improving backup speed and uses with RMAN
EXP/IMP vs. RMAN for backup
RMAN cold backup vs. hot backup

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

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