PURGE_CHANGE_TABLE is Not Deleting Any Rows From the Change table. (Doc ID 1121277.1)

Last updated on MAY 11, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.1.0.7 [Release 10.1 to 11.1]
Information in this document applies to any platform.

Symptoms

PURGE_CHANGE_TABLE is Not Deleting Any Rows From the Change table.

Example:

-- Check the count of the rows in the change table :

SQL>select count(*) from CDC_CT;

COUNT(*)
----------
5


-- Execute the PURGE_CHANGE_TABLE procedure to purge the change table.


SQL> BEGIN
DBMS_CDC_PUBLISH.PURGE_CHANGE_TABLE(
owner => 'CDC_PUB_SIT',
change_table_name => 'CDC_CT');
END;
/


-- Now confirm the count of the rows from the change table:


SQL>select count(*) from CDC_CT;

COUNT(*)
----------
5


-- From the above output we can see there are no rows deleted from the change table after executing the PURGE_CHANGE_TABLE procedure.

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