Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdpii\tdpii_reppit007.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>Configuring Materialized View Logs at the Master Site</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="Configuring Materialized View Logs at the Master Site" /> <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_reppit006.htm" title="Previous" type="text/html" /> <link rel="next" href="tdpii_reppit008.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_reppit006.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpii_reppit008.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDCDIAG" name="CHDCDIAG"></a><a id="TDPII106" name="TDPII106"></a></p> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h1>Configuring Materialized View Logs at the Master Site<a id="sthref421" name="sthref421"></a><a id="sthref422" name="sthref422"></a></h1> <a name="BEGIN" id="BEGIN"></a> <p>To enable fast refresh of a materialized view, configure a materialized view log for its master table at the master site. A fast refresh is more efficient than a complete refresh, because it updates only rows that have changed since the last refresh. See <a href="tdpii_reppit003.htm#BEHBEBJA">"About Materialized View Refresh"</a> for more information.</p> <p class="orderedlisttitle">To configure materialized view logs: </p> <ol> <li> <p>In Oracle Enterprise Manager, log in to the master site as an administrative user, such as <code>SYSTEM</code>.</p> </li> <li><a id="CHDJJJEJ" name="CHDJJJEJ"></a> <p>Go to the Database Home page.</p> </li> <li> <p>Click <span class="bold">Data Movement</span> to open the Data Movement subpage.</p> </li> <li> <p>Click <span class="bold">Setup</span> in the Advanced Replication section.</p> </li> <li><a id="CHDCGICA" name="CHDCGICA"></a> <p>On the Advanced Replication: Setup page, expand <span class="bold">Updateable Materialized View Replication</span>.</p> </li> <li> <p>Select <span class="bold">Create Materialized View log on source database tables for fast refresh</span>.</p> </li> <li> <p>Click <img src="shortcut.png" alt="callback" border="0" /><a href="javascript:void(0);" onclick="redirectEMpage('MATERIALIZED_VIEW_LOG_CREATE');"><span class="bold">Continue</span></a> to open the Create Materialized View Log page.</p> </li> <li><a id="CHDJAGDB" name="CHDJAGDB"></a> <p>Enter the schema name and table name for the master table in the form <code><span class="codeinlineitalic">schema.table</span></code> in the Schema.Table field, or click the flashlight icon to find the table.</p> </li> <li> <p>Click <span class="bold">Populate Columns</span>.</p> </li> <li> <p>If you have a specific tablespace for the materialized view log you are creating, then enter the tablespace name in the Tablespace field. Otherwise, leave <code><Default></code> in the field.</p> </li> <li> <p>Ensure that <span class="bold">Primary Key</span> is selected in Refresh Types.</p> </li> <li><a id="CHDCABJG" name="CHDCABJG"></a> <p>Click <span class="bold">OK</span> to create the materialized view log.</p> </li> <li> <p>Repeat Steps <a href="#CHDCGICA">5</a> through <a href="#CHDCABJG">12</a> for each master table.</p> </li> </ol> <div class="helpinfonote"> <p><span class="bold">Note: </span>You can also use the <a href="javascript:open('http://www.oracle.com/pls/db112/lookup?id=SQLRF01303','newWindow').focus()"><code>CREATE</code> <code>MATERIALIZED</code> <code>VIEW</code> <code>LOG</code></a> SQL statement to create a materialized view log.</p> </div> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdpii_reppit003.htm#BEHBEBJA">About Materialized View Refresh</a></p> <p><a href="tdpii_adpit015.htm#BABEDAHG">Viewing Materialized View Logs at a Master Site</a></p> <p><a href="tdpii_adpit019.htm#BABCGIBA">Preventing Materialized View Logs From Becoming Too Large</a></p> <p><a href="tdpii_adpit007.htm#BABHFCEE">Tutorial: Cleaning Up Materialized View Support at a Master Site</a></p> </div> </div> <!-- class="sect1" --> <!-- 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_reppit006.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpii_reppit008.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