DBMS_LOGREP_UTIL.STREAMS_TRANSACTION_PURGE fails with ORA-16516 (Doc ID 798588.1)

Last updated on SEPTEMBER 07, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

When trying to execute DBMS_LOGREP_UTIL.STREAMS_TRANSACTION_PURGE
when  capture/apply is running, ORA-16516 is raised:

ORA-16516: current state is invalid for the attempted operation
ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 82
ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 106
ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 932

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