Traditional Cross Platform Transportable Tablespaces
The high-level steps in a typical XTTS scenario are the following:
- Make tablespaces in source database READ ONLY
- Transfer datafiles to destination system
- Convert datafiles to destination system endian format
- Export metadata of objects in the tablespaces from source database using Data Pump
- Import metadata of objects in the tablespaces into destination database using Data Pump
- Make tablespaces in destination database READ WRITE
Reduce Downtime using Cross Platform Incremental Backup
To reduce the amount of downtime required for XTTS, Oracle has enhanced RMAN's ability to roll forward datafile copies using incremental backups, to work in a cross-platform scenario. By using a series of incremental backups, each smaller than the last, the data at the destination system can be brought almost current with the source system, before any downtime is required. The downtime required for datafile transfer and convert when combining XTTS with Cross Platform Incremental Backup is now proportional to the rate of data block changes in the source system.
The high-level steps using the cross platform incremental backup capability are the following:
- Prepare phase (source data remains online)
- Transfer datafiles to destination system
- Convert datafiles, if necessary, to destination system endian format
- Roll Forward phase (source data remains online - Repeat this phase as many times as necessary to catch destination datafile copies up to source database)
- Create incremental backup on source system
- Transfer incremental backup to destination system
- Convert incremental backup to destination system endian format and apply the backup to the destination datafile copies
- Transport phase (source data is READ ONLY)
- Make tablespaces in source database READ ONLY
- Repeat the Roll Forward phase one final time
- This step makes destination datafile copies consistent with source database.
- Export metadata of objects in the tablespaces from source database using Data Pump
- Import metadata of objects in the tablespaces into destination database using Data Pump
- Make tablespaces in destination database READ WRITE
The purpose of this document is to provide an example of how to use this enhanced RMAN cross platform incremental backup capability to reduce downtime when transporting tablespaces across platforms.