Data Pump Export (Expdp) silently ignores LOGON Triggers during export

(Doc ID 951109.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: to
This problem can occur on any platform.


Logon triggers are not exported via Data Pump Export. This occurs when using FULL or SCHEMA Export.

-- create test schema and logon trigger:
connect / as sysdba

drop user tc cascade;
create user tc identified by tc default tablespace users;
alter user tc quota unlimited on users;
grant create session, create trigger to tc;

connect tc/tc
create trigger tc.logontrigger after logon on tc.schema

-- export schema triggers:
connect / as sysdba 
expdp system/****** DIRECTORY=test_dp dumpfile=export_schemas.dmp schemas=tc 
impdp system/****** DIRECTORY=test_dp dumpfile=export_schemas.dmp sqlfile=script.sql 


Verification of script.sql shows the metadata of a Logon Trigger is not stored in the dumpfile.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms