Đang chuẩn bị liên kết để tải về tài liệu:
Oracle Built−in Packages- P144
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Oracle Built−in Packages- P144: Ah, for the good old days of Version 1.0 of PL /SQL! Life was so simple then. No stored procedures or functions and certainly no packages. You had your set of built−in functions, like SUBSTR and TO_DATE. You had the IF statement and various kinds of loops. With these tools at hand, you built your batch−processing scripts for execution in SQL*Plus, and you coded your triggers in SQL*Forms 3.0, and you went home at night content with a good day's work done. | Appendix A What s on the Companion Disk 15.5 DBMS_RECTIFIER_DIFF book index 16. Conflict Resolution Comparing Replicated Tables . Orode PL SQL Orode PL SQL Orode Advonced PL SQL Orode Wei Applications Grade PL SQL Grade PL SQL rar Programming I Programming I Buitin I Programming I PL SQL Developer s I Language I Bait-ins MW Second Edition Guide to Orodeii Features Packages wrrti Packages Introduction Pocket Reference Pocket Reference Copyright c 2000 O Reilly Associates. All rights reserved. 706 Oracle Built-in Packages SEARCH PREVIOUS Chapter 16 NEXT 707 16. Conflict Resolution Contents Getting Started with DBMS_REPCAT Column Groups with DBMS_REPCAT Priority Groups with DBMS_REPCAT Site Priority Groups with DBMS_REPCAT Assigning Resolution Methods with DBMS_REPCAT Monitoring Conflict Resolution with DBMS_REPCAT Conflict resolution is perhaps the most difficult challenge for the administrator of a replicated environment that uses asynchronous replication. A conflict can arise when an insert update or delete to a replicated table occurs at two or more master sites. Oracle detects conflicts at the destination site when attempting to apply the changes. Three different types of conflicts can arise Insert conflicts An inserted row has a primary key that already exists at the destination site. Update conflicts The pre-update data in a row at the originating site does not match the current data at the destination site. Delete conflicts A deleted row does not exist at the destination site. Through the DBMS_REPCAT package Oracle s advanced replication option gives you tools for identifying and resolving conflicts automatically. The goal is to ensure that data at all master sites converges -- that is all rows end up with identical data at all sites. WARNING The procedures described in this chapter are no substitute for careful application and schema design and they can t resolve all conflicts. 16.1 Getting Started with DBMS_REPCAT Use the DBMS_REPCAT package to deal with .