| Oracle DBMS_DRS Version 26ai |
|---|
| General Information | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Library Note |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Purpose | This package contains procedures used in the DR Server (Hot Standby). There are two forms of each major function; one is a blocking procedure, which does not return until the command is completed. The other is a non-blocking function which returns with a request identifier which may be used to return the result of the command. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AUTHID | DEFINER | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Constants |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dependencies |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Documented | No | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Exceptions |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| First Available | 9.0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Security Model | Owned by SYS with EXECUTE granted to SYSDG, SYSRAC and the OEM_MONITOR role | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Source | {ORACLE_HOME}/rdbms/admin/dbmsdrs.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Subprograms |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ADD_CONFIGURATION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Adds a remote configuration to the metadata | dbms_drs.add_configuration( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ADD_DATABASE (new 23ai overloads) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Adds a standby database to a Broker configuration. database_ci is the connection identifier Overload 1 |
dbms_drs.add_database( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Adds a standby database to a broker configuration Severity is either ORA-0, ORA-16501, or ORA-16502 Overload 2 |
dbms_drs.add_database( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 3 | dbms_drs.add_database( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ADD_FAR_SYNC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Add a far sync instance to a Broker configuration. far_sync_ci is the connection identifier | dbms_drs.add_far_sync( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ADD_RECOVERY_APPLIANCE (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Adds a recovery appliance to a Broker configuration Overload 1 |
dbms_drs.add_recovery_appliance( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Severity is either ORA-0, ORA-16501, or ORA-16502 Overload 2 |
dbms_drs.add_recovery_appliance( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CANCEL_REQUEST | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cancel Request (blocking) | dbms_drs.cancel_request(rid IN INTEGER); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See Demos At Page Bottom |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHECK_CONNECT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Check network connectivity to the specified member | dbms_drs.check_connect( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
exec dbms_drs.check_connect('ORABASE_DR', 'ORABASE1'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHECK_CONNECT_NETADDR (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Validates the network connectivity to the specified member | dbms_drs.check_connect_netaddr( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CONTROL_CONFIGURATION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Forwards an operation to one or all configurations | dbms_drs.control_configuration( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CONVERT_TO_PHYSICAL (new 23ai overloads) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Converts a snapshot standby database to a physical standby database Overload 1 |
dbms_drs.convert_to_physical(db_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.convert_to_physical('TEST23DB'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Severity is either ORA-0, ORA-16501, or ORA-16502 Overload 2 |
dbms_drs.convert_to_physical( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| client operation table with instructions for actions required before the convert operation can be completed Overload 3 |
dbms_drs.convert_to_physical( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CONVERT_TO_SNAPSHOT (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Converts a physical standby database to a snapshot standby database | dbms_drs.convert_to_snapshot(db_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.convert_to_snapshot('TEST23DB'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Severity is either ORA-0, ORA-16501, or ORA-16502 Overload 2 |
dbms_drs.convert_to_snapshot( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CREATE_CONFIGURATION (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Creates a Broker configuration. The primary database will be automatically added to the configuration by this procedure. Must be called on a primary database. Overload 1 |
dbms_drs.create_configuration( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Severity is either ORA-0, ORA-16501, or ORA-16502 Overload 2 |
dbms_drs.create_configuration( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CREATE_CONFIGURATION_RAW (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Creates a Broker configuration with a RAW data type configuration name. | dbms_drs.create_configuration_raw( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DELETE_REQUEST | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Delete Request (blocking) | dbms_drs.delete_request(rid IN INTEGER); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See Demos At Page Bottom |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DGPDB_ADD (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Adds a Data Guard PDB | dbms_drs.dgpdb_add( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
??? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DGPDB_FAILOVER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to failover to a DGPDB | dbms_drs.dgpdb_failover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.dgpdb_failover('PDBPROD', 'TEST23DB', 0); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DGPDB_REINSTATE (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Reinstates a DGPDB | dbms_drs.dgpdb_reinstate( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.dgpdb_reinstate('PDBPROD', 'TEST23DB', 0) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DGPDB_REMOVE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to remove a DGPDB | dbms_drs.dgpdb_remove( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DECLARE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DGPDB_SHOW (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Show Data Guard protection details for either a specified pluggable database or all pluggable databases | dbms_drs.dgpdb_show( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DGPDB_SWITCHOVER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to switchover to a DGPDB | dbms_drs.dgpdb_switchover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.dgpdb_switchover('PDBPROD', 'TEST23DB'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DGPDB_VALIDATE (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Validates a DG PDB | dbms_drs.dgpdb_validate( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TBD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DG_BROKER_INFO | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Returns Data Guard Broker Information | dbms_drs.dg_broker_info(info_name IN VARCHAR2) RETURN VARCHAR2; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.dg_broker_info('DMONREADY'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DISABLE (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| From the primary DB disables Broker management of a member within the Broker configuration Overload 1 |
dbms_drs.disable(member_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.disable( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DISABLE_CONFIGURATION (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Disables Broker management of the current configuration | dbms_drs.disable_configuration RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.disable_configuration; |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.disable_configuration(severity OUT BINARY_INTEGER) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DISABLE_DATABASE (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| From the primary DB disables Broker management of a database within the Broker configuration | dbms_drs.disable_database(database_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.disable_database('TEST23DB'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.disable_database( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DISABLE_FAR_SYNC (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| From the primary DB disables Broker management of a far sync instance within the Broker configuration | dbms_drs.disable_far_sync(far_sync_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.disable_far_sync( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DISABLE_FS_FAILOVER (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Disables Fast Start Failover | dbms_drs.disable_fs_failover(force IN BOOLEAN DEFAULT FALSE) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.disable_fs_failover(TRUE); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.disable_fs_failover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DISABLE_FS_FAILOVER2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to disable fast-start failover | dbms_drs.disable_fs_failover2(force IN BINARY_INTEGER DEFAULT 0) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.disable_fs_failover2; |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DISABLE_FS_FAILOVER_CONDITION (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to disable a fast-start failover condition | dbms_drs.disable_fs_failover_condition(condition IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.disable_fs_failover_condition( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DO_CONTROL | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Control blocking API Obsolete: Use DO_CONTROL_RAW Overload 1 |
dbms_drs.do_control( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See Demos At Page Bottom |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Obsolete: For test use only Overload 2 |
dbms_drs.do_control(indoc IN VARCHAR2) RETURN INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See Demos At Page Bottom |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DO_CONTROL_RAW | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Control blocking API designed for solving NLS problems. Is a blocking call that sends a DG Broker control request. Overload 1 |
dbms_drs.do_control_raw( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.do_control_raw(indoc IN RAW) RETURN INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DO_CONTROL_RAW_NORID | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Called by a Broker client (DGMGRL or EM) to submit a non-blocking request that's NLS compliant to the Broker | dbms_drs.do_control_raw_norid(indoc IN RAW); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DO_OBSERVE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Observer operation API - observer's operation to control FSFO since 12.2. (replaces Ping, ReadyToFailover, and StateChangeRecorded) | dbms_drs.do_observe ( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DUMP_BROKER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dumps critical internal data of the Broker process to a file | dbms_drs.dump_broker( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DECLARE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DUMP_META | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DUMP data guard Broker metadata file content into a readable text file | dbms_drs.dump_meta( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DECLARE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DUMP_OBSERVER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dumps critical internal data of client-side observer process to a file | dbms_drs.dump_observer( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DECLARE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EDIT_TAG (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Edit the tag key-value of a member | dbms_drs.edit_tag( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENABLE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used, from the primary db, to enable Broker management of a member within the Broker configuration | dbms_drs.enable(member_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.edit( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENABLE_CONFIGURATION (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enables Broker management of a Data Guard configuration.
It must be called on the primary database. Return 0 means enable was successful, otherwise returns an error number. Overload 1 |
dbms_drs.enable_configuration RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.enable_configuration; |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.enable_configuration(severity OUT
BINARY_INTEGER) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENABLE_DATABASE (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to enable Broker management of a database within the Broker configuration. It must be called on the primary database. Overload 1 |
dbms_drs.enable_database(database_name in VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.enable_database('ORABASE'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.enable_database( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENABLE_FAR_SYNC (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enable Broker management of a far sync instance within the Broker configuration. It must be called on the primary database. Overload 1 |
dbms_drs.enable_far_sync(far_sync_name in VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.enable_database('ORABASE_FS'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.enable_database( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENABLE_FS_FAILOVER (new 23ai overloads) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to enable fast-start failover Overload 1 |
dbms_drs.enable_fs_failover RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.enable_fs_failover; |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.enable_fs_failover(observe_only IN BINARY_INTEGER) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 3 | dbms_drs.enable_fs_failover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ENABLE_FS_FAILOVER_CONDITION (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enables a fast-start failover condition Overload 1 |
dbms_drs.enable_fs_failover_condition(condition IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.enable_fs_failover_condition( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FAILOVER (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performs a database failover operation | dbms_drs.failover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.failover('TEST23DB', 'COMPLETE'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.failover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FS_FAILOVER_FOR_HC_COND | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Undocumented Overload 1 |
dbms_drs.fs_failover_for_hc_cond( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.fs_failover_for_hc_cond(hc_cond IN BINARY_INTEGER) RETURN BOOLEAN; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET_CONFIGURATION_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Called by a Broker client to fetch a configuration-level property | dbms_drs.get_configuration_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.get_configuration_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET_CONN_DESC (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Returns a connect descriptor that NSVs use when connecting a remote member or instance | dbms_drs.get_conn_desc( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET_ENV (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Evaluate an environment variable for use in MOUNT mode when dbms_system.get_env() doesn't work | dbms_drs.get_env(env_name IN VARCHAR2) RETURN VARCHAR2; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET_PROPERTY | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Get a named property. This function is equivalent to using getid to return the object id, followed by a <do_monitor><property> request. | dbms_drs.get_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET_PROPERTY2 (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Called by a Broker client to fetch a property value by specifying a member name | dbms_drs.get_property2( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.get_property2( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET_PROPERTY_OBJ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Get a named property. Equivalent to a <DO_MONITOR><PROPERTY> request and parsing the resulting string. | dbms_drs.get_property_obj( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET_RESPONSE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Get Result (non-blocking) - OBSOLETE, for test use only | dbms_drs.get_response( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See Demos At Page Bottom |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET_RESPONSE_RAW | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Returns the result of a non-blocking command. If the command hasn't finished or the piece is beyond the end of the document returns NULL. | dbms_drs.get_response_raw( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HEALTH_CHECK | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performs a Broker health check | dbms_drs.health_check RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.health_check; |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| INITIATE_FS_FAILOVER (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Initiate Fast Start Failover Overload 1 |
dbms_drs.initiate_fs_failover(condstr IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.initiate_fs_failover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| METADATA_FILE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| This function is used to export/import metadata to/from a file | dbms_drs.metadata_file( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DECLARE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PING | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The old ping procedure that was used in 12.1.0.1 and prior to 11.2.0.4 Overload 1 |
dbms_drs.ping( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ping procedure since 12.1.0.2 (and 11.2.0.4) and now obsolete as of 12.2 Overload 2k |
dbms_drs.ping( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| READYTOFAILOVER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Undocumented | dbms_drs.ReadyToFailover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REINSTATE (new 23ai overloads) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Reinstate a database in the Broker configuration | dbms_drs.reinstate(db_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.reinstate('TEST23DB'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.reinstate( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 3 | dbms_drs.reinstate(op_table OUT VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| From the primary DB removes a member from the Broker configuration Overload 1 |
dbms_drs.remove( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.remove( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| From the primary DB removes a member from the Broker configuration | dbms_drs.remove2( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE_CONFIGURATION (new 23ai overloads) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| From the primary DB removes a Broker configuration Overload 1 |
dbms_drs.remove_configuration(preserve_destinations IN BOOLEAN DEFAULT FALSE) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DECLARE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.remove_configuration( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 3 | dbms_drs.remove_configuration(name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE_CONFIGURATION2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| From the primary DB removes a Broker configuration | dbms_drs.remove_configuration2(preserve_destinations IN BINARY_INTEGER DEFAULT 0) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DECLARE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE_DATABASE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Removes a database from the Broker configuration. It must be called on the primary database | dbms_drs.emove_database( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.remove_database('ORABASE2', TRUE); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE_DATABASE2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Removes a database from the Broker configuration. It must be called on the primary database | dbms_drs.remove_database2( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.remove_database2('TEST23DB', 0); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE_FAR_SYNC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Removes a far sync instance from the Broker configuration. It must be called on the primary database. | dbms_drs.remove_far_sync( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.remove_far_sync('ORADATA_FS', FALSE); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE_FAR_SYNC2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Called from the primary DB removes a far sync instance from the Broker configuration | dbms_drs.remove_far_sync2( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REMOVE_INSTANCE (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Removes an instance from a member of the Broker configuration Overload 1 |
dbms_drs.remove_instance( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.remove_instance( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| REPLACE_MEMBER_NAME_IN_PROPS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Replaces a member name with another member name in all Broker properties | dbms_drs.replace_member_name_in_props( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.remove_far_sync('ORCL', 'ORABASE'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RESET_CONFIGURATION_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Resets configuration-level property, not database or far sync instance property, to its default value | dbms_drs.reset_configuration_property(property_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.reset_configuration_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RESET_DATABASE_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Resets a database configurable property to its default value Overload 1 |
dbms_drs.reset_database_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.reset_database_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RESET_FAR_SYNC_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Resets a far sync instance configurable property to its default value Overload 1 |
dbms_drs.reset_far_sync_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.reset_far_sync_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RESET_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Resets a member configurable property to its default value Overload 1 |
dbms_drs.reset_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.reset_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_CONFIGURATION_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sets a configuration-level property (not a database or far sync property). Can be used to set both integer and character string properties. Overload 1 |
dbms_drs.set_configuration_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_configuration_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_CONFIGURATION_PROPERTY_RAW (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sets a configuration-level property (i.e. not a property of a database or far sync instance. Can be used to set both integer and character string properties. | dbms_drs.set_configuration_property_raw( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_CONFIGURATION_SOURCE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Set redo transport to a target configuration | dbms_drs.set_configuration_source( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_DATABASE_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to set a database configurable property. Can be used to set both integer and character string properties. | dbms_drs.set_database_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_database_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_DGPDB_STATE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sets the state of a DGPDB | dbms_drs.set_dgpdb_state( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_FAR_SYNC_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to set a far sync instance's configurable property. Can be used to set both integer and character string properties. Overload 1 |
dbms_drs.set_far_sync_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_far_sync_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_PROPERTY (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sets a member configurable property. Overload 1 |
dbms_drs.set_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_property( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_PROPERTY_RAW (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Use to set a member configurable property with a RAW value | dbms_drs.set_property_raw( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_PROTECTION_MODE (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changes the protection mode to the mode specified.
To prevent including database restart logic this procedure does not support the promotion of the protection mode from maximum performance to maximum protection. Overload 1 |
dbms_drs.set_protection_mode(protection_mode IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.set_protection_mode('MaxPerformance'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_protection_mode( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_STATE_APPLY_OFF (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| changes the member's state to APPLY-OFF Overload 1 |
dbms_drs.set_state_apply_off(member_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_state_apply_off( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_STATE_APPLY_ON (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| changes the member's state to APPLY-ON Overload 1 |
dbms_drs.set_state_apply_on( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_state_apply_on( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_STATE_TRANSPORT_OFF (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| changes the member's state to TRANSPORT-OFF Overload 1 |
dbms_drs.set_state_transport_off(member_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_state_transport_off( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET_STATE_TRANSPORT_ON (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| changes the member's state to TRANSPORT-ON Overload 1 |
dbms_drs.set_state_transport_on(member_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.set_state_transport_on( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SHOW_TAG (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Returns a tag value | dbms_drs.show_tag( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SLEEP | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Suspends the session for a given period of time. Appears identical to DBMS_LOCK.SLEEP. | dbms_drs.sleep(seconds IN INTEGER); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
exec dbms_drs.sleep(10); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| STARTUP_FOR_RELOCATE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Call when an instance is started by a relocate operation. The other instance will be stopped in short order. If this is a standby database, it gracefully relocates the apply services to the instance being started. If this is a standby supporting Maximum Protection mode, it deregisters the other instance as the critical instance and register this instance so the shutdown can proceed smoothly while ensuring the primary continues to be protected. | dbms_drs.startup_for_relocate; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
exec dbms_drs.startup_for_relocate; |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| STATECHANGERECORDED | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Obsolete as of 12.2: Called by the observer to indicate that it has locally persisted a state change. The database is free to persist | dbms_drs.statechangerecorded( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| STOP_OBSERVER (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Stops the fast-start failover observers in a DG Broker configuration Overload 1 |
dbms_drs.stop_observer(ob_name IN VARCHAR2) RETURN BINARY_INTEGER; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.stop_observer('UWObserver'); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.stop_observer( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SWITCHOVER (new 23ai overload) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performs a database switchover operation Overload 1 |
dbms_drs.switchover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SELECT dbms_drs.switchover('TEST23DB', 1, -1); |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 New overload |
dbms_drs.switchover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 3 Repositioned from overload 2 |
dbms_drs.switchover( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TRANSLATE_CI (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Translates a connect identifier to a network address | dbms_drs.translate_ci(ci IN VARCHAR2) RETURN VARCHAR2; |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WAIT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Waits up to the number of seconds specified by the max_wait_time argument for the event specified by the event_type parameter to prevail Overload 1 |
dbms_drs.wait( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.wait( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 3 | dbms_drs.wait( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 4 | dbms_drs.wait( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WAIT_SYNC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Used to wait for the specified member to be synchronized. If the keyword ANY is specified, this routine will wait for any destination to be synchronized.
This function calls the rfs_wait_sync() ICD to perform the work. Overload 1 |
dbms_drs.wait_sync( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Overload 2 | dbms_drs.wait_sync( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WRITE_SERVER_LOG (new 23ai) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Writes the provided message to DRC log or foreground process trace file | dbms_drs.write_server_log( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TBD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Demos | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Non-Blocking Demo | set serveroutput on |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Blocking Demo | set serveroutput on |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Related Topics |
| Built-in Functions |
| Built-in Packages |
| Database Security |
| Data Guard |
| DBMS_DG |
| DGMGRL |
| What's New In 21c |
| What's New In 26ai |
| 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 | ||||||||
|
|
|||||||||