Document 739508.1
Document 739508.1
1
Copy right (c) 2025, Oracle. A ll rights reserv ed. Oracle Confidential.
Logon Triggers are not Fired During Expdp and Impdp Sessions (Doc ID 739508.1)
In this Document
Symptoms
Changes
Cause
Solution
References
APPLIES TO:
NOTE: In the testcase content below, the user information and metadata used represents fictitious data. Any similarity to
actual persons, living or dead, is purely coincidental and not intended in any manner.
SYMPTOMS
You created:
Then you export/import the table using DataPump (expdp/impdp) and the values set by context in logon trigger are missing.
Steps to reproduce:
-- create environment
connect / as sysdba
drop user usr cascade;
drop user app cascade;
purge dba_recyclebin;
create user app identified by passwd default tablespace users temporary tablespace temp;
grant connect, resource to app;
connect app/passwd
create or replace package mypck is
procedure setvalue (p_cvalue varchar2);
end mypck;
/
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=2fx77ycm5_601&id=739508.1 1/4
7/3/25, 19:58 Document 739508.1
connect / as sysdba
drop context myctx;
purge dba_recyclebin;
create user usr identified by passwd default tablespace users temporary tablespace temp;
connect usr/passwd
insert into app.mytab (mycol2) values ('ABC');
commit;
Select the inserted row to demonstrate the logon trigger sets the context:
This returns:
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=2fx77ycm5_601&id=739508.1 2/4
7/3/25, 19:58 Document 739508.1
MYCOL1 MYCOL2
---------- ----------
XYZ ABC
CHANGES
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=2fx77ycm5_601&id=739508.1 3/4
7/3/25, 19:58 Document 739508.1
CAUSE
This is bug 5724679. The logon trigger is not fired for the DataPump Master and Worker processes.
SOLUTION
The bug 5724679 is fixed beginning with version 11gR2. Until the fix is available for earlier versions, the only available
workaround is to use the original export/import (exp/imp) utilities instead of DataPump.
REFERENCES
BUG:5724679 - LOGON TRIGGER NOT FIRED FOR DATA PUMP MASTER AND WORKER PROCESSES
Didn't find what you are looking for?
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=2fx77ycm5_601&id=739508.1 4/4