My Oracle Support Banner

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

Last updated on FEBRUARY 06, 2017

Applies to:

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


 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  O2O_OGG.GGS_DDL_HIST h WHERE   h.seqno = (SELECT MIN(seqno) FROM  O2O_OGG.GGS_DDL_HIST WHERE objectid = (SELECT objectId FROM  O2O_OGG.GGS_DDL_HIST_ALT WHERE altObjectId = 734005 AND rownum=1) AND  startSCN = (SELECT MIN (startSCN) FROM  O2O_OGG.GGS_DDL_HIST WHERE objectid =  (SELECT objectId FROM O2O_OGG.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


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

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