How to resolve ORA-04021: timeout error while Adding Supplemental Log Data On Table (Doc ID 1949041.1)

Last updated on JULY 22, 2015

Applies to:

Oracle GoldenGate - Version 11.2.1.0.1 and later
Information in this document applies to any platform.

Goal

add trandata abc.xyz fails with below error after 15 minutes

WARNING OGG-00706 Failed to add supplemental log group on table abc.xyz due to ORA-04021: timeout occurred while waiting to lock object SQL
ALTER TABLE "ABC"."XYZ" ADD SUPPLEMENTAL LOG GROUP "GGS_149760" ("ACK_NO") ALWAYS /* GOLDENGATE_DDL_REPLICATION */.
 

Solution

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