Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdpii\tdpii_adcont025.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Displaying the Configured Update Conflict Handlers</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1.1 Build 005" /> <meta name="date" content="2009-06-04T17:1:2Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Displaying the Configured Update Conflict Handlers" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10703-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="tdpii_adcont024.htm" title="Previous" type="text/html" /> <link rel="next" href="tdpii_adcont026.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="tdpii_adcont024.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpii_adcont026.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDCBHGC" name="CHDCBHGC"></a><a id="TDPII159" name="TDPII159"></a></p> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h1>Displaying the Configured Update Conflict Handlers<a id="sthref331" name="sthref331"></a><a id="sthref332" name="sthref332"></a><a id="sthref333" name="sthref333"></a><a id="sthref334" name="sthref334"></a></h1> <a name="BEGIN" id="BEGIN"></a> <p>In a replication environment, update conflict handlers automatically resolve conflicts that occur when the same row is updated at two different databases at nearly the same time. You can use the <a href="javascript:open('http://www.oracle.com/pls/db112/lookup?id=REFRN20006','newWindow').focus()"><code>ALL_APPLY_CONFLICT_COLUMNS</code></a> data dictionary view to list the update conflict handlers.</p> <p class="orderedlisttitle">To display the configured update conflict handlers: </p> <ol> <li> <p>Open SQL*Plus and connect to the database as the Oracle Streams administrator.</p> <p>See <a href="topicid:ADMQS0361">Starting SQL*Plus and Connecting to the Database</a> for more information about starting SQL*Plus.</p> </li> <li> <p>Run the following query:</p> <pre xml:space="preserve" class="oac_no_warn"> COLUMN OBJECT_OWNER HEADING 'Table|Owner' FORMAT A5 COLUMN OBJECT_NAME HEADING 'Table Name' FORMAT A12 COLUMN METHOD_NAME HEADING 'Method' FORMAT A12 COLUMN RESOLUTION_COLUMN HEADING 'Resolution|Column' FORMAT A13 COLUMN COLUMN_NAME HEADING 'Column Name' FORMAT A30 SELECT OBJECT_OWNER, OBJECT_NAME, METHOD_NAME, RESOLUTION_COLUMN, COLUMN_NAME FROM ALL_APPLY_CONFLICT_COLUMNS ORDER BY OBJECT_OWNER, OBJECT_NAME, RESOLUTION_COLUMN; </pre> <p>The output will be similar to the following:</p> <pre xml:space="preserve" class="oac_no_warn"> <span class="bold">Table Resolution</span> <span class="bold">Owner Table Name Method Column Column Name</span> <span class="bold">----- ------------ ------------ ------------- ------------------------------</span> <span class="bold">HR COUNTRIES MAXIMUM TIME TIME</span> <span class="bold">HR COUNTRIES MAXIMUM TIME REGION_ID</span> <span class="bold">HR COUNTRIES MAXIMUM TIME COUNTRY_NAME</span> <span class="bold">HR DEPARTMENTS MAXIMUM TIME TIME</span> <span class="bold">HR DEPARTMENTS MAXIMUM TIME MANAGER_ID</span> <span class="bold">HR DEPARTMENTS MAXIMUM TIME LOCATION_ID</span> <span class="bold">HR DEPARTMENTS MAXIMUM TIME DEPARTMENT_NAME</span> </pre> <p>The output in this example shows that latest time conflict resolution is configured for the <code>hr.countries</code> and <code>hr.departments</code> tables. When a conflict occurs for any column listed under <code>Column</code> <code>Name</code>, the change with the maximum, or latest, time in the <code>TIME</code> resolution column is used, and the other change is discarded.</p> </li> </ol> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdpii_repcont010.htm#BABGAACC">About Conflicts and Conflict Resolution</a></p> <p><a href="tdpii_repcont025.htm#CIHIACBB">Tutorial: Configuring Latest Time Conflict Resolution for a Table</a></p> <p><a href="tdpii_adcont021.htm#CHDBJIHG">Monitoring Apply Processes</a></p> </div> </div> <!-- class="sect3" --> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="tdpii_adcont024.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpii_adcont026.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de