SQL Remote "conflict resolution"

We have a consolidated database with 5 remotes attached. Unfortunately we are getting cases where the consolidated database decides that it knows better and sends transactions to a remote, undoing updates that the remote has just sent.
I can't even say that this is an update conflict. It seems to be a timing issue where the Verify clause on an update from the remote doesn't match what the consolidated has so it sends a correction, and then applies the update as received. The net result is the remote now has incorrect data and the consolidated has the correct picture.
I know we can put triggers on every column of every table (yawn!) but I wouldn't know what to code for this instance. Is there a setting somewhere where the consolidated can be told to accept updates from the remotes and not try to correct them.
Thanks, Paul

This comment confuses me :
It's not really an update conflict.  As I said it seems that the consolidated checks the verify clause and sends back column updates.
You say it's not really an update conflict, but then go on to describe exactly how the database engine detects update conflicts, and exactly what the result of detecting an update conflict would be.  What you have is an update conflict.
There isn't an easy option to disable conflict resolution because it is an integral part of SQL Remote.  I can imagine a hack that might be able to turn it off, but it's not something I've ever tried or been asked to do, and I've been supporting SQL Remote since 1997 and I've been the only engineering resource for SQL Remote for roughly 10 years.  I also don't want you to turn off conflict resolution, since I believe it will do more harm than good.  Using a car analogy, it's like you've come into the dealership complaining that your brakes are making an unbearably loud noise when you use them, and asking the dealership to remove the brakes from your car as opposed to figuring out what is making the noise.
If you believe that messages are being applied out of order, I'd rather look into that problem.  That shouldn't happen, and I'd like to see the SQL Remote logs that led you to this conclusion and see what going on.
Reg

Similar Messages

  • Access List and Conflict Resolution Problem!

    My configuration for Allow and Deny is not allowing me to load images and CSS files through the gateway on a URLScraper channel.
    I'm trying to figure out how to control access to resources using the Access List service, and I'm running into trouble. The Sun ONE Portal Server, Secure Remote Access 6.0 Administrator's Guide (Doc 816-6421-10) states:
    Setting the Conflict Resolution Level
    You can set the priority level for the dynamic attributes. If a user inherits multiple attribute templates, say from an organization and a role assignment, and there is a template conflict between the attributes in the two templates, the template with the highest priority is inherited. There are seven settings available ranging from Highest to Lowest.
    See the Administration Guide, iPlanet Directory Server Access Management Edition for more details on conflict resolution.
    Unfortunately the referenced Adminstration Guide for DSAME contains exactly 0 occurances of the word "conflict" in its 136 pages, so that reference was less than helpful. Chapter 17 of that document (Doc 816-5620-10) describes URL Policy Agent Attributes, which sheds some light on what the URL Deny and URL Allow settings mean. The key sentence is, "An empty Deny list will allow only those resources that are allowed by the Allow list."
    So, I've set up my Access List services as follows:
    o URL Deny is blank on all Access Lists
    o URL Allow set as follows
    ---- isp
    ------- http://portal.acme.com/portal/* (company name changed to protect the guilty!)
    ---- acme.com organization
    ------- Conflict Resolution: Highest
    ------- http://portal.acme.com/portal/* (same as above)
    ---- Acme Customers Role - shared role for all Acme customers
    ------- Conflict Resolution: Medium
    ------- http://www.acme.com/*
    ------- http://support.acme.com/*
    ------- http://support2.acme.com/*
    ---- RoadRunner role - specific role for a specific customer
    ------- Conflict Resolution: Medium
    ------- http://roadrunnerinfo.acme.com/*
    The Desktop services in each of the above two roles includes channels from the hosts in the URL Allow lists.
    The behavior I'm seeing with this configuration is that the desktop channels include information from the scraped HTML, and the URLs are rewritten for the included images and CSS files and such. However, the gateway is denying access to the images referenced by the rewritten URL. That is, an image with a URL of https://portal.acme.com/http://roadrunnerinfo.acme.com/images/green.gif shows up as a broken image on the desktop. Attempting to access the URL to the image directly results in an "Access to this resource is denied !! Contact your administrator" error message.
    If I set the conflict resolution on the acme.corp organization to Medium (or anything lower than the two role conflict resolution levels) results in the same error message as soon as the customer logs in (no desktop rendered). The same error occurs if I set the conflict resolution in the two roles to Highest (same as the top level organization), again with no desktop rendered on login.
    If I put all the above referenced URLs in the acme.com organization Access List service, then I am successfully able to fetch all the resources (images, CSS, etc.) in the URLScraper HTML. Likewise if I put "*" in that Access List. However, this is less than ideal, as it would potentially allow other customers to view data that isn't theirs (Wile E. Coyote user should not be able to get to Road Runner data, and vice versa, and neither one of them should get at Acme private information!).
    So, what am I doing wrong? Also, does anyone have any leads on where I can read up on how Access Lists and conflict resolution are supposed to work, since Sun neglected to include a valid reference in the Administrator's Guide, Portal Server 6.0 SRA?
    Thanks!
    -matt

    Did you ever get anywhere with this. My experiments seem to inidicate that you cannot successfully combine Access and Deny directives, across roles or organizational defaults and a role.

  • Conflict resolution manager having which spid at the database server.

    Folks,
    I've come across a situation where in one of the
    1.SID was generating high redo SID - 1098 .
    2.when i checked what this sid was doing - i figure out that it belongs to a report set, still having the sid at the database server.
    3.The client process id(12041) of thie SID(1098) is shown as the spid shown in the system column at system administrator --> concurrent manager --> Administer --> Highlight conflict resolution manager --> click processes.
    4. I understand that we need to grep for the osporcess "ps" using spid and not using "client process id" (process from v$session). Please clarify.
    5.when I grep for 10241 it is indeed pointing to CRM process. but when I query for spid (12055) associated with sid (1098) it points to a Reports set which completed error and generating some kind of redo ( which triggered all the above questions).
    6.Now the question is should we be checking for SPID (120550) associated with SID(1098) which says (LOCAL=NO) and safe to kill. as the status of the SID says inactive, though the last_call_et is just showing 1.
    Thanks in advance.

    Run the queries in these docs to determine the database session details of a running concurrent program.
    bde_request.sql - Process and Session info for one Concurrent Request (11.5) [ID 187504.1]
    How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running. [ID 735119.1]
    How to Retrieve SID Information For a Running Request [ID 280391.1]
    If the request has completed and you suspect the database sessions is still active, edit the query and correct the status of the request (from running to completed).
    Thanks,
    Hussein

  • Conflict Resolution Manager  failed to start

    Sawwan,
    When ever i amt rying to start MT except CRM all other concurrent managers are starting, Here is error information.
    Application Object Library: Concurrent Processing version 11.5
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    Server concurrent manager started (NODE=ORAAPP11) : 24-DEC-2009 16:35:02
    Conflict Resolution Manager started with concurrent process id 320104
    ORA-04098: trigger 'APPS.OBTPA_FND_CONCURRENT_PROGRAMT2' is invalid and failed re-validation
    update fnd_concurrent_programs set iprog_id=0 where application_id> -1 and concurrent_program_id> -1
    An error occurred in routine rxcrm_iprog_init.
    ~
    When i checked 'APPS.OBTPA_FND_CONCURRENT_PROGRAMT2' is invalid, what is the relation b/w CRM and Object.
    SQL> select object_name,status,owner from dba_objects where object_name like 'OBTPA_FND_CONCURRENT%';
    OBJECT_NAME STATUS OWNER
    OBTPA_FND_CONCURRENT_PROGRAMT2 INVALID APPS
    OBTPA_FND_CONCURRENT_PROGRAM_T INVALID APPS
    SQL> col owner for a10
    SQL> col object_type for a10
    SQL> select object_name,status,owner,object_type from dba_objects where object_name like 'OBTPA_FND_CONCURRENT%';
    OBJECT_NAME STATUS OWNER OBJECT_TYP
    OBTPA_FND_CONCURRENT_PROGRAMT2 INVALID APPS TRIGGER
    OBTPA_FND_CONCURRENT_PROGRAM_T INVALID APPS TRIGGER
    SQL> show user
    USER is "APPS"
    SQL> alter trigger APPS.OBTPA_FND_CONCURRENT_PROGRAMT2 compile;
    SQL> show errors
    No errors.
    SQL> set long 1000000
    SQL> set pages 1000
    SQL> /
    DBMS_METADATA.GET_DDL('TRIGGER','OBTPA_FND_CONCURRENT_PROGRAMT2','APPS')
    CREATE OR REPLACE TRIGGER "APPS"."OBTPA_FND_CONCURRENT_PROGRAMT2"
    AFTER UPDATE OR DELETE
    ON fnd_concurrent_programs
    FOR EACH ROW
    DECLARE
    v_chk_flag varchar2(1) := 'N';
    begin
    if (:old.enabled_flag <> :new.enabled_flag and :new.enabled_flag='Y' ) t
    hen
    select 'Y' into v_chk_flag
    from obtpa_unwrapped_conc_programs
    where application_id = :new.application_id
    and conc_prog_short_name = :new.concurrent_program_name
    and active_flag = 'Y';
    if v_chk_flag='Y' then
    raise_application_error(-20000,'Please contact OuterBay, not allowd t
    o enable these concurrent programs...');
    end if;
    end if;
    exception
    when no_data_found then
    v_chk_flag := 'N';
    end;
    ALTER TRIGGER "APPS"."OBTPA_FND_CONCURRENT_PROGRAMT2" ENABLE
    SQL> l
    1* select dbms_metadata.get_ddl('TRIGGER','OBTPA_FND_CONCURRENT_PROGRAM_T','APPS') from dual
    SQL>
    SQL> select dbms_metadata.get_ddl('TRIGGER','OBTPA_FND_CONCURRENT_PROGRAM_T','APPS') from dual;
    DBMS_METADATA.GET_DDL('TRIGGER','OBTPA_FND_CONCURRENT_PROGRAM_T','APPS')
    CREATE OR REPLACE TRIGGER "APPS"."OBTPA_FND_CONCURRENT_PROGRAM_T"
    AFTER UPDATE OR DELETE
    ON fnd_concurrent_programs
    FOR EACH ROW
    DECLARE
    l_is_purge_program integer;
    l_executable_id number;
    l_application_id number;
    l_executable_name varchar2(30);
    l_application_sn varchar2(30);
    BEGIN
    if (
    (:new.EXECUTABLE_ID||'_'||:new.EXECUTABLE_APPLICATION_ID) =
    (:old.EXECUTABLE_ID||'_'||:old.EXECUTABLE_APPLICATION_ID)
    ) then
    return;
    end if;
    -- the executable is being changed. Need to make sure it is
    -- not one of the purge and archiver executables.
    l_executable_name := obtpa_oa_constants.g_wrapper_executable_name;
    l_application_sn := obtpa_oa_constants.g_obtpa_apps_short_name;
    SELECT e.executable_id,
    e.application_id
    INTO l_executable_id,
    l_application_id
    FROM fnd_executables e,
    fnd_application a
    WHERE a.application_id = e.application_id
    AND a.application_short_name = l_application_sn
    AND executable_name = l_executable_name;
    IF (
    (:new.EXECUTABLE_ID||'_'||:new.EXECUTABLE_APPLICATION_ID) !=
    (l_executable_id||'_'||l_application_id)
    ) then
    select count(*)
    into l_is_purge_program
    from obtpa_purges
    where ORIG_CONC_APPL_ID = :old.application_id
    and ORIG_CONC_PROG_ID = :old.concurrent_program_id
    and PURGE_TYPE != 'REFERENCE';
    IF l_is_purge_program != 0 THEN
    raise_application_error(-20000,
    'Error: Special procedure required to update OBT Purge programs');
    END IF;
    end if;
    END;
    ALTER TRIGGER "APPS"."OBTPA_FND_CONCURRENT_PROGRAM_T" ENABLE
    SQL>
    SQL> ALTER TRIGGER "APPS"."OBTPA_FND_CONCURRENT_PROGRAM_T" ENABLE;
    Trigger altered.
    SQL> ALTER TRIGGER "APPS"."OBTPA_FND_CONCURRENT_PROGRAMT2" ENABLE;
    Trigger altered.
    SQL> exit
    ========================================================
    SQL> alter trigger APPS.OBTPA_FND_CONCURRENT_PROGRAMT2 compile;
    Warning: Trigger altered with compilation errors.
    SQL> show error
    Errors for TRIGGER APPS.OBTPA_FND_CONCURRENT_PROGRAMT2:
    LINE/COL ERROR
    5/13 PL/SQL: SQL Statement ignored
    6/18 PL/SQL: ORA-04045: errors during recompilation/revalidation of
    APPS.OBTPA_UNWRAPPED_CONC_PROGRAMS
    ORA-00980: synonym translation is no longer valid
    SQL>
    select object_name,owner,object_type,status from dba_objects where object_name in ('OBTPA_UNWRAPPED_CONC_PROGRAMS');

    SQL> select owner, object_type, object_name from dba_objects where
    status = 'INVALID' and object_name in (select referenced_name
    from dba_dependencies where name = 'OBTPA_UNWRAPPED_CONC_PROGRAMS'); 2 3
    OWNER OBJECT_TYPE
    OBJECT_NAME
    APPS SYNONYM
    OBTPA_UNWRAPPED_CONC_PROGRAMS
    GBLAPPS SYNONYM
    OBTPA_UNWRAPPED_CONC_PROGRAMS

  • Hot Synch Manager Settings (Conflict Resolution​)

    Hello,
    I synch an office desktop and a home desktop with one Palm Z22.  I have had a lot of problems with duplicate appointments !  How should I configure the Hot Sync Manager settings?  I have the conduits (calendar, note pad, etc. ) set on "synchonize the files".  But when I click on "change" and then "settings", I'm brought to the option of "Conflict Resolution" and the choices are duplicate, Outlook wins, Handheld wins, or ignore.  Which should I choose if I want to avoid duplicate appointments ?
    Thank you.
    Nancy
    Post relates to: Zire
    This question was solved.
    View Solution.

    Yes, that's what I'd set it to.  You want the information to flow in only one direction on the slave computer.   Handheld --> computer.
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Conflict resolution including the CRT DUMMYfor Add-On ST-SER rel.700_2007_1

    Dear all,
    Environment  #    32 bit win2k3, SAP   & Orc with 10.2.0.2.0
    We are in process of applying suport packs for Solution manager 7.0,  SAPKITL25 is finished
    When applying SAPKITL26 with  SAPKB70015, SAPKA70015 I am gettign the following CRT is required
    ST-SER rel.700_2007_1 .
    I did this add-on & applied support packs for this component ST-SER rel.700_2007_1 - 1,2
    &  tried  SAPKITL26 with  SAPKB70015, SAPKA70015 again but the error repeats . What is the last support pack in 32 BIT sap system fo Solution manager.
    Error -
    Phase ADDON_CONFLICTS_?: Explanation of Errors
    onflicts were found between the Support Packages that you want to
    mport and the Add-Ons installed in the system. To guarantee the
    onsistency of your system, the import is interrupted until all Conflict
    esolution Transports (CRTs) for the listed Support Packages are
    ncluded in the queue.
    o include the CRTs in the queue, proceed as follows:
    Write down the Support Packages and Add-Ons that have conflicts.
    Leave this screen by choosing 'Cancel' (F12).
    Load the CRTs for the Support Packages with conflicts from the SAP
    Service Marketplace or request them from your Add-On supplier.
    Define the extended queue again in the Support Package Manager.
    Import the queue. The Support Package Manager executes all steps from
    the beginning.
    f the problem involves an SAP Add-On, see SAP Note 53902, which tells
    ou which CRTs resolve the conflicts. Otherwise contact the supplier of
    our Add-On for details on how to proceed.
    he following contains a table of Support Packages for each Add-On for
    hich conflicts were detected. The column 'Information on the Conflict
    esolution' specifies how you can resolve a conflict. For more
    nformation, select the corresponding 'Information for the Conflict
    esolution'.
    onflicts Between Add-On ST-SER 700_2007_1 and Support Packages
    omponent    Release      Support Package        Information on
                                                    Conflict Resolution
    T           400          SAPKITL426             CRT: DUMMY
    Is this a known error or how to overcome this & clues on the following..
    -Rahul

    Dear Sunny,
    I went through the sap notes & found that i need to download ST-SER 700_2008_1.
    SAP Solution Manager 7.0 (Software component ST 400)
    ST 400 SP16 (SAPKITL426)
    With SP16 (SAPKITL426) SAP strictly recommends to upgrade your ST-SER tothe release 700_2008_1 or higher. Therefore use transaction SAINT instead of transaction SPAM to patch your system to SAP Solution Manager 7.0. If you try to patch your system via SPAM and your ST-SER release is 700_2007_1 or less you will receive one of the following information within SPAM during phase ADDON_CONFLICTS_?:
                        a) Conflicts Between Add-On ST-SER 700_2005_2 and Support Packages SAPKITL426 Include CRT
                        b) Conflicts Between Add-On ST-SER 700_2006_1 and Support Packages SAPKITL426 Include CRT
                        c) Conflicts Between Add-On ST-SER 700_2006_2 and Support Packages SAPKITL426 Include CRT
                        c) Conflicts Between Add-On ST-SER 700_2007_1 and Support Packages SAPKITL426 Include CRT
                        *Please be aware there is no physical Conflict Resolution Transport (CRT) available to solve this conflict (it is not planned to provide such a CRT). You have to patch your system via SAINT not via SPAM:*
                        1. Delete your SPAM-QUEUE by pressing the Display/Define button within SPAM.
                        2. Download all ST-SER Delta-Upgrade packages from the Software Download Center into your EPS-Inbox.
                        3. Call transaction SAINT and press Start button.
                        4. Select ST-SER 700_2008_1 or higher and press Continue button
                        All neccessary component packages will automatically be included into a valid SAINT-queue
    but  ST-SER 700_2008_1 not available to download & also noticed there are no manual CRT's
    how should i manage to patch system with ST-SER 700_2008_1 when it is not availble to download
    Thanks & regards,
    rahul

  • Where do I set up rules for conflict resolution when syncing iTunes with Outlook?

    I just got an iPhone 5 and I'm coming from a Blackberry.  I've been syncing Outlook Calendar and Contacts to a portable device for over 10 years, even back in the day of the pocket pc and more recently the Blackberry.  My iPhone 5 syncs great and seemlessly with Outlook using iTunes.  I've had no issues as of yet.  The problem for me is, it just seems "too" easy.  I didn't see anywhere where I could set rules for conflict resolutions.  For example, if your pc says one thing but your iPhone says another, who wins and supercedes the other?  What if by accident your iPhone loses all of its data, then iTunes syncs with your pc - will it delete all the Outlook data on your pc because it thinks it's syncing with updated data from your iPhone?  (in my case data I've had for over 10 years) 
    With the Blackberry software it asked you to set up rules for conflict resolution when first connecting the phone (including an option to ask you first).  In my case, I chose to have it ask me whenever it discovered a conflict.  So whenever I synced, it specifically alerted me exactly how many items are being synced, and then if there were any conflicts, it'd stop and then ask me which device I want to supercede the other.  This gave me a lot of piece of mind.  Now after getting my iPhone and using iTunes to sync, it's been great so far but I have to say that I don't have as much piece of mind.  Does anyone have any feedback on how to set up conflict resolution with iTunes and Outlook or does it not exist at all?  Again, what would happen if there was a conflict between the two devices? 

    Yes! Thankyou for that. I had of course put the context.xml file in the web-inf directory.
    I followed your example to the letter and it still wouldn't work. Or rather, I followed to the letter expect for the difference between "WEB" and "META".
    Once I worked that out, it started working like a dream.
    Note to anyone else who has a similar problem, make sure you REALLY look at the answer given. Make sure you REALLY do have all the files in the suggested places. It will save you time.
    Thanks again.

  • Help in config. of Site priority conflict resolution method

    Hi,
    I am testing Materialized View Replication (one master site and one MV site) .To resolve
    conflict I employ Site Priority Conflict Resolution Method but I am not able to insert or update the records. I am getting transaction error while I insert or update the records.
    This is my conflict resolution script i used Please help me out.
    CONNECT repuser/[email protected]
    BEGIN DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY (gname => 'rep_repg');END;/
    BEGIN
    DBMS_REPCAT.ALTER_MASTER_REPOBJECT (sname => 'repuser',
    oname => 'Name',type => 'TABLE',ddl_text => 'ALTER TABLE repuser.Name ADD (site VARCHAR2(20))');END;/
    BEGIN
    DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT (sname => 'repuser',oname => 'name',type => 'TABLE',
    min_communication => TRUE);END;/
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPOBJECT (gname => 'rep_repg',
    type => 'TRIGGER',oname => 'insert_site',sname => 'repuser',ddl_text => 'CREATE TRIGGER repuser.insert_site
    BEFORE UPDATE ON repuser.name FOR EACH ROW
    BEGIN
    IF DBMS_REPUTIL.FROM_REMOTE = FALSE THEN
    SELECT global_name INTO :NEW.SITE FROM GLOBAL_NAME;
    END IF;END;');END;/
    BEGIN
    DBMS_REPCAT.MAKE_COLUMN_GROUP (sname => 'repuser',
    oname => 'Name',column_group => 'name_sitepriority_cg',
    list_of_column_names => 'S_NO,FIRSTNAME,LASTNAME,site');
    END;/
    BEGIN
    DBMS_REPCAT.DEFINE_SITE_PRIORITY (gname => 'rep_repg',
    name => 'name_sitepriority_pg');END;/
    BEGIN
    DBMS_REPCAT.ADD_SITE_PRIORITY_SITE (gname => 'rep_repg',
    name => 'name_sitepriority_pg',site => 'orcl.world',
    priority => 100);END;/
    BEGIN
    DBMS_REPCAT.ADD_SITE_PRIORITY_SITE (gname => 'rep_repg',
    name => 'name_sitepriority_pg',site => 'mvsite1.world',
    priority => 50);END;/
    BEGIN
    DBMS_REPCAT.ADD_UPDATE_RESOLUTION (sname => 'repuser',
    oname => 'Name',column_group => 'name_sitepriority_cg',
    sequence_no => 1,method => 'SITE PRIORITY',
    parameter_column_name => 'site',
    priority_group => 'name_sitepriority_pg');END;/
    BEGIN
    DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT (sname => 'repuser',oname => 'Name',type => 'TABLE', min_communication => TRUE);END;/
    BEGIN
    DBMS_REPCAT.RESUME_MASTER_ACTIVITY (
    gname => 'rep_repg');END;/

    Hi,
    I am testing Materialized View Replication (one master site and one MV site) .To resolve
    conflict I employ Site Priority Conflict Resolution Method but I am not able to insert or update the records. I am getting transaction error while I insert or update the records.
    This is my conflict resolution script i used Please help me out.
    CONNECT repuser/[email protected]
    BEGIN DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY (gname => 'rep_repg');END;/
    BEGIN
    DBMS_REPCAT.ALTER_MASTER_REPOBJECT (sname => 'repuser',
    oname => 'Name',type => 'TABLE',ddl_text => 'ALTER TABLE repuser.Name ADD (site VARCHAR2(20))');END;/
    BEGIN
    DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT (sname => 'repuser',oname => 'name',type => 'TABLE',
    min_communication => TRUE);END;/
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPOBJECT (gname => 'rep_repg',
    type => 'TRIGGER',oname => 'insert_site',sname => 'repuser',ddl_text => 'CREATE TRIGGER repuser.insert_site
    BEFORE UPDATE ON repuser.name FOR EACH ROW
    BEGIN
    IF DBMS_REPUTIL.FROM_REMOTE = FALSE THEN
    SELECT global_name INTO :NEW.SITE FROM GLOBAL_NAME;
    END IF;END;');END;/
    BEGIN
    DBMS_REPCAT.MAKE_COLUMN_GROUP (sname => 'repuser',
    oname => 'Name',column_group => 'name_sitepriority_cg',
    list_of_column_names => 'S_NO,FIRSTNAME,LASTNAME,site');
    END;/
    BEGIN
    DBMS_REPCAT.DEFINE_SITE_PRIORITY (gname => 'rep_repg',
    name => 'name_sitepriority_pg');END;/
    BEGIN
    DBMS_REPCAT.ADD_SITE_PRIORITY_SITE (gname => 'rep_repg',
    name => 'name_sitepriority_pg',site => 'orcl.world',
    priority => 100);END;/
    BEGIN
    DBMS_REPCAT.ADD_SITE_PRIORITY_SITE (gname => 'rep_repg',
    name => 'name_sitepriority_pg',site => 'mvsite1.world',
    priority => 50);END;/
    BEGIN
    DBMS_REPCAT.ADD_UPDATE_RESOLUTION (sname => 'repuser',
    oname => 'Name',column_group => 'name_sitepriority_cg',
    sequence_no => 1,method => 'SITE PRIORITY',
    parameter_column_name => 'site',
    priority_group => 'name_sitepriority_pg');END;/
    BEGIN
    DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT (sname => 'repuser',oname => 'Name',type => 'TABLE', min_communication => TRUE);END;/
    BEGIN
    DBMS_REPCAT.RESUME_MASTER_ACTIVITY (
    gname => 'rep_repg');END;/

  • How to query the conflict resolution actually implemente

    Hi all.
    Can anyone tell me an easy way to report the conflict resolution procedures that a replicated object has implemented?
    How do I know if a table has for example, site priority resolution and how it is done?
    In general, is there a script to report all the replication configuration being used?
    Thank you.

    Assuming you are referring to Streams, you can download a Streams health check script at My Oracle Support (be sure to get the correct version, they cover 10gR1, R2, 11gR1, and R2). The output of the script will detail all of your rules and rule sets, process names, users, and so on. If you are calling a procedure to deal with conflict resolution, the action on error should reflect your procedure name, as an example.
    If you are referring to GoldenGate, you can look at the appropriate parameter files (typically Replicat for conflict resolution purposes).
    In either case, there is no setting or parameter that tags one source as the primary (or not). That designation is from a coding perspective. This implies that you capture the source of a record so you can evaluate "if error (whatever it is), then use record from source A."

  • No Windows for conflict resolution in Isync

    Hello,
    After a synchro with iSync, I see conflicts. When I try to resolve them.
    The resolve conflit app is launched but i have no windows. To be clear I have not the possibility to resolve conflict because the windows apps do not appears. But I have the app icon launched in the dock.
    Thanks for the help.
    Regards,
    Nicolas

    Hi Prashil,
    Thanks for reply.
    I have the access to DTR. Can you provide any Documentation on this..???
    <b>Whether the Conflict Resolution when Support Packs applied are same as Integration Conflicts..??</b>
    If so, Plz send any documentation on Integration Conflicts, if you have..???
    Plz respond ASAP...
    Thanks||
    Dev..

  • Syncing contacts conflict resolution

    I had given up trying to sync my torch with my MAC. It causes me more trouble and I spend more time trying to correct all the errors than if I were to just manually enter the information twice (once on the phone, once on the computer). I decided to try again and am kicking myself for doing so.
    I had updated contact information for several of my contacts on the phone. When the conflict resolution screen popped up, I chose the information on the phone since that is the current one. Once the sync was completed, I checked the phone and saw that the contact information had been changed back to the old. 
    This is so frustrating. Is anyone else experiencing this issue? Any suggestions or ideas on what I might be doing wrong?

    I use a Mac, so I'm not sure everything works exactly the same in Windows, but here's how I'd do it:
    1. in your address book, create a group for your old contacts
    2. connect your Touch to your computer
    3. select it in the left column of iTunes
    4. click on the Info tab at the top of the right column
    5. under Sync AddressBook Contacts (or whatever your address book is called), click Selected Groups
    6. now check off the groups you do want on your Touch and leave the others unchecked.
    I hope this will work for you! Good luck.

  • Is there a Don'tPassthrough in SQL Remote?

    Hello,
    I've found a couple of records in the consolidated that are out of step with the remote. However the remote has the correct data. Is there a way I can execute some updates on the consolidated database and not have them replicated by SQL Remote? The Passthrough documentation implies that the update could be run on the Remote (which is a couple of thousand miles away) but then how do I prevent the remote database being updated?
    Thanks for any ideas,
    Paul
    Please don't say 'mess with log offsets'  <<shudder>>

    Hi Breck,
    I know everything about the two rows in question, except how they came to be out of sync (in 2008 it would seem). They won't be updated in the normal course of things for the time being, as they are effectively dormant.
    However, the problem is that the value of one column in each of the rows causes them to be included in some "medical tests" from which the people they relate to should be excluded. This happens at the consolidated where the value is incorrect. At the remote that value in the column is correct and the rows are excluded. The table in question records the person's status over time and for audit and legal purposes must accurately reflect the historical changes.
    The goal is to update the the offending column in each of the two rows at the consolidated and not have any replication take place. It did occur to me that I might take the table out of the subscription, update and put it back but that would be tough to manage as we run 24x7.
    We are running SQL Anywhere 12.0.1.3994
    Thanks, Paul

  • How to do Conflict Resolution in Integration Directory - Urgent

    Hi,
         We are having a problem when trying to change some objects in the integration directory.
      Error :
            "The following objects have previous versions that are no longer active.
    Reciever Determination urn:sap-com:document:sap:idoc:messages |  HRMD_A.HRMD_A07 .
      Open these objects in the editor and perform a conflict resolution."
      Could someone please respond with some solution of how to resolve this ??
    Thanks
    Sourav

    2 Different Id's , same question in 10 minutes withing each other ?
    The following objects have previous versions that are no longer active

  • Merge for conflict resolution does not include conflicting changes.

    Hello All
    I am facing some integration conflicts
    When I try to resolve these Integration Conflicts using the merge option, the conflicts are removed,
    however the new activity created for these conflict resolution always includes the changes from the active version only .
    The changes from the conflicting version are lost.
    Could anyone please guide me on this.
    Thanks
    Vikas

    Thanks for linking your Address Book Accounts Basics (with iCloud). And for all your forum contributions - invaluable!
    A possible tip to add is the obscure option key solution to the question: to what groups does the selected contact belong? When the option key is depressed all associated groups are displayed.
    On syncing: is there an Applescript or utility that will audit every linked iCloud account, Mac and iOS device for discrepancies between the Contacts databases? I thinking of the simple case like ours, where we want everything stored in the iCloud Account once-only-once, plus whatever Group-ings are useful. Even better - a script or utility that will force synchronization across all our devices and iCloud?
    Another useful tip might be: here are all the things you must do to achieve simple syncronycity - everything the same everywhere, no private contacts. That is probably what 99.99% of users want, and it is not documented anywhere. Even Joe Kissel's Take Control of iCloud v1.3 doesn't address this.

  • Conflicts resolution methods in Oracle Lite

    Can anyone please provide the answers of the following questions?
    1_What Methods are used for Conflict detection and resolution for concurrent updates by multiple clients in Oracle lite databases?
    2_ Is there any method that extract semantic relation from the concurrent update transactions and create a global update schedule?
    3_ Does oracle lite use conflict avoidance mechanism?
    4_ What replication method is used by Oracle Lite Database?

    In terms of conflict resolution with oracle lite, which end do you mean? conflict resolution in the client database (ie: oracle lite) or on the server side when processing client uploads (this is just a standard oracle database), also not sure what you are trying to achieve
    *1_What Methods are used for Conflict detection and resolution for concurrent updates by multiple clients in Oracle lite databases?*
    I assume in the following that you are talking about dealing with uploads
    Depending on how the publication items are defined, the process is quite different.
    a) fast refresh publication items
    When the client synchronises, the upload data is uploaded as a packed binary file which is then unpacked and inserted into in queue tables in the mobileadmin repsitory (table names begin CFM$ followed by the publication item name). This is the only action that happens during the actual sync process.
    A second and independent process, not linked to the actual synchronisation - the MGP process, runs on the mobile server, and this has three phases - apply, process logs and compose that run one after the other. You can set the MGP to only do the apply phase, or all three.
    during the apply phase the data in the in queue tables for a particular user/transaction will be applied to the server database. Normally the MGP process is set to have three threads (this can be changed, but three is the default), and therefore three client uploads will be processed in parallel, but each of these threads is independant of the others and therefore should be seen as seperate transactions.
    It should be noted that even if you have 50 or 100 users synchronising concurrently, only three upload sets will be processed at any one time, and almost certainly a period of time after the synchronisation has completed (may be many hours depending on the MGP cycle time)
    As each of the apply threads is a seperate transaction, there is no concept of concurrency built in, and the only conflict resolution by default is based on the server wins/client wins setting of the publication item. where multiple users are updating the the same server record with 'client wins', the first user will update the data, and then the next user will update the data (just a repeat of the previous one). NOTE also that in the case of an update, ALL columns in the record are updated, there is no column level update.
    There are customisation options available to provide finer grained control over the apply process, look at the PLSQL callback packages registered against each publication item for beforeapply, afterapply, beforetranapply and aftertranapply, Apply DML procedures against the publication items and also the CUSTOMIZE package at the MGP level
    b) complete refresh publication items
    where the publication as a whole has a mixture of fast and complete refresh publication items, these normally work in the same way as the fast refresh described above. Where however you just have complete refresh items the data MAY be written directly to the server table on upload
    c) queue based publication items
    These work in realtime, rather than with a delay for the MGP process to pick up the data.
    When the user synchronises, the uploaded data is is written to the in queue tables in the same way, but when this is completed, a package (defined as part of the publication definition) is called, and the procedure upload_complete is run passing in the user and transaction identifiers. This package needs to be hand crafted, but you have full control over what and how all of the uploaded data is processed, but again this is a single transaction for that user. If you want to look at other sessions running, you need to find a way to implement this.
    *2_ Is there any method that extract semantic relation from the concurrent update transactions and create a global update schedule?*
    As noted above, the uploads may be processed in parallel, but they are seperate transactions, so no built ins
    *3_ Does oracle lite use conflict avoidance mechanism?*
    Only the basic oracle stuff, unless you use the customisation options to write your own
    *4_ What replication method is used by Oracle Lite Database?*
    The different types of publication items select data from the server database for download in different ways
    a) fast refresh
    change logging tables and triggers are created in the server database. These are scanned during the MGP process logs phase to determine what changes have happened since the last MGP compose, and what publication items they affect. The MGP compose then runs and this uses the same three threads to process the users in alphabetical order using the change keys to populate data in out queue tables (prefixed CMP$) in the repository. These have the PK values for the data, plus a transaction types (insert/update/delete). All the MGP process does is populate these out queue tables.
    When the user synchronises, the data in the out queue tables is used as a key list to extract the data from the actual server tables into a packed binary file, and this is sent to the client.
    b) complete refresh
    there is no pre-preparation in this case, the data is streamed directly from the server database into the packed binary download file
    c) queue based items
    in real time when the user is synchronising after the apply has been done by the uploade_complete procedure, a second procedure download_init is called. Within this you have to code the data extract, and MUST populate tables (you also need to create them) CTM$<publication item name> these are effectively out queue tables, but contain all of the data, not just the PK values. At the end of the procedure, the data is streamed from these into the binary file for download.
    Depending on the definition of your apublication, you could have one or more of the above types (VERY bad idea to mix queue based and fast refresh unless you are very sure about what you are doing) and therefore there may be a mix of different actions happening at different times
    In conclusion i would say that try and send seperate data to clients so that they do not interfere with each other, and for inserts use uniqueue keys or sequences. If you MUST send the same data to different clients for update, then the queue based approach provides the best control, but as it is real time is not as scalable for large data sets.

Maybe you are looking for

  • External Drive: The Disk You Inserted Was Not Readable By This Computer

    I have a 2TB Western Digital external drive that I've been using for a year or two as my backup for my Aperture libraries.  Been working fine until now, I get the "The disk you inserted was not readable by this computer."  Clicking "Initialize" takes

  • Need Javascript code for changing text field color

    Looking for a Javascript code to change the textfield background color and edge color in acrobat?  (without any xfa reference)

  • Webutil Problem - Client_Win_API_Environment function

    Hiya I am facing a peculiar problem. I want to use Webutil's functions in my form. I am calling client_Win_API_Environment.Get_Windows_Version function in my form. But I am getting "FRM-40734: Internal Error: PL/SQL error occurred" message. However i

  • PC00_M40_TERM

    Gurus I am executing termination work bench PC00_M40_CALC and getting below error Pay scale grpg for allowances for 11005198 is not defined on 00.00.0000 Message no. HRPADIN01084 Diagnosis Pay scale grpg for allowances for the employee not defined on

  • Linking error by using oracle11.1.0 OCCI in VS 2008 (Windows 64Bit)

    Hello *, I try to link a simple program in C++ (VS2008, Windows Professional 64 Bit) but I stiill get the LNK2001 error : error LNK2001: unresolved external symbol "public: static void __cdecl oracle::occi::Environment::terminateEnvironment... error