Overview of Data Pump dumpfile compatibility.
Export Use Export Data Pump parameter VERSION=...
From if dumpfile needs to be imported into aSource Target Database with compatibility level
Database (value of init.ora/spfile parameter COMPATIBLE):
With
COMPATIBLE 9.2.0.x.0 10.1.0.x.0 10.2.0.x.0 11.1.0.x.0 11.2.0.x.0
---------- ------------- ------------- ------------- ------------- -------------
10.1.0.x.0 VERSION=9.2 - - - -
---------- ------------- ------------- ------------- ------------- -------------
10.2.0.x.0 VERSION=9.2 VERSION=10.1 - - -
---------- ------------- ------------- ------------- ------------- -------------
11.1.0.x.0 VERSION=9.2 VERSION=10.1 VERSION=10.2 - -
---------- ------------- ------------- ------------- ------------- -------------
11.2.0.x.0 VERSION=9.2 VERSION=10.1 VERSION=10.2 VERSION=11.1 -
---------- ------------- ------------- ------------- ------------- -------------
Overview of Data Pump client/server compatibility.
Data Pump client compatibility.
===============================
expdp and Connecting to Database version
impdp client 10gR1 10gR2 11gR1 11gR2
version 10.1.0.x 10.2.0.x 11.1.0.x 11.2.0.x
----------- ---------- ---------- ---------- ----------
10.1.0.x supported supported supported supported
10.2.0.x no supported supported supported
11.1.0.x no no supported supported
11.2.0.x no no no supported
Overview of Data Pump dumpfile set file versions.
Data Pump file version.
=======================
Version Written by Can be imported into Target:
Data Pump database with 10gR1 10gR2 11gR1 11gR2
Dumpfile Set compatibility 10.1.0.x 10.2.0.x 11.1.0.x 11.2.0.x
------------ --------------- ---------- ---------- ---------- ----------
0.1 10.1.x supported supported supported supported
1.1 10.2.x no supported supported supported
2.1 11.1.x no no supported supported
3.1 11.2.x no no no supported
Overview of Data Pump client/feature compatibility.
Data Pump New Features.
=======================
Version New Feature Remark:
------- --------------------- ---------------------------------------------
10.1.0 Data Pump Technology Introduction of high-speed data movement.
-------
10.2.0 COMPRESSION Compress metadata in export dumpfile.
10.2.0 ENCRYPTION_PASSWORD Allows encrypted column data in dumpfile.
10.2.0 SAMPLE Specify a percentage of data to be unloaded.
10.2.0 TRANSFORM Change DDL for OID's and space allocation.
10.2.0 VERSION Create file compatible with earlier release.
-------
11.1.0 COMPRESSION Both data and metadata can be compressed.
11.1.0 DATA_OPTIONS (expdp) Specify handling of XMLType columns.
11.1.0 DATA_OPTIONS (impdp) Specify handling of constraint violations.
11.1.0 ENCRYPTION Both data and metadata can be encrypted.
11.1.0 ENCRYPTION_ALGORITHM Specify a specific encryption algorithm.
11.1.0 ENCRYPTION_MODE Specify the type of security to be used.
11.1.0 PARTITION_OPTIONS Specify how to handle partitioned tables.
11.1.0 REMAP_DATA Change column values based on a function.
11.1.0 REMAP_TABLE Rename tables during an import operation.
11.1.0 REUSE_DUMPFILES Option to overwrite existing dumpfiles.
11.1.0 TRANSPORTABLE Transfer table data by copying datafiles.
How to determine the database compatibility level ?
show parameter compatible
NAME TYPE VALUE
--------------------- ----------- -------------
compatible string 11.1.0.0.0
How to determine the software version of the database and the Data Pump client ?
SELECT * FROM v$version;
BANNER
----------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
-- And for the Data Pump clients:
%expdp HELP=Y
Export: Release 11.1.0.6.0 - Production on Friday, 22 February, 2008 11:20:05
Copyright (c) 2003, 2007, Oracle. All rights reserved.
... (other output)
and:
%impdp HELP=Y
Import: Release 11.1.0.6.0 - Production on Friday, 22 February, 2008 11:21:40
Copyright (c) 2003, 2007, Oracle. All rights reserved.
... (other output)
How to obtain the version of an export Data Pump dumpfile ?
SET serveroutput on SIZE 1000000
exec show_dumpfile_info(p_dir=> 'my_dir', p_file=> 'expdp_s.dmp')
----------------------------------------------------------------------------
Purpose..: Obtain details about export dumpfile. Version: 19-MAR-2008
Required.: RDBMS version: 10.2.0.1.0 or higher
. Export dumpfile version: 7.3.4.0.0 or higher
. Export Data Pump dumpfile version: 10.1.0.1.0 or higher
Usage....: execute show_dumfile_info('DIRECTORY', 'DUMPFILE');
Example..: exec show_dumfile_info('MY_DIR', 'expdp_s.dmp')
----------------------------------------------------------------------------
Filename.: expdp_s.dmp
Directory: my_dir
Disk Path: D:\expdp
Filetype.: 1 (Export Data Pump dumpfile)
----------------------------------------------------------------------------
...File Version....: 2.1 (Oracle11g Release 1: 11.1.0.x)
...Master Present..: 1 (Yes)
...GUID............: AE9D4A8A85C6444F813600C00199745A
...File Number.....: 1
...Characterset ID.: 46 (WE8ISO8859P15)
...Creation Date...: Wed Mar 19 16:06:45 2008
...Flags...........: 2
...Job Name........: "SYSTEM"."SYS_EXPORT_SCHEMA_01"
...Platform........: IBMPC/WIN_NT-8.1.0
...Instance........: m11106wa
...Language........: WE8ISO8859P15
...Block size......: 4096
...Metadata Compres: 1 (Yes)
...Data Compressed.: 0 (No)
...Metadata Encrypt: 0 (No)
...Data Encrypted..: 0 (No)
...Master Piece Cnt: 1
...Master Piece Num: 1
...Job Version.....: 11.01.00.00.00
...Max Items Code..: 20
----------------------------------------------------------------------------
PL/SQL procedure successfully completed.