ORA-26663 for removing process Errors When configuring Oracle Streams

Source: Internet
Author: User

ORA-26663 for removing process Errors When configuring Streams:
SQL> exec dbms_apply_adm.drop_apply ('target _ APPLY_STREAM ');
BEGIN dbms_apply_adm.drop_apply ('target _ APPLY_STREAM '); END;

*
ERROR at line 1:
ORA-26663: error queue for apply process ORA-26663: error queue for apply
Process TARGET_APPLY_STREAM must be empty
Must be empty
ORA-06512: at "SYS. DBMS_APPLY_ADM_INTERNAL", line 359
ORA-06512: at "SYS. DBMS_APPLY_ADM_INTERNAL", line 334
ORA-06512: at "SYS. DBMS_APPLY_ADM", line 690
ORA-06512: at line 1

These error messages need to be deleted from the table:
Select * from dba_apply_error
Exec DBMS_APPLY_ADM.DELETE_ALL_ERRORS (apply_name => 'target _ APPLY_STREAM ')

Execute again
Exec dbms_apply_adm.drop_apply ('target _ APPLY_STREAM ');

The process for deleting the configuration is as follows:
Select capture_name from dba_capture
Exec dbms_capture_adm.drop_capture ('capture _ stream ')

Select propagation_name from dba_propagation
Exec dbms_propagation_adm.drop_propagation ('source _ TO_TARGET ')

Select apply_name from dba_apply
Exec dbms_apply_adm.drop_apply ('target _ APPLY_STREAM ')

Clear the entire streams configuration: (this will delete the Streams configuration in the entire database. If there are two streams users, the processes of these two users will be deleted clearly)
Exec dbms_streams_adm.remove_streams_configuration;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.