Oracle8i Supplied PL/SQL Packages Reference Release 2 (8.1.6) Part Number A76936-01 |
|
DBMS_REPUTIL, 2 of 2
Subprogram | Description |
---|---|
REPLICATION_OFF Procedure |
Modifies tables without replicating the modifications to any other sites in the replicated environment, or disables row-level replication when using procedural replication. |
REPLICATION_ON Procedure |
Re-enables replication of changes after replication has been temporarily suspended. |
REPLICATION_IS_ON Function |
Determines whether or not replication is running. |
FROM_REMOTE Function |
Returns |
GLOBAL_NAME Function |
Determines the global database name of the local database (the global name is the returned value). |
MAKE_INTERNAL_PKG Procedure |
Synchronizes internal packages and tables in the replication catalog. This procedure is executed under the direction of Oracle Worldwide Support only. |
SYNC_UP_REP Procedure |
Synchronizes internal triggers and tables/snapshots in the replication catalog. This procedure is executed under the direction of Oracle Worldwide Support only. |
This procedure lets you modify tables without replicating the modifications to any other sites in the replicated environment, or disables row-level replication when using procedural replication. In general, you should suspend replication activity for all master groups in your replicated environment before setting this flag.
DBMS_REPUTIL.REPLICATION_OFF();
None
This procedure re-enables replication of changes after replication has been temporarily suspended.
DBMS_REPUTIL.REPLICATION_ON();
None
This function determines whether or not replication is running. A returned value of TRUE
indicates that the generated replication triggers are enabled. A return value of FALSE
indicates that replication is disabled at the current site for the replicated master group.
The returning value of this function is set by calling the REPLICATION_ON
or REPLICATION_OFF
procedures in the DBMS_REPUTIL
package.
DBMS_REPUTIL.REPLICATION_IS_ON() return BOOLEAN;
None
This function returns TRUE
at the beginning of procedures in the internal replication packages, and returns FALSE
at the end of these procedures. You may need to check this function if you have any triggers that could be fired as the result of an update by an internal package.
DBMS_REPUTIL.FROM_REMOTE() return BOOLEAN;
None
This function determines the global database name of the local database (the global name is the returned value).
DBMS_REPUTIL.GLOBAL_NAME() return VARCHAR2;
None
This procedure synchronizes the existence of an internal package with a table in the replication catalog. If the table has replication support, execute this procedure to create the internal package. If replication support does not exist, destroy any related internal package.
DBMS_REPUTIL.MAKE_INTERNAL_PKG ( canon_sname IN VARCHAR2, canon_oname IN VARCHAR2);
This procedure synchronizes the existence of an internal trigger with a table or snapshot in the replication catalog. If the table or snapshot has replication support, execute this procedure to create the internal replication trigger. If replication support does not exist, destroy any related internal trigger.
DBMS_REPUTIL.SYNC_UP_REP ( canon_sname IN VARCHAR2, canon_oname IN VARCHAR2);
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|