GoldenGate Many Executions of an SQL Query

(Doc ID 1064552.1)

Last updated on MAY 04, 2017

Applies to:

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

Symptoms

The following query is executed 2.5 million times in one week:

SELECT 1 FROM V$LOGFILE WHERE(STATUS NOT IN ('STALE', 'INVALID')
OR STATUS IS NULL) AND MEMBER <> :log_name AND EXISTS (
SELECT 1 FROM V$LOG WHERE GROUP# =
V$LOGFILE.GROUP# AND THREAD# = :ora_thread AND
SEQUENCE# = :ora_seq_no ) AND ROWNUM = 1

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