For export and import jobs that have TIMESTAMP with TIME ZONE
data, successful job completion can depend on:
The version of the Oracle Database time zone files on the source and target databases. See "Time Zone File Versions on the Source and Target".
The export/import mode and whether the Data Pump version being used supports TIMESTAMP WITH TIME ZONE
data. (Data Pump 11.2.0.1 and later provide support for TIMESTAMP WITH TIME ZONE
data.) See "Data Pump Support for TIMESTAMP WITH TIME ZONE Data".
To identify the time zone file version of a database, you can execute the following SQL statement:
SQL> SELECT VERSION FROM V$TIMEZONE_FILE;
Oracle Database Globalization Support Guide for more information about time zone files
Successful job completion can depend on whether the source and target time zone file versions match.
If the Oracle Database time zone file version is the same on the source and target databases, then conversion of TIMESTAMP WITH TIME ZONE
data is not necessary. The export/import job should complete successfully.
The exception to this is a transportable tablespace or transportable table export performed using a Data Pump release earlier than 11.2.0.1. In that case, tables in the dump file that have TIMESTAMP WITH TIME ZONE
columns are not created on import even though the time zone file version is the same on the source and target.
If the source time zone file version is not available on the target database, then the job fails. The version of the time zone file on the source may not be available on the target because the source may have had its time zone file updated to a later version but the target has not. For example, if the export is done on Oracle Database 11g release 2 (11.2.0.2) with a time zone file version of 17, and the import is done on 11.2.0.2 with only a time zone file of 16 available, then the job fails.
This section describes Data Pump support for TIMESTAMP WITH TIME ZONE
data during different export and import modes when versions of the Oracle Database time zone file are different on the source and target databases.
Non-transportable Modes
If the dump file is created with a Data Pump version that supports TIMESTAMP WITH TIME ZONE
data (11.2.0.1 or later), then the time zone file version of the export system is recorded in the dump file. Data Pump uses that information to determine whether data conversion is necessary. If the target database knows about the source time zone version, but is actually using a later version, then the data is converted to the later version. TIMESTAMP WITH TIME ZONE
data cannot be downgraded, so if you attempt to import to a target that is using an earlier version of the time zone file than the source used, the import fails.
If the dump file is created with a Data Pump version prior to Oracle Database 11g release 2 (11.2.0.1), then TIMESTAMP WITH TIME ZONE
data is not supported, so no conversion is done and corruption may occur.
Transportable Tablespace and Transportable Table Modes
In transportable tablespace and transportable table modes, if the source and target have different time zone file versions, then tables with TIMESTAMP WITH TIME ZONE
columns are not created. A warning is displayed at the beginning of the job showing the source and target database time zone file versions. A message is also displayed for each table not created. This is true even if the Data Pump version used to create the dump file supports TIMESTAMP WITH TIME ZONE
data. (Release 11.2.0.1 and later support TIMESTAMP WITH TIMEZONE
data.)
If the source is earlier than Oracle Database 11g release 2 (11.2.0.1), then the time zone file version must be the same on the source and target database for all transportable jobs regardless of whether the transportable set uses TIMESTAMP WITH TIME ZONE
columns.
Full Transportable Mode
Full transportable exports and imports are supported when the source database is at least Oracle Database 11g release 2 (11.2.0.3) and the target is Oracle Database 12c release 1 (12.1) or later.
Data Pump 11.2.0.1 and later provide support for TIMESTAMP WITH TIME ZONE
data. Therefore, in full transportable operations, tables with TIMESTAMP WITH TIME ZONE
columns are created. If the source and target database have different time zone file versions, then TIMESTAMP WITH TIME ZONE
columns from the source are converted to the time zone file version of the target.
Oracle Database Administrator's Guide for more information about transportable tablespaces
"Using the Transportable Option During Full Mode Exports" for more information about full transportable exports
"Using the Transportable Option During Full Mode Imports" for more information about full transportable imports