My Oracle Support Banner

Why Application Context Is Neither Exported Nor Imported By DataPump? (Doc ID 1406183.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.3 - Release: 10.1 to 11.2
Information in this document applies to any platform.

Goal

After running a SCHEMA export/import the Application Contexts are not imported as demonstrated by the following example.

-- Source database
select * from dba_context;

NAMESPACE              SCHEMA         PACKAGE            TYPE
---------------------- -------------- ------------------ --------------------------
REGISTRY$CTX           SYS            DBMS_REGISTRY_SYS  ACCESSED LOCALLY
MY_CONTEXT             APP_USER       MYPROC             ACCESSED LOCALLY

After the import, the output from dba_context in the target database is:

NAMESPACE              SCHEMA         PACKAGE            TYPE
---------------------- -------------- ------------------ --------------------------
REGISTRY$CTX           SYS            DBMS_REGISTRY_SYS  ACCESSED LOCALLY

The application context APP_CTX defined for schema=APP_USER in the source database is not created in the target database after import. Also checking the export log file, the context object types are not exported.

Why the application context object types are not exported by DataPump?

Solution

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
  Goal
  Solution

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