删除stream apply进程的步骤!

SQL> exec dbms_apply_adm.drop_apply('STREAMS_APPLY');
BEGIN dbms_apply_adm.drop_apply('STREAMS_APPLY'); END;

*
ERROR at line 1:
ORA-26663: error queue for apply process STREAMS_APPLY must be empty
ORA-06512: at "SYS.DBMS_APPLY_ADM_INTERNAL", line 283
ORA-06512: at "SYS.DBMS_APPLY_ADM_INTERNAL", line 270
ORA-06512: at "SYS.DBMS_APPLY_ADM", line 691
ORA-06512: at line 1
SQL> select apply_name,ERROR_MESSAGE,ERROR_CREATION_TIME from dba_apply_error;

STREAMS_APPLY
ORA-01917: user or role 'ELLEN_RO_ROLE' does not exist
15-APR-09

STREAMS_APPLY
ORA-01435: user does not exist
30-JUN-09

STREAMS_APPLY
ORA-01917: user or role 'ELLEN_ROLE' does not exist
30-JUN-09

STREAMS_APPLY

ORA-01403: no data found
30-JUN-08


SQL> DBMS_APPLY_ADM.DELETE_ALL_ERRORS;
SP2-0734: unknown command beginning "DBMS_APPLY..." - rest of line ignored.
SQL> exec DBMS_APPLY_ADM.DELETE_ALL_ERRORS;

PL/SQL procedure successfully completed.

SQL> select apply_name,ERROR_MESSAGE,ERROR_CREATION_TIME from dba_apply_error;


no rows selected

SQL> SQL>  exec dbms_apply_adm.drop_apply('STREAMS_APPLY');

PL/SQL procedure successfully completed.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值