My Oracle Support Banner

Extract Process Slow When DDL Replication Is Enabled (Doc ID 1958170.1)

Last updated on FEBRUARY 21, 2019

Applies to:

Oracle GoldenGate - Version 10.0.0.0 to 11.2.1.0.21 [Release 10.0.0 to 11.2]
Information in this document applies to any platform.

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Symptoms

 Extract is slow when DDL replication is enabled. AWR report shows more time is taken in parsing the DDL statement that queries GGS_DDL_HIST table.

SELECT h.metadata_text, h.fragmentNo, h.optime, '', '' FROM  <schema>.GGS_DDL_HIST h WHERE   h.seqno = (SELECT MIN(seqno) FROM  <schema>.GGS_DDL_HIST WHERE objectid = (SELECT objectId FROM  <schema>.GGS_DDL_HIST_ALT WHERE altObjectId = 734005 AND rownum=1) AND  startSCN = (SELECT MIN (startSCN) FROM  <schema>.GGS_DDL_HIST WHERE objectid =  (SELECT objectId FROM <schema>.GGS_DDL_HIST_ALT WHERE altObjectId = 734005 AND  rownum=1) AND startSCN >= 15943623285))  UNION  SELECT '',0,'',a.owner,  a.object_name FROM dba_objects a WHERE  (a.object_id = 734005 AND  a.object_type in ('SEQUENCE'))  UNION  SELECT '',0,'', i.table_owner,  i.table_name   FROM all_indexes i, dba_objects a  WHERE (a.object_id = 734005  AND a.object_type in ('INDEX', 'INDEX PARTITION')) AND    i.index_name =  a.object_name AND    i.owner = a.owner AND    i.index_type = 'IOT - TOP'    UNION  SELECT '',0,'', t.owner, nvl (t.iot_name, a.object_name)   FROM
 dba_objects a, all_tables t  WHERE (a.object_id = 734005)

The above statements values used in WHERE Clause are having Literals

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.