﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / Oracle Database Administration  / Data Pump Enhancements in Oracle Database 11g Release 1 / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Thu, 09 Feb 2012 11:17:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Data Pump Enhancements in Oracle Database 11g Release 1</title><link>http://www.franklinfaces.com/Topic83-97-1.aspx</link><description>&lt;H2&gt;&lt;FONT color=#115511&gt;COMPRESSION&lt;/FONT&gt;&lt;/H2&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;COMPRESSION&lt;/CODE&gt; parameter allows you to decide what, if anything, you wish to compress in your export. The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;COMPRESSION={ALL | DATA_ONLY | METADATA_ONLY | NONE}&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;The available options are:&lt;BR&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;ALL&lt;/CODE&gt;: Both metadata and data are compressed. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;DATA_ONLY&lt;/CODE&gt;: Only data is compressed. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;METADATA_ONLY&lt;/CODE&gt;: Only metadata is compressed. This is the default setting. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;NONE&lt;/CODE&gt;: Nothing is compressed. &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT color=#115511&gt;Here is an example of the &lt;CODE&gt;COMPRESSION&lt;/CODE&gt; parameter being used.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp test/test schemas=TEST directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log  compression=all&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;COMPATIBLE&lt;/CODE&gt; initialization parameter should be set to "11.0.0" or higher to use these options, except for the &lt;CODE&gt;METADATA_ONLY&lt;/CODE&gt; option, which is available with a &lt;CODE&gt;COMPATIBLE&lt;/CODE&gt; setting of "10.2". &lt;/FONT&gt;&lt;A id=encryption_parameters&gt;&lt;/A&gt;&lt;H2&gt;&lt;FONT color=#115511&gt;Encryption Parameters&lt;/FONT&gt;&lt;/H2&gt;&lt;FONT color=#115511&gt;Data pump encryption is an Enterprise Edition feature, so the parameters described below are only relevant for Enterprise Edition installations. In addition, the &lt;CODE&gt;COMPATIBLE&lt;/CODE&gt; initialisation parameter must be set to "11.0.0" or higher to use these features.&lt;BR&gt;&lt;/FONT&gt;&lt;A id=encryption_and_encryption_password&gt;&lt;/A&gt;&lt;H3&gt;&lt;FONT color=#115511&gt;ENCRYPTION and ENCRYPTION_PASSWORD&lt;/FONT&gt;&lt;/H3&gt;&lt;FONT color=#115511&gt;The use of encryption is controlled by a combination of the &lt;CODE&gt;ENCRYPTION&lt;/CODE&gt; or &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; parameters. The syntax for the &lt;CODE&gt;ENCRYPTION&lt;/CODE&gt; parameter is shown below. &lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;ENCRYPTION = {ALL | DATA_ONLY | ENCRYPTED_COLUMNS_ONLY | METADATA_ONLY | NONE}&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;The available options are:&lt;BR&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;ALL&lt;/CODE&gt;: Both metadata and data are encrypted. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;DATA_ONLY&lt;/CODE&gt;: Only data is encrypted. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;ENCRYPTED_COLUMNS_ONLY&lt;/CODE&gt;: Only encrypted columns are written to the dump file in an encrypted format. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;METADATA_ONLY&lt;/CODE&gt;: Only metadata is encrypted. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;NONE&lt;/CODE&gt;: Nothing is encrypted. &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT color=#115511&gt;If neither the &lt;CODE&gt;ENCRYPTION&lt;/CODE&gt; or &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; parameters are set, it is assumed the required level of encryption is &lt;CODE&gt;NONE&lt;/CODE&gt;. If only the &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; parameter is specified, it is assumed the required level of encryption is &lt;CODE&gt;ALL&lt;/CODE&gt;. Here is an example of these parameters being used.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp test/test schemas=TEST directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log  encryption=all encryption_password=password&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;A id=encryption_algorithm&gt;&lt;/A&gt;&lt;H3&gt;&lt;FONT color=#115511&gt;ENCRYPTION_ALGORITHM&lt;/FONT&gt;&lt;/H3&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;ENCRYPTION_ALGORITHM&lt;/CODE&gt; parameter specifies the encryption algorithm to be used during the export, with the default being "AES128". The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;ENCRYPTION_ALGORITHM = { AES128 | AES192 | AES256 }&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;ENCRYPTION_ALGORITHM&lt;/CODE&gt; parameter must be used in conjunction with the &lt;CODE&gt;ENCRYPTION&lt;/CODE&gt; or &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; parameters, as shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp test/test schemas=TEST directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log  encryption=all encryption_password=password encryption_algorithm=AES256&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;A id=encryption_mode&gt;&lt;/A&gt;&lt;H3&gt;&lt;FONT color=#115511&gt;ENCRYPTION_MODE&lt;/FONT&gt;&lt;/H3&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;ENCRYPTION_MODE&lt;/CODE&gt; parameter specifies the type of security used during export and import operations. The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;ENCRYPTION_MODE = { DUAL | PASSWORD | TRANSPARENT }&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;The allowable values and their default settings are explained below:&lt;BR&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;DUAL&lt;/CODE&gt;: This mode creates a dump file that can be imported using an Oracle Encryption Wallet, or the the &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; specified during the export operation. This is the default setting if the &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; parameter is set and there is an open wallet. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;PASSWORD&lt;/CODE&gt;: This mode creates a dump file that can only be imported using the &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; specified during the export operation. This is the default setting if the &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; parameter is set and there isn't an open wallet. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;TRANSPARENT&lt;/CODE&gt;: This mode creates an encrypted dump file using and open Oracle Encryption Wallet. If the &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; is specified while using this mode and error is produced. This is the default setting of only the &lt;CODE&gt;ENCRYPTION&lt;/CODE&gt; parameter is set. &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT color=#115511&gt;Wallet setup is described &lt;/FONT&gt;&lt;A href="http://www.oracle-base.com/articles/11g/TablespaceEncryption_11gR1.php#wallet_creation"&gt;&lt;FONT color=#115511&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color=#115511&gt;.&lt;BR&gt;&lt;BR&gt;The &lt;CODE&gt;ENCRYPTION_MODE&lt;/CODE&gt; requires either the &lt;CODE&gt;ENCRYPTION&lt;/CODE&gt; or &lt;CODE&gt;ENCRYPTION_PASSWORD&lt;/CODE&gt; parameter to be specified.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp test/test schemas=TEST directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log  encryption=all encryption_password=password encryption_mode=password&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;A id=transportable&gt;&lt;/A&gt;&lt;H2&gt;&lt;FONT color=#115511&gt;TRANSPORTABLE&lt;/FONT&gt;&lt;/H2&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;TRANSPORTABLE&lt;/CODE&gt; parameter is similar to the &lt;CODE&gt;TRANSPORT_TABLESPACES&lt;/CODE&gt; parameter available previously in that it only exports and imports metadata about a table, relying on you to manually transfer the relevent tablespace datafiles. The export operation lists the tablespaces that must be transfered. The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;TRANSPORTABLE = {ALWAYS | NEVER}&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;The value &lt;CODE&gt;ALWAYS&lt;/CODE&gt; turns on the transportable mode, while the default value of &lt;CODE&gt;NEVER&lt;/CODE&gt; indicates this is a regular export/import.&lt;BR&gt;&lt;BR&gt;The following restrictions apply during exports using the &lt;CODE&gt;TRANSPORTABLE&lt;/CODE&gt; parameter:&lt;BR&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;This parameter is only applicable during table-level exports. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;The user performing the operation must have the EXP_FULL_DATABASE privilege. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;Tablespaces containing the source objects must be read-only. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;The COMPATIBLE initialization parameter must be set to 11.0.0 or higher. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;The default tablespace of the user performing the export must not be the same as any of the tablespaces being transported. &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT color=#115511&gt;Some extra restictions apply during import operations:&lt;BR&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;NETWORK_LINK&lt;/CODE&gt; parameter must be specified during the import operation. This parameter is set to a valid database link to the source schema. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;The schema performing the import must have both EXP_FULL_DATABASE and IMP_FULL_DATABASE privileges. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;TRANSPORT_DATAFILES&lt;/CODE&gt; parameter is used to identify the datafiles holding the table data. &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT color=#115511&gt;Examples of the export and import operations are shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp system tables=TEST1.TAB1 directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log  transportable=ALWAYSimpdp system tables=TEST1.TAB1 directory=TEST_DIR dumpfile=TEST.dmp logfile=impdpTEST.log  transportable=ALWAYS network_link=DB11G transport_datafiles='/u01/oradata/DB11G/test01.dbf'&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;A id=partition_options&gt;&lt;/A&gt;&lt;H2&gt;&lt;FONT color=#115511&gt;PARTITION_OPTIONS&lt;/FONT&gt;&lt;/H2&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;PARTITION_OPTIONS&lt;/CODE&gt; parameter determines how partitions will be handled during export and import operations. The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;PARTITION_OPTIONS={none | departition | merge}&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;The allowable values are:&lt;BR&gt;&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;NONE&lt;/CODE&gt;: The partitions are created exactly as they were on the system the export was taken from. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;DEPARTITION&lt;/CODE&gt;: Each partition and sub-partition is created as a separate table, named using a combination of the table and (sub-)partition name. &lt;/FONT&gt;&lt;LI&gt;&lt;FONT color=#115511&gt;&lt;CODE&gt;MERGE&lt;/CODE&gt;: Combines all partitions into a single table. &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;NONE&lt;/CODE&gt; and &lt;CODE&gt;MERGE&lt;/CODE&gt; options are not possible if the export was done using the &lt;CODE&gt;TRANSPORTABLE&lt;/CODE&gt; parameter with a partition or subpartition filter. If there are any grants on objects being departitioned, an error message is generated and the objects are not loaded.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp test/test directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log tables=test.tab1  partition_options=merge&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;A id=reuse_dumpfiles&gt;&lt;/A&gt;&lt;H2&gt;&lt;FONT color=#115511&gt;REUSE_DUMPFILES&lt;/FONT&gt;&lt;/H2&gt;&lt;FONT color=#115511&gt;The &lt;CODE&gt;REUSE_DUMPFILES&lt;/CODE&gt; parameter can be used to prevent errors being issued if the export attempts to write to a dump file that already exists.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;REUSE_DUMPFILES={Y | N}&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;When set to "Y", any existing dumpfiles will be overwritten. When the default values of "N" is used, an error is issued if the dump file already exists.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp test/test schemas=TEST directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log  reuse_dumpfiles=y&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;A id=remap_table&gt;&lt;/A&gt;&lt;H2&gt;&lt;FONT color=#115511&gt;REMAP_TABLE&lt;/FONT&gt;&lt;/H2&gt;&lt;FONT color=#115511&gt;This parameter allows a table to be renamed during the import operations performed using the &lt;CODE&gt;TRANSPORTABLE&lt;/CODE&gt; method. It can also be used to alter the base table name used during &lt;CODE&gt;PARTITION_OPTIONS&lt;/CODE&gt; imports. The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;REMAP_TABLE=[schema.]old_tablename[.partition]:new_tablename&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;An example is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;impdp test/test tables=TAB1 directory=TEST_DIR dumpfile=TEST.dmp logfile=impdpTEST.log  remap_table=TEST.TAB1:TAB2&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;Existing tables are not renamed, only tables created by the import.&lt;BR&gt;&lt;/FONT&gt;&lt;A id=data_options&gt;&lt;/A&gt;&lt;H2&gt;&lt;FONT color=#115511&gt;DATA_OPTIONS&lt;/FONT&gt;&lt;/H2&gt;&lt;A id=skip_constraint_errors&gt;&lt;/A&gt;&lt;H3&gt;&lt;FONT color=#115511&gt;SKIP_CONSTRAINT_ERRORS&lt;/FONT&gt;&lt;/H3&gt;&lt;FONT color=#115511&gt;During import operations using the external table acces method, setting the &lt;CODE&gt;DATA_OPTIONS&lt;/CODE&gt; parameter to &lt;CODE&gt;SKIP_CONSTRAINT_ERRORS&lt;/CODE&gt; allows load operations to continue through non-deferred constraint violations, with any violations logged for future reference. Without this, the default action would be to roll back the whole operation. The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;DATA_OPTIONS=SKIP_CONSTRAINT_ERRORS&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;An example is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;impdp test/test tables=TAB1 directory=TEST_DIR dumpfile=TEST.dmp logfile=impdpTEST.log  data_options=SKIP_CONSTRAINT_ERRORS&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;This parameter has no impact on deferred constraints, which still cause the operation to be rolled back once a violation is detected. If the object being loaded has existing unique indexes or constraints, the &lt;CODE&gt;APPEND&lt;/CODE&gt; hint will not be used, which may adversely affect performance.&lt;BR&gt;&lt;/FONT&gt;&lt;A id=xml_clobs&gt;&lt;/A&gt;&lt;H3&gt;&lt;FONT color=#115511&gt;XML_CLOBS&lt;/FONT&gt;&lt;/H3&gt;&lt;FONT color=#115511&gt;During an export, if XMLTYPE columns are currently stored as CLOBs, they will automatically be exported as uncompressed CLOBs. If on the other hand they are currently stored as any combination of object-relational, binary or CLOB formats, they will be exported in compressed format by default. Setting the &lt;CODE&gt;DATA_OPTIONS&lt;/CODE&gt; parameter to &lt;CODE&gt;XML_CLOBS&lt;/CODE&gt; specifies that all XMLTYPE columns should be exported as uncompressed CLOBs, regardless of the default action. The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;DATA_OPTIONS=XML_CLOBS&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;An example is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp test/test tables=TAB1 directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log  version=11.1 data_options=XML_CLOBS&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;Both the export and import must use the same XML schema and the job version must be set to 11.0.0 or higher.&lt;BR&gt;&lt;/FONT&gt;&lt;A id=remap_data&gt;&lt;/A&gt;&lt;H2&gt;&lt;FONT color=#115511&gt;REMAP_DATA&lt;/FONT&gt;&lt;/H2&gt;&lt;FONT color=#115511&gt;During export and import operations, the &lt;CODE&gt;REMAP_DATA&lt;/CODE&gt; parameter allows you to associate a remap packaged function that will accept the column value as a parameter and return a modified version of the data. The syntax is shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;REMAP_DATA=[schema.]tablename.column_name:[schema.]pkg.function&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;This can be used to mask sensitive data during export and import operations by replacing the original data with random alternatives. The mapping is done on a column-by-column basis, as shown below.&lt;BR&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT color=#115511&gt;expdp test/test tables=TAB1 directory=TEST_DIR dumpfile=TEST.dmp logfile=expdpTEST.log  remap_data:tab1.col1:remap_pkg.remap_col1  remap_data:tab1.col2:remap_pkg.remap_col2&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT color=#115511&gt;The remapping function must return the same datatype as the source column and it must not perform a commit or rollback.&lt;BR&gt;&lt;/FONT&gt;</description><pubDate>Wed, 04 Feb 2009 11:10:30 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
