GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

Can not get the user(built-in function) value in a trigger fired by Streams apply process.

edited Feb 17, 2010 9:36PM in GoldenGate, Streams and Distributed Database (MOSC) 3 commentsAnswered
Hi,

 

 

Usually, we are using the "user" or "uid" built-in function in a trigger to know which one touch the rows in a table. But now, the "user" value is null and "uid" value is 0 while the trigger is fired by the Streams apply process. Of course below command has been executed to let the trigger fired for the apply process:

 

 

exec DBMS_DDL.SET_TRIGGER_FIRING_PROPERTY('DMS', 'TR_TABLE_AAA', false);

 

 

Is this because the apply process is an Oracle background process? If it is true, how can we find out which apply process touch the row while there are more than one apply processes related with same table. For example, multiple source databases might replicate a table to the same database.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center