Home > Ask the Oracle Database / Applications Experts > Oracle database backup and recovery Questions & Answers > Questions about redo logs
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Questions about redo logs

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: 28 October 2004

I have a few questions about redo logs.

  1. Is there any way to find out how often the redo logs are being archived?
  2. What command is used to figure out the size of the redo logs?
  3. Can I back up the redo logs?

>

To find out how often redo logs are being archived, query V$ARCHIVED_LOG. This view will have one entry for every archived redo log; then go back the number of days specified by your CONTROL_FILE_RECORD_KEEP_TIME parameter. The COMPLETION_TIME column will tell you when the log was archived. By querying this column for all archived redo logs in a specific time frame, you can see how often they were archived.

The size of your archived redo log can be seen in V$ARCHIVED_LOG as well in the BLOCKS column. Multiply the number of blocks by the value of the DB_BLOCK_SIZE initialization parameter to get the number of bytes. This value should be less than or equal to the size of your online redo log that originally held this information.

You do not back up your online redo logs. In fact, when RMAN does a full backup of the database, it skips the online redo logs. More times that I can count, I've seen people get into trouble when they try to restore online redo logs that they have backed up. You can backup your archived redo logs. RMAN does this quite nicely for you with the BACKUP ARCHIVELOG command.


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



RELATED CONTENT
Redo logs
What happens to redo files in a crash?
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
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

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