Error in replicat when updating a row

Oracle 11gR2
OGG 11.1.1.1.5
I am getting the following error when updating a row that exists in both the target and source db:
OCI Error ORA-01403: no data found, SQL <UPDATE....The following is in the discard file:
Record not found
Mapping problem with compressed key update record (target format)...
...The row DOES exist in the target db for sure. But for some reason it thinks that it is not there...why?
Here are the exact steps I did:
1. Created a table in source
2. Create the same table in target (explicitly not through replication as we have an exclude filter on 'CREATE')
3. Inserted rows into source table (which were replicated to target table).
4. Delete a row in the source table (which were not applied to target as I am using the IGNOREDELETE parameter)
5. Update a row in the source table (this is where I got the above mentioned error 'ORA-1403' even though the row does exist.)

mb_ogg is very likely right - you forgot to "add trandata" as that's the number one most common reason for an ORA-1403 (ANSI 100) no data found error.
The problem is that Oracle does not automatically log the PK, it only logs that which changed. Down at the replicat on the target it tries to update but the WHERE clause has PK = NULL because it was not logged in the redo. To have it logged in the redo so that the target UPDATE statement has a correct value for PK, you need to use GGSCI to issue "add trandata," which performs an "ALTER TABLE ADD SUPPLEMENTAL LOG GROUP ... ALWAYS".
"INFO TRANDATA", if using OGG version 11.2+ on Oracle it will tell you if logging is enabled on a table and for which columns.
Good luck,
-joe

Similar Messages

  • Validation problem when update a row in OAF

    created a application using OAF. No problem to create a row, when tried to update the row, received the following error message:
    oracle.jbo.RowValException: JBO-27012: Row validation method validation() failed for row with key oracle.jbo.Key
    2) Steps to Reproduce
    select a row from search result page for update, after change the value and apply it, received the following error message:
    oracle.jbo.RowValException: JBO-27012: Row validation method validation() failed for row with key oracle.jbo.Key

    yes. it is the EO based VO page. Create and Update used same VO and no problem to create the row, had problem when update the row.

  • Error code 50 when updating desktop

    I received error code 50 when updating the creative cloud dekstop. It tells me to contact customer support. how do i do that?

    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Deadlock when updating different rows on a single table with one clustered index

    Deadlock when updating different rows on a single table with one clustered index. Can anyone explain why?
    <event name="xml_deadlock_report" package="sqlserver" timestamp="2014-07-30T06:12:17.839Z">
      <data name="xml_report">
        <value>
          <deadlock>
            <victim-list>
              <victimProcess id="process1209f498" />
            </victim-list>
            <process-list>
              <process id="process1209f498" taskpriority="0" logused="1260" waitresource="KEY: 8:72057654588604416 (8ceb12026762)" waittime="1396" ownerId="1145783115" transactionname="implicit_transaction"
    lasttranstarted="2014-07-30T02:12:16.430" XDES="0x3a2daa538" lockMode="X" schedulerid="46" kpid="7868" status="suspended" spid="262" sbid="0" ecid="0" priority="0"
    trancount="2" lastbatchstarted="2014-07-30T02:12:16.440" lastbatchcompleted="2014-07-30T02:12:16.437" lastattention="1900-01-01T00:00:00.437" clientapp="Internet Information Services" hostname="CHTWEB-CH2-11P"
    hostpid="12776" loginname="chatuser" isolationlevel="read uncommitted (1)" xactid="1145783115" currentdb="8" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128058">
               <inputbuf>
    UPDATE analyst_monitor SET cam_status = N'4', cam_event_data = N'sales1', cam_event_time = current_timestamp , cam_modified_time = current_timestamp , cam_room = '' WHERE cam_analyst_name=N'ABCD' AND cam_window= 2   </inputbuf>
              </process>
              <process id="process9cba188" taskpriority="0" logused="2084" waitresource="KEY: 8:72057654588604416 (2280b457674a)" waittime="1397" ownerId="1145783104" transactionname="implicit_transaction"
    lasttranstarted="2014-07-30T02:12:16.427" XDES="0x909616d28" lockMode="X" schedulerid="23" kpid="8704" status="suspended" spid="155" sbid="0" ecid="0" priority="0"
    trancount="2" lastbatchstarted="2014-07-30T02:12:16.440" lastbatchcompleted="2014-07-30T02:12:16.437" lastattention="1900-01-01T00:00:00.437" clientapp="Internet Information Services" hostname="CHTWEB-CH2-11P"
    hostpid="12776" loginname="chatuser" isolationlevel="read uncommitted (1)" xactid="1145783104" currentdb="8" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128058">
                <inputbuf>
    UPDATE analyst_monitor SET cam_status = N'4', cam_event_data = N'sales2', cam_event_time = current_timestamp , cam_modified_time = current_timestamp , cam_room = '' WHERE cam_analyst_name=N'12345' AND cam_window= 1   </inputbuf>
              </process>
            </process-list>
            <resource-list>
              <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor" indexname="IX_Clust_scam_an_name_window" id="lock4befe1100" mode="X" associatedObjectId="72057654588604416">
                <owner-list>
                  <owner id="process9cba188" mode="X" />
                </owner-list>
                <waiter-list>
                  <waiter id="process1209f498" mode="X" requestType="wait" />
                </waiter-list>
              </keylock>
              <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor" indexname="IX_Clust_scam_an_name_window" id="lock18ee1ab00" mode="X" associatedObjectId="72057654588604416">
                <owner-list>
                  <owner id="process1209f498" mode="X" />
                </owner-list>
                <waiter-list>
                  <waiter id="process9cba188" mode="X" requestType="wait" />
                </waiter-list>
              </keylock>
            </resource-list>
          </deadlock>
        </value>
      </data>
    </event>

    To be honest, I don't think the transaction is necessary, but the developers put it there anyway. The select statement will put the result cam_status
    into a variable, and then depends on its value, it will decide whether to execute the second update statement or not. I still can't upload the screen-shot, because it says it needs to verify my account at first. No clue at all. But it is very simple, just
    like:
    Clustered Index Update
    [analyst_monitor].[IX_Clust_scam_an_name_window]
    cost: 100%
    By the way, for some reason, I can't find the object based on the associatedObjectId listed in the XML
    <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor"
    indexname="IX_Clust_scam_an_name_window" id="lock4befe1100" mode="X" associatedObjectId="72057654588604416">
    For example: 
    SELECT * FROM sys.partition WHERE hobt_id = 72057654588604416
    This return nothing. Not sure why.

  • Error code 805a0193 when updating apps and install...

    Up until Sunday the 12th of August 2012 I have been able to install and update my apps with no fuss. When I tried to install an app on Sunday I got an the error code mentioned above whether through wifi or 3g (for both wifi and 3g my carrier is CELL C)  I get the same error message. I have tried to restore my phone software to previous software prior to recent update and even there I get an error code 801812E0. I also tried resetting my phone to factory settings through the phone and this didn't help.
    I'm now stuck and I posted the same message on here http://answers.microsoft.com/en-us/winphone/forum/wp7-wpapps/error-code-805a0193-when-updating-apps-... I have not received an answer.
    The solutions posted on the site for a similar error relate to a DNS issue with wifi since I am using a cellc 3g card connected to a Sitecom wl-326 router and my Carrier is Cell C for my Lumia 800 i suspect it is an issue with Cell C our the current OS update.
    Please Assist
    Country: South Africa
    Carrier: Cell C
    Phone: Lumia 800 phone
    OS version: 7.10.8773.98
    Firmware version: 1750.0805.8773.12220
    Hardware revision number: 112.1402.2.4
    Zune Version: 4.8.2345.0

    I'm experiencing the same problem on my Lumia 800 (as well as my girlfriend on her Lumia 710). The workaround is to set your router to use Google's DNS settings (8.8.8.8 and 8.8.4.4), further details here: http://answers.microsoft.com/en-us/winphone/forum/wp7-wpapps/marketplace-download-error-805a0193-ove...
    I've tried it and it works but something still needs to be done about the problem itself.
    I doubt there is anything Nokia can do about this sadly....

  • How do I overcome error message 1612 when updating acrobat 8 standard ?

    How do I overcome error message 1612 when updating acrobat 8 standard ?  Kent

    Moving this discussion to the Acrobat Installation & Update issues forum.
    [email protected] you may want to review the steps listed in Error 1714 | Acrobat, Reader - http://helpx.adobe.com/acrobat/kb/error-1714-acrobat-reader.html as it does reference the 1612 error.

  • HT4623 how do i get past error code 4005 when updating to iphone 6 on itunes

    how do i get past error code 4005 when updating to iphone 6 on itunes

    Try the troubleshooting for that error code on this page : iOS: Restore errors 4005, 4013, and 4014.

  • Received error message A12E1 when updating desktop cloud.  what to do?

    Received error message A12E1 when updating cloud on my desktop?

    Daniel Fidler for information on how to resolve an A12E1 error please see A12E1 error installing Creative Cloud products | CC - http://helpx.adobe.com/creative-cloud/kb/a12e1-error-downloading-creative-cloud.html.

  • Why do i keep getting error msg #1403 when updating ipod software in itunes

    why do i keep getting error msg #1403 when updating ipod software in itunes

    I Googled an found no good solutions. II would try:
    - Making sure that you have the latest version of iTunes, 10.6.
    - Disable firewall and antivirus.
    What iOS is currently on the iPod?

  • Getting error code 8018001E when updating phone

    I am getting an error code 8018001E when attempting to update my Nokia 900 phone.
    Background:
    On Jan 30th I saw that the 7.8 update was available so I plugged my  phone in to my Win8 computer, Zune started up and notified me that the update was available.
    I started the update, and had to step away from the computer for a moment.
    In that moment my wife sat down at the computer and switched to her profile.
    When I got back, I expressed my concern about her switching profiles during the update but she needed to show me something.
    I then switched back to my profile and saw that Zune was at step 6 of 10, restarting my phone the phone was however had the "data transfer mode" graphic showing .
    I waited about 10-15 minutes, and decided something went wrong.
    switching back to my wife's account I saw that her copy of Zune had started and was on a screen saying that the update had failed and that the phone would need to be restored from the last back up.
    Closing this  returning back to my account I attempted canceling the update and closed Zune.
    When restarting Zune I was prompted to 'Restore' the phone and clicked OK/continue/next whatever it is.
    I believe the phone then restarted and the restore process completed.
    My phone was now reset back to last August (the last update) loosing the last six months of texts/game saves/applications added/etc...
    Plugging the phone back in I was prompted to update the phone I accepted and the update(s) completed without issue giving me windows phone 7.8.
    This morning I plugged the phone back in and was prompted to install another update (Nokia specific no details as to what it is)
    When updating the phone gets through step 7 of 9 then seems to reset and restarts the phone then tells me there was an error updating giving me the error code    8018001E
    This code does not seem to be common error (not listed in the standard MS help wizard)  But I do see some references to an issue on the Mango update on the LG E900 that appears to be resolved.
    (http://answers.microsoft.com/en-us/winphone/forum/wp7-sync/lg-e900-update-error-code-8018001e/1ec8d5...
    Looking at my phone the os and firmware versions are below
    OS version: 7.10.8858.136
    Firmware revision number: 2175.1003.8112.12085
    Looking at the Nokia website I see the latest firmware for the 900 should be:
    2175.2307.8858.12480
    (http://www.nokia.com/us-en/support/product/lumia900/)
    So I am guessing that this update is attempting to update the firmware.
    Any ideas?
    Thanks

    While we feel your pain, the actual update is handled by Microsoft through te Zune update function. As such I would advise you to contact them on this issue.
    Nokia Support Discussions is a user to user forum so you will not find a direct response form Nokia here.
    Again, contact Zune/Microsoft support here.
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • Error message (-50) when updating podcast

    When updating the Photoshop TV podcast I get an error message saying that there was a problem downloading it and I should check the URL to make sure that it is right. All other podcast updating is not affected, they update without issue. Is anyone else experiencing this issue and is there a fix?
    Thanks for your help!
    Tom
    Imac   Mac OS X (10.4.5)   
    Imac   Mac OS X (10.4.5)  

    it also happened to me trying to buy a song

  • Error ORA-01446 when updating a versioned table with SQLDeveloper 1.5.4

    Hi,
    I have been trying out Oracle Workspace Manager to test how versioned tables might work to our advantage. My basic testing process is:
    1. Create a table
    2. Add some data rows
    3. Version enable the table
    4. Create a workspace
    5. Goto the created workspace
    6. Update a row
    7. Commit and I get the following error
    UPDATE "COMSERV"."A_OWM_TEST" SET DESCRIPTION = 'ABCDEFGHIJzzzz' WHERE ROWID = 'AAAThNAAIAAAgwqAAY'
    One error saving changes to table "COMSERV"."A_OWM_TEST":
    Row 10: ORA-01446: cannot select ROWID from view with DISTINCT, GROUP BY, etc.
    The same update works fine from SQLPlus so my question is Does SQL developer support table versioning or have I done something wrong is setting up my versioned tables?
    Any suggestions greatly appreciated.
    Thanks
    Richard Wilkinson

    hye...
    is that any view referring to that table...
    check the code on how u create that view...
    for e.g.
    CREATE OR REPLACE VIEW testview
    (id, name)
    AS
    select * from testing;
    this also will populate that ORA-01446 error.
    just a suggestion cause i also have a similar problem on ORA-01446 and i resolve it by alter the view..
    CREATE OR REPLACE VIEW testview
    (id, name)
    AS
    select id, name from testing;
    correct me if i'm worng...i'm just a newbie..
    thank you...

  • I have an error code A12E1 when updating

    I have an error code A12E1 when updating

    Hi Derek, I've been a Creative Cloud subscriber since July 2013....I have been prompted by my Creative Cloud desktop manager to update 4X since August of this year. Each and every time I try and download and update I get the same error message: A12E1!
    I have downloaded other users fixes for this, I've tried and used other soluitons offered on Adobe's forums by their own reps, I've called Adbobe tech support on the phone on other occasions....and each time I'm assured that this problem is fixed. And each time, sadly, it is not. I use an iMac with OS X v10.7.5. In addition to waiting for hours for call backs or 50 minutes + for an agent to help me on-line I finally decided to no longer seek Adobe's technical assistance on this as it is now obvious that they are incapable, or unwilling to fix this problem. So.... here is my solution (and if you are on Windows, sorry I can't give you step by step...but the same general solution should still work). Again, these are MAC instructions:
    - Go to "Go" pull-down menu, top left menu bar on your desktop
    - Select "Computer"
    - Expand the folder called: "Applications"
    - Double-click the file called "Uninstall Adobe Creative Cloud"
    - Once done, do the following:
    - Open your browser and go to: www.creative.adobe.com
    - Then, log-in to your Creative Cloud account (have your username and password at hand)
    - Click on the "Creative Cloud" icon amongst all the other app icons in the Adobe creative suite
    - Follow prompts to do the download/install....once done you will have the latest version of Creative Cloud (inclusive of any updates that would have prompted your CC desktop manager to tell you to update).
    Uninstall and reinstall works everytime! It is unfortunate that this is what some of us have to do to update CC desktop manager. At least it takes far less time and far less aggravation than speaking with an Adobe rep and consuming hours of your valuable time while trying to meet crushing deadlines. Maybe one day Adobe will fix this in addition to the problems they recently had where hackers breached their servers and stole gobs of data about users, passwords and accounts.
    Adobe....if you are listening or monitoring this forum.....you really, really, really, need to fix this problem - you are the ones setting the expectations and offering this service. When a company can't meet the expectations they set you serve only to damage your brand!

  • Updating table with Modified date/time when updating any row

    Hi guys,
    What I am trying to do is this. I have a several rows in my table, alongwith the field 'Modified_date'. I want to insert a modified_date if and when I update the row in the table. Here's my code, but it's not working:
    PROCEDURE ip_maint_save (p_submit IN VARCHAR2 DEFAULT NULL ,
    p_user_no IN varchar_array_type,
    p_user_id IN varchar_array_type,
    p_ip_first IN varchar_array_type,
    p_ip_last IN varchar_array_type,
    p_user_type IN varchar_array_type,
    p_user_language IN varchar_array_type,
    p_blue_jays IN varchar_array_type,
    p_created_by IN varchar_array_type,
    p_modified_by IN varchar_array_type,
    p_modified_date IN DATE := SYSDATE
    IS
    v_count_rec PLS_INTEGER := 0;
    BEGIN
    FOR i IN NVL (p_user_no.FIRST, 1) .. NVL (p_user_no.LAST, 0) LOOP
    IF p_user_id (i) IS NOT NULL THEN
    BEGIN
    UPDATE IP_MAP
    SET IP_FIRST = p_ip_first (i),
    IP_LAST = p_ip_last (i),
    USER_ID = p_user_id (i),
    USER_TYPE = p_user_type (i),
    USER_language = p_user_language (i),
    IP_FIRST_number = Mr_Ip_Maint.ip_to_number (p_ip_first (i)),
    IP_LAST_number = Mr_Ip_Maint.ip_to_number (p_ip_last (i)),
    MODIFIED_DATE = p_modified_date (i)
    WHERE USER_NO = p_user_no (i);
    .....rest of the code/exceptions follow....
    It's not working. Although, I am able to update a row, but it's not inserting/updating the modified_date field in the table for which the row is updated.
    Thanks in advance.

    Hi,
    As per my understanding, you are passing many values at a time to be updated using varchar_array_type type. In such scenario if your User_no is 100,101,102 all are being looped and the table is updated. But where are you checking the updated field or on what bases you will come to know that this particular field is updated.
    I will suggest you to use before update triggers. As in triggers you can check the rows old and new value and then set sysdate for modified_date column.
    Something like this,
    create or replace trigger trg_IP_MAP on IP_MAP
    before update
    For Each Row
    Begin
         If (:OLD.IP_FIRST != :NEW.IP_FIRST  OR
              :OLD.IP_LAST != :NEW.USER_ID OR
              :OLD.USER_TYPE != :NEW.USER_TYPE OR
              :OLD.USER_language != :NEW.USER_language OR
              :OLD.IP_FIRST_number !=:NEW.IP_FIRST_number OR
              :OLD.IP_LAST_number != :NEW.IP_LAST_number) THEN
                   :NEW.MODIFIED_DATE = SYSDATE
         END IF;
    END;Twinkle

  • Why am I getting an error code 410 when updating to Android 5.1?

    My Samsung Galaxy S5 has tried twice now to upgrade from 5.0 to 5.1 (G900VVRU1BOC4).  Both times I get a message that the update failed.  When I check the update log it says the update failed with error code 410.  What can I do to install this upgrade that hopefully will resolve some of the 5.0 issues I've seen discussed in other threads.

    Hello tschuss!
    I'm so sorry to hear that your update has not successfully completed! I can certainly help to point you in the right direction. Click the link to access the Software Upgrade Assistant, which will provide instructions for how to complete the update if it has failed. http://www.verizonwireless.com/support/knowledge-base-80200/
    MichelleH_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

Maybe you are looking for