| Oracle DBMS_APPLY_ADM Version 26ai |
|---|
| General Information | |||||||||||||||||||||||||||||||||||||
| Library Note |
|
||||||||||||||||||||||||||||||||||||
| Purpose | Provides subprograms to start, stop, and configure apply processes. | ||||||||||||||||||||||||||||||||||||
| AUTHID | CURRENT_USER | ||||||||||||||||||||||||||||||||||||
| Dependencies | SELECT name FROM dba_dependencies WHERE referenced_name = 'DBMS_APPLY_ADM' UNIONReturns 43 objects |
||||||||||||||||||||||||||||||||||||
| Documented | Yes: Packages and Types Reference | ||||||||||||||||||||||||||||||||||||
| Exceptions |
|
||||||||||||||||||||||||||||||||||||
| First Available | 9.2 | ||||||||||||||||||||||||||||||||||||
| Security Model | Owned by SYS with EXECUTE granted to GSMADMIN_INTERNAL and to the EXECUTE_CATALOG_ROLE, OGG_APPLY, OGG_CAPTURE, XSTREAM_APPLY and XSTREAM_CAPTURE roles. | ||||||||||||||||||||||||||||||||||||
| Source | {ORACLE_HOME}/rdbms/admin/dbmsapp.sql | ||||||||||||||||||||||||||||||||||||
| Subprograms |
|
||||||||||||||||||||||||||||||||||||
| ALTER_APPLY | |||||||||||||||||||||||||||||||||||||
| Alters an apply process | dbms_apply_adm.alter_apply( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| CLEAR_KEY_COLUMNS | |||||||||||||||||||||||||||||||||||||
| Clear all substitute "primary keys" defined for the specified apply | dbms_apply_adm.clear_key_columns(apply_name IN VARCHAR2 := NULL); |
||||||||||||||||||||||||||||||||||||
exec dbms_apply_adm.clear_key_columns('*'); |
|||||||||||||||||||||||||||||||||||||
| COMPARE_OLD_VALUES | |||||||||||||||||||||||||||||||||||||
| Specifies whether to compare the old value of one or more columns in a row logical change record (row LCR)
with the current value of the corresponding columns at the destination site during apply Overload 1 |
dbms_apply_adm.compare_old_values( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_apply_adm.compare_old_values( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| CREATE_APPLY | |||||||||||||||||||||||||||||||||||||
| Creates an apply process | dbms_apply_adm.create_apply( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| CREATE_OBJECT_DEPENDENCY | |||||||||||||||||||||||||||||||||||||
| Creates an object dependency | dbms_apply_adm.create_object_dependency( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| DELETE_ALL_ERRORS | |||||||||||||||||||||||||||||||||||||
| Deletes all the error transactions for the specified apply process | dbms_apply_adm.delete_all_errors(apply_name IN VARCHAR2 DEFAULT NULL); |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| DELETE_ERROR | |||||||||||||||||||||||||||||||||||||
| Deletes the specified error transaction | dbms_apply_adm.delete_error(local_transaction_id IN VARCHAR2); |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| DROP_APPLY | |||||||||||||||||||||||||||||||||||||
| Drops an apply process | dbms_apply_adm.drop_apply( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| DROP_OBJECT_DEPENDENCY | |||||||||||||||||||||||||||||||||||||
| Drops an object dependency | dbms_apply_adm.drop_object_dependency( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| EXECUTE_ALL_ERRORS | |||||||||||||||||||||||||||||||||||||
| Re-executes the error transactions for the specified apply process | dbms_apply_adm.execute_all_errors( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| EXECUTE_ERROR | |||||||||||||||||||||||||||||||||||||
| Re-executes a specified error transaction | dbms_apply_adm.execute_error( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| GET_ERROR_MESSAGE | |||||||||||||||||||||||||||||||||||||
| Returns the message payload from the error queue for the specified message number and transaction identifier Overload 1 |
dbms_apply_adm.get_error_message( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_apply_adm.get_error_message( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| HANDLE_COLLISIONS | |||||||||||||||||||||||||||||||||||||
| Sets a collision handler for a given apply and source/target pair | dbms_apply_adm.handle_collisions( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| SET_DML_CONFLICT_HANDLER | |||||||||||||||||||||||||||||||||||||
| Sets a dml conflict handler for the specified apply_name, target object, source object, operation_name, conflict_type, and method_name Overload 1 |
dbms_apply_adm.set_conflict_handler( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_apply_adm.set_conflict_handler( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| SET_DML_HANDLER | |||||||||||||||||||||||||||||||||||||
| Alters operation options for a specified object with a specified apply process | dbms_apply_adm.set_dml_handler( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| SET_ENQUEUE_DESTINATION | |||||||||||||||||||||||||||||||||||||
| Sets the queue where the apply process automatically enqueues a message that satisfies the specified rule | dbms_apply_adm.set_enqueue_destination( |
||||||||||||||||||||||||||||||||||||
exec dbms_apply_adm.set_enqueue_destination('UW_EXCL_RULE1', 'UW_REMOTE'); |
|||||||||||||||||||||||||||||||||||||
| SET_EXECUTE | |||||||||||||||||||||||||||||||||||||
| Specifies whether a message that satisfies the specified rule is executed by an apply process | dbms_apply_adm.set_execute( |
||||||||||||||||||||||||||||||||||||
exec dbms_apply_adm.set_execute('UW_EXCL_RULE1', TRUE); |
|||||||||||||||||||||||||||||||||||||
| SET_GLOBAL_INSTANTIATION_SCN | |||||||||||||||||||||||||||||||||||||
| Records the specified instantiation SCN for the specified source database and, optionally, for the schemas at the source database and the tables owned by these schemas | dbms_apply_adm.set_global_instantiation_scn( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| SET_KEY_COLUMNS | |||||||||||||||||||||||||||||||||||||
| Records the set of columns to be used as the substitute primary key for local apply purposes and removes existing
substitute primary key columns for the specified object if they exist. Column_list is a comma-separated list of columns, with no space between columns. Overload 1 |
dbms_apply_adm.set_key_columns( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| Index for column_table is is 1-based, increasing, dense, and terminated by a NULL. Overload 2 |
dbms_apply_adm.set_key_columns( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| Index for column_table is is 1-based, increasing, dense, and terminated by a NULL Overload 3 |
dbms_apply_adm.set_key_columns( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| SET_PARAMETER | |||||||||||||||||||||||||||||||||||||
| Sets an apply parameter to the specified value | dbms_apply_adm.set_parameter( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| SET_REPERROR_HANDLER | |||||||||||||||||||||||||||||||||||||
| Sets a reperror handler for an apply, src table, tgt table, and error number | dbms_apply_adm.set_reperror_handler( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| SET_SCHEMA_INSTANTIATION_SCN | |||||||||||||||||||||||||||||||||||||
| Records the specified instantiation SCN for the specified schema in the specified source database and, optionally, for the tables owned by the schema at the source database | dbms_apply_adm.set_schema_instantiation_scn( |
||||||||||||||||||||||||||||||||||||
BEGIN |
|||||||||||||||||||||||||||||||||||||
| SET_TABLE_INSTANTIATION_SCN | |||||||||||||||||||||||||||||||||||||
| Records the specified instantiation SCN for the specified table in the specified source database | dbms_apply_adm.set_table_instantiation_scn( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| SET_UPDATE_CONFLICT_HANDLER | |||||||||||||||||||||||||||||||||||||
| Adds, updates, or drops an update conflict handler for the specified object | dbms_apply_adm.set_update_conflict_handler( |
||||||||||||||||||||||||||||||||||||
DECLARE |
|||||||||||||||||||||||||||||||||||||
| SET_VALUE_DEPENDENCY | |||||||||||||||||||||||||||||||||||||
| Sets or removes a value dependency Overload 1 |
dbms_apply_adm.set_value_dependency( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_apply_adm.set_value_dependency( |
||||||||||||||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||||||||||||||
| START_APPLY | |||||||||||||||||||||||||||||||||||||
| Directs the apply process to start applying messages | dbms_apply_adm.start_apply(apply_name IN VARCHAR2); |
||||||||||||||||||||||||||||||||||||
exec dbms_apply_adm.start_apply('UW_APPLY'); |
|||||||||||||||||||||||||||||||||||||
| STOP_APPLY | |||||||||||||||||||||||||||||||||||||
| Stops the apply process from applying any messages and rolls back any unfinished transactions being applied | dbms_apply_adm.stop_apply( |
||||||||||||||||||||||||||||||||||||
exec dbms_apply_adm.stop_apply('UW_APPLY', TRUE); |
|||||||||||||||||||||||||||||||||||||
| This site is maintained by Daniel Morgan. Last Updated: | This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2026 Daniel A. Morgan All Rights Reserved | ||||||||
|
|
|||||||||