BC remote Oracle DBA - Call (800) 766-1884  
Oracle Consulting Oracle Training Development

Remote DBA

Remote DBA Plans  

Remote DBA Service

Remote DBA RAC

   
Remote DBA Oracle Home
Remote DBA Oracle Training
Remote DBA SQL Tuning Consulting
Remote DBA Oracle Tuning Consulting
Remote DBA Data Warehouse Consulting
Remote DBA Oracle Project Management
Remote DBA Oracle Security Assessment
Remote DBA Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Links
Remote DBA Oracle Monitoring
Remote DBA Support Benefits
Remote DBA Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

 

Remote DBA services

Remote DBA Support

Remote DBA RAC

Remote DBA Reasons

Remote Oracle Tuning

Remote DBA Links

Oracle DBA Support

Oracle DBA Forum

Oracle Disaster

Oracle Training

Oracle Tuning

Oracle Training

 Remote DBA SQL Server

Remote MSSQL Consulting

Oracle DBA Hosting

Oracle License Negotiation

 

 


 

 

 

 

   
  Oracle Tips by Burleson

Oracle Archives – archived redo logs

Archive log files are only present if archive logging has been initiated in the database instance. Archive logs are copies of the filled redo logs. Archive logs are used to provide point-in-time recovery to time-of-failure. Archive logs can consume a large amount of disk resource in an active environment. In some situations, I have seen archive logs consume tens of gigabytes of disk area in a single day. I am sure there are installations where it is normal to use hundreds of gigabytes for archive logs.

If you want to be able to recover your database to point-of-failure, you have to use archive logging. The logs should be placed away from the other files in the system on a physically separate disk farm, if possible. In one situation, we had to perform an incomplete recovery after a disk failure because the archive logs were on the same disk farm as the other files and the failed disk had sections striped to datafiles, redo logs, and archive logs.

It is usual to keep all archive logs since at least the last backup in a quickly retrievable state. The storage area can be optical storage, tape, or disk for archive logs. However, I suggest that fast media be used for the initial site to which archive logs are written. The use of fast media for the initial archive log location is required to prevent waits caused by the system cycling back to the redo log being archived before it has been written out completely; this results in a hung database until the archive becomes “unstuck.” Once the archive log is written out, it can then be copied to its final location. Once a full cold or hot backup is taken, all previous archive logs can be erased or placed in long-term storage.

If you alter the setting of the COMPATIBLE initialization parameter, it will most likely render all previously generated archive logs as unusable for recovery. Always perform a complete backup after changing the value of the COMPATIBLE parameter. Anytime a startup is performed using the RESETLOGS parameter, all previous archive logs become invalid and may not be used to recover the instance after the startup.

If you are using Oracle parallel server (now called RAC), all archive logs generated from all redo threads must be available to all instances. Usually this is accomplished by using a cron script to copy the archive logs to multiple locations. Another possible solution is to copy the archive logs to a central NFS (Network File System) mounted disk farm; however, if the NFS mount point is lost, you won’t be able to recover, so be sure the NFS mount is on a high-reliability server. Never set LOG_ARCHIVE_DEST for archive logs to raw devices; remember that only one file is allowed per RAW area, so each new archive log would overwrite the previous in a raw destination.

In Oracle8i and Oracle9i, multiple archive log locations are allowed, even on other platforms reachable through the network. This makes administrating standby databases much easier to automate.



This is an excerpt by Mike Ault’s book “Oracle9i Administration & Management”.  If you want more current Oracle tips by Mike Ault, check out his new book “Mike Ault’s Oracle Internals Monitoring & Tuning Scripts” or Ault’s Oracle Scripts Download.


Expert Remote DBA

BC is America's oldest and largest Remote DBA Oracle support provider.  Get real Remote DBA experts, call
BC Remote DBA today.

Remote DBA Service
 

Oracle Tuning Book

 

Advance SQL Tuning Book 

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

 

 

 

 

 

 

BC Remote Oracle Support

Remote DBA

Remote DBA Services

Copyright © 1996 -  2013 by Burleson. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.