Differential Incremental Backup or Incrementally Updated Backup?

DB Version:11g
DB Size:450Gb
DB type: OLTP (storing retail warehouse transactions)
To implement a proper backup strategy, we are currently weighing the Pros and Cons of Differential Incremental Backup and Incrementally Updated Backup.
I understand that , for Incrementally Updated Backup , the level 0 backup must be stored in FRA. We don't want to configure FRA as of now.
Which backup strategy would you choose for a similair environment?

I don't think that 11g RMAN level 0 backup need to use FRA: can you provide us the link to Oracle doc ?
When designing your backup strategy you need to define:
RTO: recovery time objective
RPO: recovery point objective.
See http://download.oracle.com/docs/cd/B19306_01/server.102/b14210/hadesign.htm
To meet a low RTO objective, you may need to use incrementally updated backup because it should be faster to recover from incrementally updated backup compared to differential incremental backup.

Similar Messages

  • Incrementally updated backup and EMC NMDA

    Hello Everyone,
    I'm kind of a newbie in setting up networker module for oracle, to backup database to tape. We use the oracle's suggested backup strategy to backup DB to Disk first using the incrementally updated backups with recovery set to 3 days (RECOVER COPY OF DATABASE WITH TAG ... UNTIL TIME 'SYSDATE-3') , which helps us to recover DB to any point in time using the backup files in disks vs. going to tape. After backup to disk, we backup recovery area to tape nightly. However, we do want to maintain backup Retention Policy of 1 month. Couple of questions,
    1. If i set RP to recovery window of 31 days in RMAN, then backups don't obsolete at all. this forces me to set RP in networker and they don't recommend setting RP in both RMAN and networker. how is this done generally to obsolete backups from tape as well as rman (catalog in CF) with above strategy. perhaps in this case i should set RP in netwoker and set RP in RMAN to none and rely on crosscheck and delete expired commands to sync with RNAM catalog.
    2. Wondering if nightly backup of recovery area to tape is going to take incremental from previous day and NOT full backup. The reason i ask is, i do not want the tape to do full backup of FRA every day cause full backup datafiles change once in 3 days based on the until time set. is there an option do set in networker to do incremental only or that's the default.
    Thanks in Advance!
    11gR2, 4 Node RAC, Linux, NMDA 1.1, Networker 7.6 sp1

    Loic wrote:
    You do a full backup of the FRA on tape ?No, I do a full backup of the database on tape. Using RMAN together with Veritas NetBackup.
    I mean if you use incremental updated backup it'll not work on tape... Because the level 0 backup that will be updated with the backup of the day after will be on tape and will not be updated.The incrementally updated backup is in the FRA only, on disk (both the image copy and the following backup sets that are used for recovery of the image copy). Never gets written to tape or updated on tape.
    Why don't you use then normal incremental backup ? That will have no problem with the tape backup even if level0, or level1,2 becomes reclaimable... ?I think I do :-)
    Maybe:
    To keep that you can put the redundancy to 2 out of 1 copy. Like this even with one copy on disk and tape it'll say keep the 2 copies.
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;I'll think about that.

  • Incrementally Updated Backups -- do you Backup to TAPE ?

    Incrementally Updated Backups on disk provide
    a. only a single image of the database
    b. as of only a particular point in time (the last incremental update)
    c. no protection against disk/storage failure as the backups are on the same server as the database
    Your Incrementally Updated Backups should go to Tape or to another Disk Area on another server or Virtual Tape Library frequently.
    You may find the need to "restore and recover the database as of 3 days ago OR as of the last critical processing date" which cannot be done if you incrementally update your backup every day.
    A backup on disk doesn't protect you from disk failure.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

    Look in the FAQ for SuperDuper at: <http://www.shirt-pocket.com/forums/showthread.php?t=3942&highlight=time+capsul e>
    where you'll find a discussion of what you can do.

  • Question on Differential Incremental Backup script.

    Version:11g
    OS : AIX 5.3
    I only have theoretical knowledge of RMAN. I am planning to implement Differential Incremental Backup for my database. My strategy is
    a. Weekly level 0 backup at Sunday morning 2:00 am
    b. Daily Level 1 Differential Incremental Backups at 2:00 am from Monday to Saturday.
    c. Backup all archived log filesFirst script to perform level 0 backup -- This script will be run by a cron job every Sunday morning 2:00 am
    ==================================================================
    run {
    allocate channel ch1 device type disk;
    backup incremental level 0 format '/u07/rman_backup/FULL_%d_%u' database tag "weekly_full";
    backup format '/u07/rman_backup/RMAN_CTL%s:%t:%p.bkp' current controlfile;
    release channel ch1;
    allocate channel ch1 device type disk;
    backup (archivelog all  format='/u08/rman_backup/archbkp_dir/ARCH_%d_%T_%u_s%s_p%p' DELETE INPUT TAG "archivelogs");
    release channel ch1;
    }The below script is to perform level 1 Differential Incremental Backups for the next 6 days. This script will be run daily
    at 2:00 am monday to saturday by a cronjob. I'll create 6 scripts like below, the only difference being the TAG "Monday-level1","Tuesday-level1"...etc.
    =======================================================
    run {
    allocate channel ch1 device type disk;
    backup incremental level 1 format '/u07/rman_backup/RMAN_DBF_%s:%t:%p.bkp' database tag "Monday-level1";
    backup format '/u07/rman_backup/RMAN_CTL<%s:%t:%p>.bkp' current controlfile;
    release channel ch1;
    allocate channel ch1 device type disk;
    backup (archivelog all  format='/u08/rman_backup/archbkp_dir/ARCH_%d_%T_%u_s%s_p%p' delete input tag "archivelogs");
    release channel ch1;
    }Question 1.
    Is my level 1 script correct ?
    Question2.
    Will the above scripts for level 0 and level 1 automatically delete the
    obsolete level 0 and level 1 backup files when a new weekly cycle starts?
    Any more enhancements(or corrections) you gurus want to suggest?

    Above scripts seems to be correct.
    Why you don't test it on test environment?
    These codes don't delete obsolete backups of the database. Then just delete backed up archived redo log files due to DELETE INPUT command
    If you use retention policy to recovery window of 7 days, to delete obsolete backups you need to run CROSSCHECK command and then DELETE OBSOLETE to delete all obsolete backups
    My suggestions
    - Practice it on test environment
    - Read documentation before performing any tests
    - Try to understand each line of these scripts based on documentation

  • Incremental updated RMAN backup help 11gR2

    Dear all,
    My manager ask me to build RMAN scripts to backup the 11gr2 database in redhat Linux.
    Any help how to achieve this using RMAN?
    thank you

    I am not asking you to write a script. I can write it by myself.
    What I need to know:
    1- Incremental level 0 is a must in my case or I can just use the command below and it does everything (Level 0 , level 1 and level 0 incrementally updated)
    backup incremental level 1 for recover of copy tag 'ALL_BACKUP' database;
    2- The TAG must be unique every week, or can be always "ALL_BACKUP" ?
    3- Which retention period is adequate in my case? 8 days are ok ?
    4- Should I update the CONTROL_FILE_RECORD_KEEP_TIME to more than 7 days?
    thank you

  • Concept about Incremental Updated backup

    I am going through Backup portion of Oracle. However, I am not able to understand the concept about the incremental Updated backups, its advantages and disadvantages.
    Can anyone here help me out to get my concept clear.
    Thanks in advance .

    916438 wrote:
    I am going through Backup portion of Oracle. However, I am not able to understand the concept about the incremental Updated backups, its advantages and disadvantages.
    Can anyone here help me out to get my concept clear.
    Thanks in advance .http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta2011.htm#RCMRF111

  • 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.

  • Please, help with Incremental Update for Linearized document.

    Hi, here is my problem.
    I'm working in my own annotation app. It incrementally updates pdfs. Works fine with most of the pdfs.
    But i've found couple of pdfs, that was being corrupted after updating.
    Here goes more details:
    Single page-linearized pdf: when i've looked into pdf source, i found that page object has /Parent key which referencing to non-existing object. Normally, as i understand /Parent for page object is /Type /Pages objects with /Kids /Count etc.
    12 0 obj
    <</ArtBox[26 0 585.999 792]/BleedBox[26 0 586 792]/Contents[14 0 R 15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R]/CropBox[0 0 612 792]/MediaBox[0 0 612 792]/Parent 8 0 R/Resources 37 0 R/Rotate 0/TrimBox[26 0 586 792]/Type/Page>>
    endobj
    Parent 8 0 R - Is missing
    But all pdf viewers are ok with that.
    So, this pdf has two Xref tables:
    36 0 obj
    <</DecodeParms<</Columns 4/Predictor 12>>/Filter/FlateDecode/ID[<2C9B406A12A771465F8FE0D6A4DC67ED><9B829DD8BDB09849A00CA5D75E7 5CDF4>]/Index[10 54]/Info 9 0 R/Length 114/Prev 66739/Root 11 0 R/Size 64/Type/XRef/W[1 2 1]>>stream....
    and Second one at the end of file.
    5 0 obj
    <</DecodeParms<</Columns 5/Predictor 12>>/Filter/FlateDecode/ID[<2C9B406A12A771465F8FE0D6A4DC67ED><9B829DD8BDB09849A00CA5D75E7 5CDF4>]/Info 9 0 R/Length 51/Root 11 0 R/Size 10/Type/XRef/W[1 3 1]>>stream
    Linearized dict:
    10 0 obj
    <</Linearized 1/L 67043/O 12/E 48239/N 1/T 66738/H [ 534 185]>>
    endobj
    /T 66738 points to Xref table in 5 0 obj's stream
    Now, when my annotation is stored: i'm adding the following object to the end of file:
    8 0 obj <</Type /Pages/Count 1/Kids [ 12 0 R ]>>
    endobj
    I've create the missing 8 0 obj with Kids and /Count 1
    12 0 obj<</Type /Page/Annots [ 65 0 R ]/ArtBox [ 26 0 585.999 792 ]/BleedBox [ 26 0 586 792 ]/Contents [ 14 0 R 15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R ]
    /CropBox [ 0 0 612 792 ]/MediaBox [ 0 0 612 792 ]/Parent 8 0 R/Resources 37 0 R/Rotate 0/TrimBox [ 26 0 586 792 ]>>
    endobj
    it's page objects with new Reference to Annotation object which is:
    65 0 obj<</Type /Annot/Contents (Test 2)/M (D:20120507172231+03'00')/Open true/P 12 0 R/Rect [ 0 0 100.000 100.000 ]/Subtype /Text/T(Test 1)>>
    endobj
    then goes my xref table
    xref
    8 1
    0000067045 00000 n
    0000067189 00000 n
    0000067591 00000 n
    trailer
    <<
    /ID [ <FE1185EC7443D19473E8A4A1569A1CB2> <FE1185EC7443D19473E8A4A1569A1CB2> ]
    /Info 64 0 R
    /Prev 66739
    /Root 11 0 R
    /Size 69
    >>
    startxref
    67760
    %%EOF
    And this totally broks my PDF.
    Questing: /Prev in my trailer should point ot 5 0 obj or 36 0 obj?

    Ok, thanks, and /Pref in my trailer should point to which xref? 5 0 (and the end of the original file) or 36 0 at the beginning?

  • 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

  • How to save the Increment  update to the PDF on the web

    By now I use PDDocSaveWithParams method to save file,but this method is used to local,not on the web.
    I think there are some methode in SDK to save(or send)  the Incremental update to the server.
    But i don't know which is,so if there is please tell me.
    Thanks.

    That is correct.  Internet Explorer (or whatever browser you are using) downloads the PDF to your local Temporary Internet Files cache and then Acrobat/Reader open it from there.

  • How does iWeb track files for incremental updates to .mac

    In short, my question is where does iWeb keep track of which pages have been published to .mac so it can make perform an incremental update?
    My father is in Alaska using iWeb 1.1.1 to maintain a blog and photo gallery that, when published to .mac, has grown to just over 100MB. His connection speeds vary from port to port, but are typically around 128k and cut out after a bit of use. The challenge now is that iWeb is trying to upload the entire site which is failing every time due to the internet connection.
    While visiting him, I saved an identical domain.site file to my computer that I would like to publish using my high speed connection. Following this, my goal is to convince his version of iWeb that it has been updated without having to transfer the entire domain.site file and this is the part where I could use some help.
    So far I have published my copy of the site. I have then tried emailing him copies of the files: index.xml.gz, assets.site.plist, ServerCachedResources.plist, sharedassets.plist, and com.apple.iweb.plist which I accessed using the show package contents on the domain.site file. He has transfered these to domain file however it still wants to upload the entire site. Are there any other ideas on where iWeb tracks pages for incremental updates?
    ibook g4   Mac OS X (10.4.6)  

    If your MBP has a line in jack, just plug an 1/8th inch stereo miniplugto whatever your cassette deck has and use garageband to record the song.

  • Adobe Reader not picking up updates in incrementally updated forms

    I am trying to do incremental update on PDF form. I created two forms using Acrobat Pro. One contains an unchecked checkbox and the other contains unselected radio button. In incremental update, the controls are selected. The issue is that on opening the updated form, Adobe Reader doesn't pick up the updated objects and shows the original form with unselected controls. When I try to open the updated forms with Foxit Reader, updated contents are visible with the controls selected. What could be the issue here?
    Incremental update files I created are available at
    http://www.freedrive.com/file/1309817,cb1.pdf
    http://www.freedrive.com/file/1309818,rb1.pdf

    After some testing, i do find that the overrides file is working properly for my base/newly built machines. So, it must be something on a currently deployed machine, so i can fix that.. I guess technically it's working...
    But, i'm noticing that the Internal AAM server it's looking at is not showing all of the updates it should,
    I did see some errors of :
    Downloading http://swupdl.adobe.com/updates/oobe/aam20/mac/PhotoshopCameraRawForElements11-7.1-x64/7.3 .37/7.3.37.xml
    ******** HTTP Error*********
    Failed to open remote file http://swupdl.adobe.com/updates/oobe/aam20/mac/PhotoshopCameraRawForElements11-7.1-x64/7.3 .37/7.3.37.xml
    Downloading update:  AdobeExtensionManagerCS5-5.0/5.0.1
    I usually just do an incremental update (Mac Server running 10.8)
    Do i need to do a Forced Update? or a 1, of re-downloading a fresh copy of everything?
    It's only a couple updates, But one missing, is the latest Photoshop, which i see if i remove the overrides file, but disappears if i use the overrides file.
    Thanks.

  • 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

  • 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.

  • IKM MSSQL Incremental Update fails on SQL Server 2000 - Collation Problem

    I am having a problem where the the incremental update isn't cabable of updating the table it creates.
    In the Flag Rows to Update I get the following error message:
    446 : HY000 : java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot resolve collation conflict for equal to operation.
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot resolve collation conflict for equal to operation.
    Source Code is:
    update     S
    set     IND_UPDATE = 'U'
    from     SQRoracleStage..I$_tblOracleStage      S,     
         SQRoracleStage..tblOracleStage      T
    where     T.Occurance     = S.Occurance
    and     T.PlanName     = S.PlanName
    Oracle has suggested that the IKM be updated to include a COLLATE clause following the column name in the where clause.
    update S
    set IND_UPDATE = 'U'
    from <%=snpRef.getTable("L", "INT_NAME", "A")%> S,
    <%=snpRef.getTable("L", "TARG_NAME", "A")%> T
    where <%=snpRef.getColList("", "T.[COL_NAME]\t= S.[COL_NAME] COLLATE replace_with_server_collation_string", "\nand\t", "", "UK")%>
    However this code doesn't retrieve the collation string, but rather expects you to replace the replace_with_server_collation_sting with the value from the server.
    Being unfamiliar with SQL Server I would have expected that the model should be capable of determining this value, and that the code should look something similar to:
    update S
    set IND_UPDATE = 'U'
    from <%=snpRef.getTable("L", "INT_NAME", "A")%> S,
    <%=snpRef.getTable("L", "TARG_NAME", "A")%> T
    where <%=snpRef.getColList("", "T.[COL_NAME]\t= S.[COL_NAME] COLLATE <%=snpRef.getServerCollationString("L", "TARG_NAME", "A")%> ", "\nand\t", "", "UK")%>
    It seems as though since ODI creates the table dynamically it should be capable of doing an update to it without intervention.
    Has anyone found a work around for this issue?

    I found the error :)
    This is what happened:
    I copied the tables from the MS SQL Server model to my Oracle model and then generated the DDL, so this gave me a quick set of tables in Oracle identical to the MS SQL database. But what I didn't know was that with the reverse engineer from MS SQL the ODI tool set the primary key columns to READ ONLY (and thus my copied tables also had read only primary key columns). Read only is OK for a source table but devastating for my tables I must load. So when I removed the read only indicator from the Oracle target table pk columns I was again a happy camper !
    Thanks for being the one to talk to ! That really helped :)

Maybe you are looking for

  • Mac mini 2012 windows 8 no hdmi audio

    Hi guys I've tryed everything discussed here, and on the intel support community. I have the latest intel hd graphics 4000 driver, installed with the intel driver update utility. My mac mini is plugged to my tv by the hdmi cable (alredy tryed another

  • Problem with newest itunes

    I've just installed the new itunes and uninstalled it three times because it gives an error code (-3212). I am connected to the internet so I don't know what else to try.

  • HT1386 Sync'g up iPhone 5S for the first with iTunes library.  I plug in my phone, iTunes open but devise will not appear in iTunes.  Help?

    Would like to set up my new iPhone 5S to existing iTunes library.  However, when I plug the phone into my computer the phone doesn't appear as a device on iTunes.  Downloaded the latest iTunes version.  Any thoughts?

  • Ipad2!

    when i try to sync my ipad to itunes it says "the software required for this ipad is not installed correctly. Please reinstall itunes to install the required software" HELP? ive reinstalled itunes 4 times, and it still doesnt work, ive done everythin

  • Using itunes without a mouse - Keyboard commands

    I have several physically challenged Dragon Dictate (MAC) and Dragon Naturally Speaking (PC)  users asking for custom Dragon commands which will allow them to control iTunes by voice. Has anyone created Dragon macros for iTunes?  Does anyone have a l