Fast Incremental Backups
There are performance issues associated with incremental backups as the whole of each datafile must be scanned to identify changed blocks. In Oracle 10g it is possible to track changed blocks using a change tracking file. Enabling change tracking does produce a small overhead, but it greatly improves the performance of incremental backups. The current change tracking status can be displayed using the following query.
SELECT status FROM v$block_change_tracking;
ALTER DATABASE
command.ALTER DATABASE ENABLE BLOCK CHANGE TRACKING;
DB_CREATE_FILE_DEST
parameter. An alternate location can be specified using the following command.ALTER DATABASE ENABLE BLOCK CHANGE TRACKING
USING FILE '/u01/oradata/MYSID/rman_change_track.f' REUSE;
Change tracking can be disabled using the following command.
ALTER DATABASE DISABLE BLOCK CHANGE TRACKING;
ALTER DATABASE RENAME FILE
command. If the instance cannot be restarted you can simply disable and re-enable change tracking to create a new file. This method does result in the loss of any current change information.
Comments
Post a Comment