About Change Data Capture (6) query CDC Information

Source: Internet
Author: User

Query CDC Information

Select apply_name, status from dba_apply;
Select capture_name, state, total_messages_captured from v $ streams_capture;
Select group #, thread #, sequence #, archived, status from v $ standby_log;

Select app. apply_name, q. name, app. status, qt. queue_table
From dba_apply app, dba_queues q, dba_queue_tables qt
Where app. apply_user = 'sys'
And q. owner = 'sys'
And qt. owner = 'sys'
And q. name = app. queue_name
And qt. queue_table = q. queue_table
;
Select change_table_name,
Change_set_name,
Source_schema_name,
Source_table_name
From change_tables
Where change_table_schema = 'cdcpub'
Order by change_table_name;

Select streams_name,
Streams_type,
Table_owner,
Table_name,
Rule_type,
Source_database
From dba_streams_table_rules
Where rule_owner = 'sys'
Order by table_name, rule_type, streams_type;

Select apply_name, status from dba_apply where apply_user = 'sys ';

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.