Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books
SQL Server Books
Oracle Software
image
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
  Phone
  252-431-0050
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

    Privacy Policy

 

   
  Oracle Tips by Burleson

Oracle 10g RMAN Benefits of Simplified Recovery Through Resetlogs

The Simplified Recovery Through Resetlogs feature provides the following benefits:

  • There is no need to perform a full backup after an incomplete recovery.
     

  • There is no need to recreate a new standby database after a failover operation.
     

  • There is no need to change any backup scripts, as there are no changes in the recovery commands to take advantage of this functionality.
     

  • You can take incremental backups based on full backups of a previous incarnation when you use RMAN.
     

  • Block media recovery can restore backups from parent incarnation backups and recover the corrupted blocks through a RESETLOGS operation.

How does it work?

You may wonder how can you use the newly generated logs with an earlier incarnation of the database.  Oracle 10g introduces a new format specification for archived log files.  This new format avoids overwriting archived redo log files with the same sequence number across incarnations.

SQL> show parameter log_archive_format
NAME                    TYPE        VALUE
----------------------- ----------- ----------------
log_archive_format      string      %t_%s_%r.dbf

The format specification is %r and represents the resetlogs id.  It is included in the default format for the log_archive_format initialization parameter. It will ensure that a unique name is constructed for the archived redo log file during RMAN restore and SQL*plus auto recovery mode.

During the RESETLOGS operation, the information in v$log_history and v$offline_range records are no longer cleared.  In addition, two new columns have been added to indicate the incarnation the records belong to: resetlogs_change# and resetlogs_time.

Example:

SQL> select recid, thread#, sequence#, resetlogs_change#,resetlogs_time
  2  from v$log_history
  3  where rownum < 20;


Get the complete Oracle10g story:

The above text is an excerpt from "Oracle Database 10g New Features: Oracle10g Reference for Advanced Tuning and Administration", by Rampant TechPress.  Written by top Oracle experts, this book has a complete online code deport with ready to use scripts. 

To get the code instantly, click here:

http://rampant-books.com/book_2003_2_oracle10g.htm


Need an Oracle Mentor?

BEI is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle question.

Why risk an unplanned outage? You can now get telephone access to Don Burleson or any of his Oracle Certified DBAs with more than 20 years of full-time IT experience. Click here for details:

http://www.dba-oracle.com/service_oracle_backup.htm

Linux Oracle commands syntax poster

wise Oracle tuning software

Oracle data dictionary reference poster

Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

OracleŽ is the registered trademark of Oracle Corporation. SQL ServerŽ is the registered trademark of Microsoft Corporation.
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks