DBMS_CDC_SUBSCRIBE.EXTEND_WINDOW does not fetch the Latest Rows from Change Table (Doc ID 1063526.1)

Last updated on JULY 12, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.5 - Release: 10.2 to 10.2
Information in this document applies to any platform.

Symptoms

When the DBMS_CDC_SUBSCRIBE.EXTEND_WINDOW procedure is run to fetch rows from the Change Data Capture change table to a subscriber view in an asynchonous distributed hotlog CDC environment, no rows appear in the subscriber view, even though there are rows in the change table that have not yet appeared in the subscriber view. 

It is also noticed that after running DBMS_CDC_SUBSCRIBE.PURGE_WINDOW, the EARLIEST_SCN value is greater than the LATEST_SCN value.

SQL> select subscription_name, earliest_scn, latest_scn from dba_subscriptions;

SUBSCRIPTION_NAME         EARLIEST_SCN        LATEST_SCN
------------------------  ------------        ----------
MY_SUBSCRIPTION           33235719399         33235719398

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms