Oracle 10gR2 Streams Delete All configurations

Source: Internet
Author: User

Oracle Streams has been configured for a long time. For some reasons it is not officially used, you need to completely clear its configuration information. Streams consists of three parts: capture, progapation, and apply, and some basic configuration information.

If you delete the configuration information, the streams is completely cleared.

Stop and delete the capture process

SQL> select capture_name, status from dba_capture;

CAPTURE_NAME STATUS
--------------------------------------
STRMADMIN_CAPTURE DISABLED

SQL> exec dbms_capture_adm.stop_capture ('strmadmin _ CAPTURE ');

PL/SQL procedure successfully completed.

SQL> exec dbms_capture_adm.drop_capture ('strmadmin _ CAPTURE ');

PL/SQL procedure successfully completed.

 

Stop and delete the propagation process


SQL> select propagation_name, status from dba_propagation;

PROPAGATION_NAME STATUS
--------------------------------------
STRMADMIN_PROPAGATE DISABLED

SQL> exec dbms_propagation_adm.drop_propagation ('strmadmin _ PROPAGATE ');

PL/SQL procedure successfully completed.

Stop and delete the apply Process

SQL> select apply_name, status from dba_apply;

No rows selected

Clear the entire streams Configuration

SQL> exec dbms_streams_adm.remove_streams_configuration;

PL/SQL procedure successfully completed.

The database initialization parameter streams_pool_size can also be reduced.

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.