Recently I come cross one strange issue in ODI i.e., Our team and myself unable to save or create new mapping in ODI. After research a little I found the issue.
Solution:
We are unable to save or create mapping in ODI - For that we need to analyze, first we need to find out is there problem in Work Repository or Master Repository?
For that we checked when we are getting that issue - while we are creating mapping and saving mapping that means it belongs to work repository.
So we connected to work repository and execute below query:
select
c.owner,
c.object_name,
c.object_type,
b.sid,
b.serial#,
b.status,
b.osuser,
b.machine
from
v$locked_object a ,
v$session b,
dba_objects c
where
b.sid = a.session_id
and
a.object_id = c.object_id
and c.object_name = 'SNP_MAPPING';
and osuser in ('root');
Output of the above query are locked Objects. So we need to kill those sessions. Then only ODI will support you for creating and saving mapping
No comments:
Post a Comment