Converting Data Between Platforms Using RMAN
When you use the RMAN CONVERT
command to convert data, you can either convert the data on the source platform after running Data Pump export, or you can convert the data on the target platform before running Data Pump import. In either case, you must transfer the data files from the source system to the target system.
You can convert data with the following RMAN CONVERT
commands:
-
CONVERT
DATAFILE
-
CONVERT
TABLESPACE
-
CONVERT
DATABASE
Note:
-
Datatype restrictions apply to the RMAN
CONVERT
command. -
RMAN
CONVERT
commands 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
An example illustrates how to use the RMANCONVERT
TABLESPACE
command to convert tablespaces to a different platform. - Converting Data Files on the Target System Before Import
An example illustrates how to use the RMANCONVERT
DATAFILE
command to convert data files to a different platform.
See Also:
Converting Tablespaces on the Source System After Export
An example illustrates how to use the RMAN CONVERT
TABLESPACE
command to convert tablespaces to a different platform.
The example makes the following assumptions:
-
The
sales_1
andsales_2
tablespaces 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 Data Pump export on the source database.
Complete the following steps to convert the tablespaces on the source system:
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_TRANSFER
package 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:
Parent topic: Converting Data Between Platforms Using RMAN