ODI 10g oracle incremental update km issue

Hi,
I have an interface with straight oracle to oracle mapping and I'm using oracle incremental update km for the data flow.
My target table has a pk and it is mapped to a source column that has duplicate date. I need to populate distinct columns of my source id to the target table pk column. I have mapped the column and checked distinct in the flow and unchecked update option. My interface run without any error but the problem,that i have is whenever I run the interface I'm getting an additional null row populated. Not sure why. Could someone please explain how this works
Thanks a lot for your time!

hi,
another error is taht when i set the control to Yes unser IKM and in the control tab i have chosen :CKM oracle.
i am having an error while creating teh table below
create table EBS.SNP_CHECK_TAB
CATALOG_NAME VARCHAR2(100 CHAR) NULL ,
SCHEMA_NAME VARCHAR2(100 CHAR) NULL ,
RESOURCE_NAME VARCHAR2(100 CHAR) NULL,
FULL_RES_NAME VARCHAR2(100 CHAR) NULL,
ERR_TYPE VARCHAR2(1 CHAR) NULL,
ERR_MESS VARCHAR2(250 CHAR) NULL ,
CHECK_DATE DATE NULL,
ORIGIN VARCHAR2(100 CHAR) NULL,
CONS_NAME VARCHAR2(35 CHAR) NULL,
CONS_TYPE VARCHAR2(2 CHAR) NULL,
ERR_COUNT NUMBER(10) NULL
error: missing parenthese
please help
nazeedah

Similar Messages

  • Error in odi- IKM oracle incremental update

    hi,
    i am integrating Oracle to Oracle databse using ODI.
    i am using IKM Oracle Incremental Update and i am having the following error:
    ORA-01747: invalid user.table.column, table.column, or column specification
    for the description below
    update EBS.SY_NAMADD T
    set (
    ) =
    select
    from EBS.I$_SY_NAMADD S
    where T.NADCOD =S.NADCOD
    where (NADCOD)
    in (
    select NADCOD
    from EBS.I$_SY_NAMADD
    where IND_UPDATE = 'U'
    since in the SQL in the EST there is no column specify it gin=ving me this error.
    should i have specify it somewhere
    thanks a lot
    nazeedah

    hi,
    another error is taht when i set the control to Yes unser IKM and in the control tab i have chosen :CKM oracle.
    i am having an error while creating teh table below
    create table EBS.SNP_CHECK_TAB
    CATALOG_NAME VARCHAR2(100 CHAR) NULL ,
    SCHEMA_NAME VARCHAR2(100 CHAR) NULL ,
    RESOURCE_NAME VARCHAR2(100 CHAR) NULL,
    FULL_RES_NAME VARCHAR2(100 CHAR) NULL,
    ERR_TYPE VARCHAR2(1 CHAR) NULL,
    ERR_MESS VARCHAR2(250 CHAR) NULL ,
    CHECK_DATE DATE NULL,
    ORIGIN VARCHAR2(100 CHAR) NULL,
    CONS_NAME VARCHAR2(35 CHAR) NULL,
    CONS_TYPE VARCHAR2(2 CHAR) NULL,
    ERR_COUNT NUMBER(10) NULL
    error: missing parenthese
    please help
    nazeedah

  • Not able to see ikm oracle incremental update and ikm oracle slowly changing dimensions under PHYSCIAL tab in odi 12c

    not able to see ikm oracle incremental update and ikm oracle slowly changing dimensions under PHYSCIAL tab in odi 12c
    But i'm able to see other IKM's please help me, how can i see them

    Nope, It has not been altered.
    COMPONENT NAME: LKM Oracle to Oracle (datapump)
    COMPONENT VERSION: 11.1.2.3
    AUTHOR: Oracle
    COMPATIBILITY: ODI 11.1.2 and above
    Description:
    - Loading Knowledge Module
    - Loads data from an Oracle Server to an Oracle Server using external tables in the datapump format.
    - This module is recommended when developing interfaces between two Oracle servers when DBLINK is not an option.
    - An External table definition is created on the source and target servers.
    - When using this module on a journalized source table, the Journaling table is first updated to flag the records consumed and then cleaned from these records at the end of the interface.

  • Unusual behavior with 'IKM Oracle Incremental Update' knowledge module

    Hi All,
    We are getting strange behaviour in our PIP.We have following three scenarios in our PIP.
    1) LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG
    2) LOAD_ORACLEEBIZ_DISCRETEMFG_WORKORDER_DATA_TO_PAS_PKG
    3) LOAD_ORACLEEBIZ_PROCESSMFG_WORKORDER_DATA_TO_PAS_PKG
    we have a project variable PVV_GET_SCEN_NAME which will hold the scenario name in that package.
    we are trying to modify the 'IKM Oracle Incremental Update' knowledge module, we have written following code.this code will match the content of I$ table with target table based on various columns.if they are matching we will delete the matching rows from target table. But when we are executing scenario "LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG",then the wrong IF condition is getting matched in the following procedure.
    the condition that is getting matched is "ELSIF ('#ORACLEEBIZ_TO_PAS_PROJECT.PVV_GET_SCEN_NAME'='LOAD_ORACLEEBIZ_DISCRETEMFG_WORKORDER_DATA_TO_PAS_PKG') THEN".Actually the value of #ORACLEEBIZ_TO_PAS_PROJECT.PVV_GET_SCEN_NAME will be LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG.i am not sure why odi is matching this condition.
    Please provide your comments on this issue.thanks in advace.
    IKM step:
    BEGIN
    IF '#PVV_GET_SCEN_NAME'='LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG' THEN
    DELETE FROM <%=odiRef.getTable("L", "TARG_NAME", "W")%> WHERE (item_number,lot_number,source_system) IN
    (SELECT item_number,lot_number,source_system FROM <%=odiRef.getTable("L", "INT_NAME", "A")%>);
    COMMIT;
    ELSIF '#PVV_GET_SCEN_NAME'='LOAD_ORACLEEBIZ_DISCRETEMFG_WORKORDER_DATA_TO_PAS_PKG' THEN
    DELETE FROM <%=odiRef.getTable("L", "TARG_NAME", "W")%> WHERE (segment1,segment2,segment3,source_system,item_number) IN
    (SELECT segment1,segment2,segment3,source_system,item_number FROM <%=odiRef.getTable("L", "INT_NAME", "A")%>);
    COMMIT;
    ELSIF '#PVV_GET_SCEN_NAME'='LOAD_ORACLEEBIZ_PROCESSMFG_WORKORDER_DATA_TO_PAS_PKG' THEN
    DELETE FROM <%=odiRef.getTable("L", "TARG_NAME", "W")%> WHERE (segment2,source_system) IN
    (SELECT segment2,source_system FROM <%=odiRef.getTable("L", "INT_NAME", "A")%>);
    COMMIT;
    ELSE
    NULL;
    END IF;
    END;
    Thanks
    Baji

    Hi Himanshu,
    Thanks for your help.
    I gave fully qualified name,even then it didn't worked.
    - How are you deriving the value of variable
    project variable PVV_GET_SCEN_NAME is refreshing variable and it will get the value of scenario with the following sql query
    select SESS_NAME
    from <%=snpRef.getObjectName("L","SNP_SESSION","D")%>
    where SESS_NO = <%=snpRef.getSession("SESS_NO")%>
    -Log or store the value of variable as comment in IKM sql query using "-- #varvalue" and note the value is same as compared
    When i gave --#varvalue (or) --#ORACLEEBIZ_TO_PAS_PROJECT.PVV_GET_SCEN_NAME is doesnot display any thing.what i did is I changed the PVV_GEN_SCEN_NAME variable to hostorize variable to see correct value of that and after the executing the scenario,i can see the value as "LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG".I also tried same thing by changing technology to jython and i am able to see same value "LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG" for the PVV_GET_SCEN_NAME variable.
    Thanks
    Baji

  • Which is better: Oracle incremental update (merge) or Oracle incremental update

    Hi All,
    We have big data load happening from Oracle RDBMS(source) to Oracle RDBMS(target). The data is huge (in billions) and new insertions, updates will happen. I would like to understand which among
    Oracle incremental update (merge) or Oracle incremental update is better and faster -  for first load and subsequent incremental updates, deletes? I request you all to provide valid reasons since I need to present the same to my client
    If at all Oracle incremental update (merge) is better, then why ODI needs to have Oracle incremental update IKM.
    I have seen some discussions on the same topic but I have not yet got a proper response with reasons and that is why I am posting the question again
    Thanks & Regards,
    Sijee Sadasivan

    Hi Sijee Sadasivan,
    IKM SQL Control Append could be faster for the initial load. You will therefore need another interface for the initial load.
    From my experience IKM Oracle Incremental Update (Merge) is faster than IKM Oracle Incremental Update for the incremental load, but I think the best thing to do is to try it on your environment. Nothing is better than a benchmark .
    IKM Oracle Incremental Update is useful for Oracle RDBMS < 9i, before this syntax was introduced.
    Regards,
    JeromeFr

  • RMAN 10g new incremental features compression issue

    Hi,
    I'm testing block change tracking and fast incremental but, come to an issue with compressed level 0 backupsets and uncompressed level 1.
    I've run:
    connect target;
    backup as compressed backupset INCREMENTAL LEVEL 0 TAG = WEEKLY DATABASE;
    exit;
    on 500GB database ,and the backupset was about 90GB.
    But now I'm trying :
    RMAN> BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG WEEKLY DATABASE;
    Starting backup at 2008-02-20 22:27:34
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=367 devtype=DISK
    no parent backup or copy of datafile 7 found
    no parent backup or copy of datafile 29 found
    no parent backup or copy of datafile 42 found
    no parent backup or copy of datafile 56 found
    no parent backup or copy of datafile 19 found
    no parent backup or copy of datafile 61 found
    no parent backup or copy of datafile 83 found
    no parent backup or copy of datafile 77 found
    no parent backup or copy of datafile 92 found
    no parent backup or copy of datafile 105 found
    and don't know how oracle manage to 'merge' level 0 compressed backup and level 1 uncompressed backup. For me it looks like the level 1 is equal to level 0 .
    BTW that database was not used at all so I was expecting to almost 0 size incrementals.
    The next step should be :
    RECOVER COPY OF DATABASE
    WITH TAG WEEKLY;
    but I've give up as totaly confused :).
    Any explanation would be great.
    There is a lot of myth about new features behaviour.
    Best Regards.
    Grzegorz

    You are mixing 2 independent features , compression and incrementally updated backups. Talking about incrementally updated backups,this is a working script:
    run {
    recover copy of database with tag 'incr_update'';
    backup incremental level 1 for recover of copy with tag 'incr_update' database;
    You don't start the process with 'backup database ..'. How it works:
    In the first run 'recover copy...' does anything,because there's no backup to recover.
    'backup incremental...' creates image copies (not a backupset) of all datafiles,image copies are never compressed.
    In the second run 'recover copy...' still does nothing,because we still have no backup. 'backup incremental...' now creates an incremental backup , that may be compressed or not compressed. I've set 'compressed' as permanent parameter,so it's not included in the command.
    In the third (and all following) run 'recover copy...' now applies the incremental backups taken in the previous run to the image copies. 'backup incremental...' creates a new incremental backup, again this can be compressed or not.
    Werner

  • ODI 10g Scheduler picking incorrect time - Issue

    When am scheduling a ODI scenario at EST time using scheduler agent, it is executing at different time. For Ex.,  lets say i scheduled my job at 5 PM EST daily. I can see their time in SCHEDULING INFORMATION window as 9 PM EST daily (i.e Current EST + 4 Hrs).
    Jobs are not getting triggered at 5 PM EST but it is executing at 9 PM EST. Whereas when i look into ODI OPERATOR, it is showing as 5 PM EST in execution log.
    Am facing this issue once i installed ODI 10g from WINDOWS 2003 server to WINDOWS 2008 R2 Server. Is it a bug in the 10g product or some other JAVA/JRE/JDK related issues.
    What might be the exact issue ? As It is really urgent problem, Can any one help me asap ?

    The master repository contains connectivity to the work repository. If you just clone the master repository the work repository connectivity in it still point to the original work rep. So running upgrade on cloned copy of master would result in upgrade of original work rep instead of cloned work rep. I guess this is what happened in your case. So you should try to restore the work rep in the original schema.

  • Change need in IKM SQL/Oracle incremental Update

    according to my requirement:
    IKM need to change as * DELETE existing records(NOt all some ) instead of update existing records *
    insert all records(simply dump)
    option change as:
    update and Insert -----> as------>DELETE & insert
    can anyone provide code to implement my logic...?

    Hi, as far as i understand your question you need to *" delete 1st then insert "* insted doing *"update and insert"*
    Here you create one extra step with the existing IKM. suppose name it "Delete records"
    in target tab
    delete from <%snpRef.getTable("L","TARG_NAME","A")%> where condition (put ur desired condition)
    selecte the schema refering to target,then select transaction 1-> commit
    1st part is done.Now come to the second step.
    In the existing ikm delete the step "flag rows for update","falg useles rows","update rows".
    Thats all.
    Thanks.

  • ODI V.11 IKM Oracle Incremental KM is giving a performance bottle neck.

    Hi All,
    Well I am experimenting with different IKM's for Incrementally loading Target Table.
    When i am using V.11 IKM Oracle Incremental update KM, Insert Flow into I$ table step is taking longer time than usual.
    And when i do the same process using V.10 IKM Oracle Incremental update, this step Insert Flow into I$ table is finishing in no time.
    Hard to believe this....
    V.11 KM's should be faster than V.10 KM's right......
    Is there any thing in V.11 KM's creating this issue????
    Any help appreciated.
    Thank you,
    Mike.

    I think the theory process changed to 'only bring things to the staging / collection layer that is not already in the target'. In some cases this makes sense.
    It doesnt help on some of our interfaces so I've created a new option , true / false called 'USE_MINUS' then the minus clause on the IKM to this :
    <% if ("1".equals(snpRef.getOption("USE_MINUS"))) { %>
         /* Minus set operator enabled in interface flow control options.*/     
    minus
         select
         <%=odiRef.getColList("","[COL_NAME]", ",\n\t", "", "(((INS OR UPD) AND NOT TRG)AND REW)")%>
         ,'I'     IND_UPDATE
    from     <%=odiRef.getTable("L", "TARG_NAME", "A")%>
    <% } else { %>
         /* Minus set operator disabled in interface flow control options*/
    <% } %>
    This allows you to turn on / off on a per interface basis, just set the default to off, or delete the entire Minus part if you really dont want it (without any control to re-introduce it)
    I wouldnt assume anything is supposed to be quicker from 10g to 11g, they are only code generators, how does Oracle know if it suits every customer implementation? Maybe the Merge from staging to the target is heavier than the Minus in some cases hence the behaviour not to bring anything in you already have.
    Anyway hope the above helps.
    Rgrds
    Alastair

  • ODI 12c Incremental update taking indefinite time

    I am trying to load data from database  view  data into staging tables . When i load with out key on target it loads data loads very fast when i define key and change KM to Incremental update then it is taking more than 12 hours and still running
    Please find below query from the Insert I$.Please guide me if I need to fine tune the performance
    /* DETECTION_STRATEGY = NOT_EXISTS */
    insert into MKTG.I$_LF_STG_SIEBEL_ACCOUNT
      CUSTOMER_ID,
      PR_CON_ID,
      CDH_PARTY_ID,
      ACCOUNT_NAME,
      ACCOUNT_ID,
      DISPLAY_NAME,
      ACCOUNT_TEAM,
      ACCOUNT_TYPE,
      ACCOUNT_SUB_TYPE,
      TOTAL_AGENTS,
      TOTAL_OFFICES,
      MLS_SET_ID,
      PRIMARY_HLC,
      PRIMARY_CLC,
      TOTAL_HLC,
      TOTAL_CLC,
      PARENT_ACCOUT_NAME,
      PARENT_ACOUNT_ID,
      STATUS,
      FRANCHISE,
      TOTAL_CONTRACT_VALUE,
      CREDIT_STATUS,
      TATUS_AS_OF,
      SALES_LOCK,
      LOCK_EXP_DATE,
      CREDIT_RISK,
      ALERTS,
      URL,
      OWN_COSHOW,
      OWN_FCMA,
      OWN_FH,
      OWN_CYCLE,
      OWN_SLE,
      OWN_IDX,
      OWN_BA,
      OWN_FAC,
      OWN_LH,
      OWN_MS,
      OWN_TP_CRM,
      OWN_OSL,
      "OWN_CO_Broke",
      OWN_FH_BROKER,
      PRICE_LIST,
      NEXT_RENEWAL_DATE,
      TERRITORY,
      DIVISION,
      CREATION_DATE,
      CREATED_BY,
      MAIN_EMAIL_ADDRESS,
      PRIMARY_ADDRESS_ID,
      IND_UPDATE
    select
    CUSTOMER_ID,
      PR_CON_ID,
      CDH_PARTY_ID,
      ACCOUNT_NAME,
      ACCOUNT_ID,
      DISPLAY_NAME,
      ACCOUNT_TEAM,
      ACCOUNT_TYPE,
      ACCOUNT_SUB_TYPE,
      TOTAL_AGENTS,
      TOTAL_OFFICES,
      MLS_SET_ID,
      PRIMARY_HLC,
      PRIMARY_CLC,
      TOTAL_HLC,
      TOTAL_CLC,
      PARENT_ACCOUT_NAME,
      PARENT_ACOUNT_ID,
      STATUS,
      FRANCHISE,
      TOTAL_CONTRACT_VALUE,
      CREDIT_STATUS,
      TATUS_AS_OF,
      SALES_LOCK,
      LOCK_EXP_DATE,
      CREDIT_RISK,
      ALERTS,
      URL,
      OWN_COSHOW,
      OWN_FCMA,
      OWN_FH,
      OWN_CYCLE,
      OWN_SLE,
      OWN_IDX,
      OWN_BA,
      OWN_FAC,
      OWN_LH,
      OWN_MS,
      OWN_TP_CRM,
      OWN_OSL,
      "OWN_CO_Broke",
      OWN_FH_BROKER,
      PRICE_LIST,
      NEXT_RENEWAL_DATE,
      TERRITORY,
      DIVISION,
      CREATION_DATE,
      CREATED_BY,
      MAIN_EMAIL_ADDRESS,
      PRIMARY_ADDRESS_ID,
      IND_UPDATE
    from (
    select 
      MOVE_BS4_ACCOUNT_VW_A.CUSTOMER_ID CUSTOMER_ID,
      MOVE_BS4_ACCOUNT_VW_A.PR_CON_ID PR_CON_ID,
      MOVE_BS4_ACCOUNT_VW_A.CDH_PARTY_ID CDH_PARTY_ID,
      MOVE_BS4_ACCOUNT_VW_A.ACCOUNT_NAME ACCOUNT_NAME,
      MOVE_BS4_ACCOUNT_VW_A.ACCOUNT_ID ACCOUNT_ID,
      MOVE_BS4_ACCOUNT_VW_A.DISPLAY_NAME DISPLAY_NAME,
      MOVE_BS4_ACCOUNT_VW_A.ACCOUNT_TEAM ACCOUNT_TEAM,
      MOVE_BS4_ACCOUNT_VW_A.ACCOUNT_TYPE ACCOUNT_TYPE,
      MOVE_BS4_ACCOUNT_VW_A.ACCOUNT_SUB_TYPE ACCOUNT_SUB_TYPE,
      MOVE_BS4_ACCOUNT_VW_A.TOTAL_AGENTS TOTAL_AGENTS,
      MOVE_BS4_ACCOUNT_VW_A.TOTAL_OFFICES TOTAL_OFFICES,
      MOVE_BS4_ACCOUNT_VW_A.MLS_SET_ID MLS_SET_ID,
      MOVE_BS4_ACCOUNT_VW_A.PRIMARY_HLC PRIMARY_HLC,
      MOVE_BS4_ACCOUNT_VW_A.PRIMARY_CLC PRIMARY_CLC,
      MOVE_BS4_ACCOUNT_VW_A.TOTAL_HLC TOTAL_HLC,
      MOVE_BS4_ACCOUNT_VW_A.TOTAL_CLC TOTAL_CLC,
      MOVE_BS4_ACCOUNT_VW_A.PARENT_ACCOUNT_NAME PARENT_ACCOUT_NAME,
      MOVE_BS4_ACCOUNT_VW_A.PARENT_ACCOUNT_ID PARENT_ACOUNT_ID,
      MOVE_BS4_ACCOUNT_VW_A.STATUS STATUS,
      MOVE_BS4_ACCOUNT_VW_A.FRANCHISE FRANCHISE,
      MOVE_BS4_ACCOUNT_VW_A.TOTAL_CONTRACT_VALUE_ TOTAL_CONTRACT_VALUE,
      MOVE_BS4_ACCOUNT_VW_A.CREDIT_STATUS CREDIT_STATUS,
      MOVE_BS4_ACCOUNT_VW_A.STATUS_AS_OF TATUS_AS_OF,
      MOVE_BS4_ACCOUNT_VW_A.SALES_LOCK SALES_LOCK,
      MOVE_BS4_ACCOUNT_VW_A.LOCK_EXP_DATE LOCK_EXP_DATE,
      MOVE_BS4_ACCOUNT_VW_A.CREDIT_RISK CREDIT_RISK,
      MOVE_BS4_ACCOUNT_VW_A.ALERTS ALERTS,
      MOVE_BS4_ACCOUNT_VW_A.URL URL,
      MOVE_BS4_ACCOUNT_VW_A.OWN_COSHOW OWN_COSHOW,
      MOVE_BS4_ACCOUNT_VW_A.OWN_FCMA OWN_FCMA,
      MOVE_BS4_ACCOUNT_VW_A.OWN_FH OWN_FH,
      MOVE_BS4_ACCOUNT_VW_A.OWN_CYCLE OWN_CYCLE,
      MOVE_BS4_ACCOUNT_VW_A.OWN_SLE OWN_SLE,
      MOVE_BS4_ACCOUNT_VW_A.OWN_IDX OWN_IDX,
      MOVE_BS4_ACCOUNT_VW_A.OWN_BA OWN_BA,
      MOVE_BS4_ACCOUNT_VW_A.OWN_FAC OWN_FAC,
      MOVE_BS4_ACCOUNT_VW_A.OWN_LH OWN_LH,
      MOVE_BS4_ACCOUNT_VW_A.OWN_MS OWN_MS,
      MOVE_BS4_ACCOUNT_VW_A.OWN_TP_CRM OWN_TP_CRM,
      MOVE_BS4_ACCOUNT_VW_A.OWN_OSL OWN_OSL,
      MOVE_BS4_ACCOUNT_VW_A.OWN_CO_BROKE "OWN_CO_Broke",
      MOVE_BS4_ACCOUNT_VW_A.OWN_FH_BROKER OWN_FH_BROKER,
      MOVE_BS4_ACCOUNT_VW_A.PRICE_LIST PRICE_LIST,
      MOVE_BS4_ACCOUNT_VW_A.NEXT_RENEWAL_DATE NEXT_RENEWAL_DATE,
      MOVE_BS4_ACCOUNT_VW_A.TERRITORY TERRITORY,
      MOVE_BS4_ACCOUNT_VW_A.DIVISION DIVISION,
      MOVE_BS4_ACCOUNT_VW_A.CREATION_DATE CREATION_DATE,
      MOVE_BS4_ACCOUNT_VW_A.CREATED_BY CREATED_BY,
      MOVE_BS4_ACCOUNT_VW_A.MAIN_EMAIL_ADDRESS MAIN_EMAIL_ADDRESS,
      MOVE_BS4_ACCOUNT_VW_A.PRIMARY_ADDRESS_ID PRIMARY_ADDRESS_ID,
      'I' IND_UPDATE
    from MKTG.C$_0MOVE_BS4_ACCOUNT_VW MOVE_BS4_ACCOUNT_VW_A
    where (1=1)
    ) S
    where NOT EXISTS
      ( select 1 from MKTG.LF_STG_SIEBEL_ACCOUNT T
      where T.ACCOUNT_ID = S.ACCOUNT_ID
      and ((T.CUSTOMER_ID = S.CUSTOMER_ID) or (T.CUSTOMER_ID IS NULL and S.CUSTOMER_ID IS NULL)) and
      ((T.PR_CON_ID = S.PR_CON_ID) or (T.PR_CON_ID IS NULL and S.PR_CON_ID IS NULL)) and
      ((T.CDH_PARTY_ID = S.CDH_PARTY_ID) or (T.CDH_PARTY_ID IS NULL and S.CDH_PARTY_ID IS NULL)) and
      ((T.ACCOUNT_NAME = S.ACCOUNT_NAME) or (T.ACCOUNT_NAME IS NULL and S.ACCOUNT_NAME IS NULL)) and
      ((T.DISPLAY_NAME = S.DISPLAY_NAME) or (T.DISPLAY_NAME IS NULL and S.DISPLAY_NAME IS NULL)) and
      ((T.ACCOUNT_TEAM = S.ACCOUNT_TEAM) or (T.ACCOUNT_TEAM IS NULL and S.ACCOUNT_TEAM IS NULL)) and
      ((T.ACCOUNT_TYPE = S.ACCOUNT_TYPE) or (T.ACCOUNT_TYPE IS NULL and S.ACCOUNT_TYPE IS NULL)) and
      ((T.ACCOUNT_SUB_TYPE = S.ACCOUNT_SUB_TYPE) or (T.ACCOUNT_SUB_TYPE IS NULL and S.ACCOUNT_SUB_TYPE IS NULL)) and
      ((T.TOTAL_AGENTS = S.TOTAL_AGENTS) or (T.TOTAL_AGENTS IS NULL and S.TOTAL_AGENTS IS NULL)) and
      ((T.TOTAL_OFFICES = S.TOTAL_OFFICES) or (T.TOTAL_OFFICES IS NULL and S.TOTAL_OFFICES IS NULL)) and
      ((T.MLS_SET_ID = S.MLS_SET_ID) or (T.MLS_SET_ID IS NULL and S.MLS_SET_ID IS NULL)) and
      ((T.PRIMARY_HLC = S.PRIMARY_HLC) or (T.PRIMARY_HLC IS NULL and S.PRIMARY_HLC IS NULL)) and
      ((T.PRIMARY_CLC = S.PRIMARY_CLC) or (T.PRIMARY_CLC IS NULL and S.PRIMARY_CLC IS NULL)) and
      ((T.TOTAL_HLC = S.TOTAL_HLC) or (T.TOTAL_HLC IS NULL and S.TOTAL_HLC IS NULL)) and
      ((T.TOTAL_CLC = S.TOTAL_CLC) or (T.TOTAL_CLC IS NULL and S.TOTAL_CLC IS NULL)) and
      ((T.PARENT_ACCOUT_NAME = S.PARENT_ACCOUT_NAME) or (T.PARENT_ACCOUT_NAME IS NULL and S.PARENT_ACCOUT_NAME IS NULL)) and
      ((T.PARENT_ACOUNT_ID = S.PARENT_ACOUNT_ID) or (T.PARENT_ACOUNT_ID IS NULL and S.PARENT_ACOUNT_ID IS NULL)) and
      ((T.STATUS = S.STATUS) or (T.STATUS IS NULL and S.STATUS IS NULL)) and
      ((T.FRANCHISE = S.FRANCHISE) or (T.FRANCHISE IS NULL and S.FRANCHISE IS NULL)) and
      ((T.TOTAL_CONTRACT_VALUE = S.TOTAL_CONTRACT_VALUE) or (T.TOTAL_CONTRACT_VALUE IS NULL and S.TOTAL_CONTRACT_VALUE IS NULL)) and
      ((T.CREDIT_STATUS = S.CREDIT_STATUS) or (T.CREDIT_STATUS IS NULL and S.CREDIT_STATUS IS NULL)) and
      ((T.TATUS_AS_OF = S.TATUS_AS_OF) or (T.TATUS_AS_OF IS NULL and S.TATUS_AS_OF IS NULL)) and
      ((T.SALES_LOCK = S.SALES_LOCK) or (T.SALES_LOCK IS NULL and S.SALES_LOCK IS NULL)) and
      ((T.LOCK_EXP_DATE = S.LOCK_EXP_DATE) or (T.LOCK_EXP_DATE IS NULL and S.LOCK_EXP_DATE IS NULL)) and
      ((T.CREDIT_RISK = S.CREDIT_RISK) or (T.CREDIT_RISK IS NULL and S.CREDIT_RISK IS NULL)) and
      ((T.ALERTS = S.ALERTS) or (T.ALERTS IS NULL and S.ALERTS IS NULL)) and
      ((T.URL = S.URL) or (T.URL IS NULL and S.URL IS NULL)) and
      ((T.OWN_COSHOW = S.OWN_COSHOW) or (T.OWN_COSHOW IS NULL and S.OWN_COSHOW IS NULL)) and
      ((T.OWN_FCMA = S.OWN_FCMA) or (T.OWN_FCMA IS NULL and S.OWN_FCMA IS NULL)) and
      ((T.OWN_FH = S.OWN_FH) or (T.OWN_FH IS NULL and S.OWN_FH IS NULL)) and
      ((T.OWN_CYCLE = S.OWN_CYCLE) or (T.OWN_CYCLE IS NULL and S.OWN_CYCLE IS NULL)) and
      ((T.OWN_SLE = S.OWN_SLE) or (T.OWN_SLE IS NULL and S.OWN_SLE IS NULL)) and
      ((T.OWN_IDX = S.OWN_IDX) or (T.OWN_IDX IS NULL and S.OWN_IDX IS NULL)) and
      ((T.OWN_BA = S.OWN_BA) or (T.OWN_BA IS NULL and S.OWN_BA IS NULL)) and
      ((T.OWN_FAC = S.OWN_FAC) or (T.OWN_FAC IS NULL and S.OWN_FAC IS NULL)) and
      ((T.OWN_LH = S.OWN_LH) or (T.OWN_LH IS NULL and S.OWN_LH IS NULL)) and
      ((T.OWN_MS = S.OWN_MS) or (T.OWN_MS IS NULL and S.OWN_MS IS NULL)) and
      ((T.OWN_TP_CRM = S.OWN_TP_CRM) or (T.OWN_TP_CRM IS NULL and S.OWN_TP_CRM IS NULL)) and
      ((T.OWN_OSL = S.OWN_OSL) or (T.OWN_OSL IS NULL and S.OWN_OSL IS NULL)) and
      ((T."OWN_CO_Broke" = S."OWN_CO_Broke") or (T."OWN_CO_Broke" IS NULL and S."OWN_CO_Broke" IS NULL)) and
      ((T.OWN_FH_BROKER = S.OWN_FH_BROKER) or (T.OWN_FH_BROKER IS NULL and S.OWN_FH_BROKER IS NULL)) and
      ((T.PRICE_LIST = S.PRICE_LIST) or (T.PRICE_LIST IS NULL and S.PRICE_LIST IS NULL)) and
      ((T.NEXT_RENEWAL_DATE = S.NEXT_RENEWAL_DATE) or (T.NEXT_RENEWAL_DATE IS NULL and S.NEXT_RENEWAL_DATE IS NULL)) and
      ((T.TERRITORY = S.TERRITORY) or (T.TERRITORY IS NULL and S.TERRITORY IS NULL)) and
      ((T.DIVISION = S.DIVISION) or (T.DIVISION IS NULL and S.DIVISION IS NULL)) and
      ((T.CREATION_DATE = S.CREATION_DATE) or (T.CREATION_DATE IS NULL and S.CREATION_DATE IS NULL)) and
      ((T.CREATED_BY = S.CREATED_BY) or (T.CREATED_BY IS NULL and S.CREATED_BY IS NULL)) and
      ((T.MAIN_EMAIL_ADDRESS = S.MAIN_EMAIL_ADDRESS) or (T.MAIN_EMAIL_ADDRESS IS NULL and S.MAIN_EMAIL_ADDRESS IS NULL)) and
      ((T.PRIMARY_ADDRESS_ID = S.PRIMARY_ADDRESS_ID) or (T.PRIMARY_ADDRESS_ID IS NULL and S.PRIMARY_ADDRESS_ID IS NULL))

    I had a query doing the same thing and switching it to use decode fixed the performance issue.  The syntax is Decode(X, Y, 1, 0) = 1 instead of X=Y or (X is null and Y is null).  You probably will have to modify the KM or pre-filter the data to do this in ODI.  However, copy everything from the first select down and tune it straight on the database.  Once you get good performance, then look at ODI and see how you can duplicate it.

  • Getting PK Constrain Error while Loading Incremental update in ODI 12C

    Hi
    I am gettig below error while running mapping. I tried Distintct and PK all possible vays but not able to find any solution . Please guide me if any one faced similler issue
    ODI-1228: Task Insert new rows-IKM DB2 400 Incremental Update- fails on the target connection P5LPAR2.
    Caused By: java.sql.SQLIntegrityConstraintViolationException: [FMWGEN][DB2 JDBC Driver][DB2]Error occured with SQLCode -545 with the following parameters: Q_CRPDTA_F55DM050_PRIKEYCHK_00001, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null
    Regards
    naren

    Exactly how are you filtering for incremental records?
    Also we ideally need to know what Knowledge Module you have used.
    An Incremental Update KM generally uses a detection strategy (e.g Not Exists / Minus etc).
    My suggestion would be to leave the temporary objects on and take a look at the contents of your I$ table after the interface has run / failed - Then apply the same SQL logic being used to integrate from I$ to target , e.g Merge or insert and look if you have a bad unique key defined, or indeed nulls in any of your key columns.

  • Query  Regarding Updation/Migration of ODI 10g To ODI 11g.

    Hi All,
    Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
    We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
    1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.
    2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.
    3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?
    ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
    Thanks
    Edited by: neeraj_singh on May 15, 2013 9:58 PM

    neeraj_singh wrote:
    Hi All,
    Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
    We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
    1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.You can install ODI 11.1.1.5 but you have to upgrade your repositories using upgrade assistant
    refer http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/tasklist.htm#CIHGIDFG
    2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.No need to create new repositories. You just upgrade them. But you need to takecare of certain things as you are a 10g user. Refer below link for the prerequisite
    http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/prevusers.htm
    3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?Not clear about the question ?
    >
    ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
    Thanks
    Edited by: neeraj_singh on May 15, 2013 9:58 PM

  • Oracle ODI 10g- Package-Internet-Send Email Functionality

    Hi ,
    I have created a scenario for the package and successfully executed it the ODI 10g developer.
    Here, I have need a clarification if,
    1) We can trigger out an email with the exception occured in between the execution of the scenario.
    2) Upon successful completion of the scenerio, can we send an email with email body as "total number of count of rows Inserted/Updated/Deleted".
    3) What are the extra features available wrt the above two points.
    Please let me know if any one has any updates on the points mentioned.
    Regards,
    Kamalesh.

    864083 wrote:
    Hi ,
    I have created a scenario for the package and successfully executed it the ODI 10g developer.
    Here, I have need a clarification if,
    1) We can trigger out an email with the exception occured in between the execution of the scenario.Yes you can ... for this put an email activity after the senario with KO . and use getPrevStepLog() Method to get the exception .
    2) Upon successful completion of the scenerio, can we send an email with email body as "total number of count of rows Inserted/Updated/Deleted".same as no 1. use getPrevStepLog() Method to get the execution result .
    3) What are the extra features available wrt the above two points.
    Please let me know if any one has any updates on the points mentioned.http://gerardnico.com/doc/odi/webhelp/en/ref_api/getprevsteplog.htm
    Regards,
    Kamalesh.

  • Odi 10g Issue while implenting CDC on table

    Hi All,
    Am new to odi 10g ,
    Am getting following error while selecting journalize data only option in the interface
    Error:
    This data source is not journalized in this context .
    com.sunopsis.tools.core.exception.snpsSimpleMessageExcption:null
    Thanks
    Edited by: vam on Dec 24, 2012 1:03 AM

    Hi and welcome,
    You first have to journalize your datastore.
    You should follow a tutorial like this one : http://odiexperts.com/changed-data-capture-cdc/
    Hope it helps.
    Regards,
    JeromeFr

  • ODI 10g - session keep a table locked

    Hi,
    We have a random issue, with ODI session that keep a lock on a table, even replication is finished and session becomes inactive
    It generated dead locks as a trigger has to update the target table.
    what happened :
    - user application create rows (13)
    - ODI scenario replicate the rows (contract table)
    - 2nd scenario based on same source with another sunscriber run a stored procedure to create records in another table (around 30, positions table)
    this 2nd locked the target table, and when the run of the procedure finished, and commited, the lock was not released
    - ODI replicate another table (price) 30mn later, a trigger on target update position table with new values
    ---> trigger failed with deadlock (ora 60)
    ---> ODI failed as the trigger raised back the error
    this issue happened after 10 hours of same activity without issue, chained lot of time, but suddenly the lock become persistent (more than 4 hours)
    what can I do?
    use ODI 10g 10.1.3.5.0 - RDBMS 10.2.0.4

    Hi !
    For small tables wich are mostly accessed with full table scan you can use
    ALTER TABLE <table_name> STORAGE (BUFFER_POOL KEEP);KEEP pool should be properly sized , setting will cause once the table is read oracle will avoid flushing it out from pool.
    T

Maybe you are looking for

  • Import from Camera Screen - cut off

    Folks, I am trying tom import from my Sony DCR-DVD201 camcorder. I can import fine, but the "Import from Camera screen" is cutoff and black for the first 3/4 of the screen -- I can see only the very bottom edges of the video clips. I can still import

  • Edited PDF does not contain viewable text in an email.  Why?

    I am currently using Acrobat Pro 8.0 on a MacBook Pro.  I used to be able to edit PDF documents by adding text to them and sending them in an email.  Now that I have upgraded my OS to Mavericks, I can't read the edited text in the pdf.  Any suggestio

  • What is the best Compressor settings for burning a 2 hour DVD on single layer disc?

    I have a 2 hour (120 minutes) project timeline which I want to encode in compressor to fit on a single layer DVD. Do I need to change the Bit Rate to make it fit on a single layer? Or can someone post the settings or link to where I can find the best

  • Best Practices for vMotion QoS in N1kv and UCS?

    Hi, I'm looking at a few technical documentation on what's the recommended way to provide QoS to vMotion. From VMWare's website on vSphere deployment with N1kv, They are using policy-map type qos vmotion      class class-default           police cir

  • Restricting FXS ports to internal calls only

    Hi, I have recently intalled Call Manager 8.5.1 with a H323 Gateway. On the gateway, I have a number of FXS ports for lobby phones. Is there a way I can restrict these phones to allow only internal calls only? Do I need to use COR lists like in Call