BC remote Oracle DBA - Call (800) 766-1884
Free Oracle Tips

Oracle Consulting Oracle Training Development

Remote DBA

 

Remote DBA Plans
Remote DBA Service

 
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 Internals Magazine
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





   

 

 

 

 

 

Oracle Using Incremental Backups

Oracle Tips by Burleson Consulting

This is an excerpt from "Oracle 10g New Features for Administrators" by Ahmed Baraka.

Recovering with Incrementally Updated Backups

You can apply incremental backups to your datafile image copies when you use the RMAN. This takes much less time than performing a full image copy of the datafiles every day.

This is applied through two phases:

1. Apply the incremental backups to datafile image copies. This is done at the database     block level.

2. Then apply the archive logs since the last incremental backup only. This is done at the     transaction level (slower than previous phase).

To implement this option, you do the following steps:

1. Use the BACKUP INCREMENTAL LEVEL 1...FOR RECOVER OF COPY WITH     TAG ... form of the BACKUP command to create incremental backups that can be     incrementally updated. If an incremental level 0 backup does not already exist, then     executing this command creates a level 0 backup with the specified tag.

2. Apply any incremental backups to a set of data file copies with the same tag using the     RECOVER COPY ...WITH TAG ... form of the BACKUP command. Tags must be     used to identify the incremental backups and data file copies created for use in this     strategy, so that they do not interfere with other backup strategies that you implement.

Fast Incremental Backups

• RMAN reads change tracking file to find out which data blocks to read and copy during an incremental backup process, to avoid needing to read entire datafiles during incremental backups.

• A new background process, the change tracking writer (CTWR), is in charge of writing the block change information to the change tracking file.

Change Tracking File Features

• The change tracking file contains the physical location of all database changes.

• The minimum size is 10MB. Oracle creates the file automatically and allocates additional space in 10MB increments.

• The file’s size depends on your database size, number of instances in an RAC, and the number of old backups the file maintains.

• V$BLOCK_CHANGE_TRACKING shows the name, size, and status of your change tracking file.

Enabling Block Change Tracking

ALTER DATABASE
ENABLE BLOCK CHANGE TRACKING
USING FILE
'C:\ORACLE\RECOVERY_AREA\CHANGETRACK.LOG'

To relocate the file, while in mount stage:

ALTER DATABASE RENAME FILE
'C:\ORACLE\RECOVERY_AREA\CHANGETRACK.LOG'
TO 'C:\ORACLE\NEWCHANGE.LOG'

To disable the file:

ALTER DATABASE DISABLE BLOCK CHANGE TRACKING;

 

If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


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

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

Burleson is the American Team

American Flag

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Remote DBA

Remote DBA Services

 

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.



Hit Counter