My Oracle Support Banner

Cannot Pass CLOB Over 4000 Bytes To DBMS_DATAPUMP.METADATA_FILTER (Doc ID 1915821.1)

Last updated on MARCH 27, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

 

NOTE: The document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

When pass an SQL expression in a CLOB that is over 4000 bytes, the data_pump fails.  Under 4000 bytes, there are no problems.  

              DBMS_DATAPUMP.METADATA_FILTER (
                                             handle   => v_handle,
                                             name     => 'NAME_EXPR',
                                             VALUE    => table_list,
                                             object_type => 'TABLE');

ORA-39001: invalid argument value
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3507
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4887
ORA-06512: at "CBS.DB_IMPORT_DUMP", line 44
ORA-06512: at line 1

Changes

 NONE

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.