Converting Data Between Platforms Using RMAN
To convert data with the RMAN convert command, be aware of restrictions and follow these guidelines.
When you use the RMAN CONVERT command to convert data, you can either
convert the data on the source platform after running Oracle Data Pump export, or you
can convert the data on the target platform before running Oracle Data Pump import. In
either case, you must transfer the data files from the source system to the target
system.
To convert data, you can use the following RMAN CONVERT
commands:
-
CONVERT DATAFILE -
CONVERT TABLESPACE -
CONVERT DATABASE
Note:
-
Datatype restrictions apply to the RMAN
CONVERTcommand. -
RMAN
CONVERTcommands do not support conversion of data files between different endian formats for data files having undo segments.
- Converting Tablespaces on the Source System After Export
You can use this example to see how to use the RMANCONVERT TABLESPACEcommand to convert tablespaces to a different platform. - Converting Data Files on the Target System Before Import
An example illustrates how to use the RMANCONVERT DATAFILEcommand to convert data files to a different platform.
Related Topics
Converting Tablespaces on the Source System After Export
You can use this example to see how to use the RMAN CONVERT
TABLESPACE command to convert tablespaces to a different platform.
The example makes the following assumptions:
-
The
sales_1andsales_2tablespaces are being transported to a different platform. -
The endianness of the source platform is different from the endianness of the target platform.
-
You want to convert the data on the source system, before transporting the tablespace set to the target system.
-
You have completed the Oracle Data Pump export on the source database.
To convert the tablespaces on the source system, complete the following steps:
Parent topic: Converting Data Between Platforms Using RMAN
Converting Data Files on the Target System Before Import
An example illustrates how to use the RMAN CONVERT DATAFILE
command to convert data files to a different platform.
During the conversion, you identify the data files by file name, not by tablespace name. Until the tablespace metadata is imported, the target instance has no way of knowing the desired tablespace names.
The example makes the following assumptions:
-
You have not yet converted the data files for the tablespaces being transported.
If you used the
DBMS_FILE_TRANSFERpackage to transfer the data files to the target system, then the data files were converted automatically during the file transfer. See "Converting Data Between Platforms Using the DBMS_FILE_TRANSFER Package". -
The following data files are being transported to a different platform:
-
C:\Temp\sales_101.dbf
-
C:\Temp\sales_201.dbf
-
-
The endianness of the source platform is different from the endianness of the target platform.
-
You want to convert the data on the target system, before performing the Data Pump import.
-
The converted data files are placed in C:\app\orauser\oradata\orawin\, which is the location of the existing data files for the target system:
Complete the following steps to convert the tablespaces on the target system:
Related Topics
Parent topic: Converting Data Between Platforms Using RMAN