1、关闭 broker:
alter system set dg_broker_start=false scope=both;
SQL> alter system set dg_broker_start=false scope=both;
System altered.
2、删除配置文件:
show parameter dg_broker_config_file
SQL> show parameter dg_broker_config_file
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string /u01/app/oracle/product/10.2.0
/db_1/dbs/dr1stdby.dat
dg_broker_config_file2 string /u01/app/oracle/product/10.2.0
/db_1/dbs/dr2stdby.dat
cd $ORACLE_HOME/dbs
rm dr*.dat
SQL> show parameter dg_broker_config_file
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string /u01/app/oracle/product/10.2.0
/db_1/dbs/dr1pri.dat
dg_broker_config_file2 string /u01/app/oracle/product/10.2.0
/db_1/dbs/dr2pri.dat