<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ORACLE CDC ISSUE in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2125350#M7559</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coordinated with our DBA and applied the recommended settings from the topics related from above thread. Still having the same issue on latency. Attaching the DP and logs hoping for your help on this.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 05:18:02 GMT</pubDate>
    <dc:creator>msantiago</dc:creator>
    <dc:date>2023-10-05T05:18:02Z</dc:date>
    <item>
      <title>ORACLE CDC ISSUE</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2123846#M7494</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We are new to Qlik, and we are using Qlik enterprise manager. Currently we are experiencing CDC issue with Oracle as a source and as comparison we also have a similar connection using Oracle as well. This is a logstream task only by the way.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We also have same systems running on the same machine but we don't&amp;nbsp;experience latency with those.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Attaching reptask log.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="msantiago_0-1695981117889.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117386i5511509F6D5B27C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="msantiago_0-1695981117889.png" alt="msantiago_0-1695981117889.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate the inputs and help on this.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 09:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2123846#M7494</guid>
      <dc:creator>msantiago</dc:creator>
      <dc:date>2023-09-29T09:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: ORACLE CDC ISSUE</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2123964#M7497</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247432"&gt;@msantiago&lt;/a&gt;&amp;nbsp; Welcome to the Replicate forum.&lt;/P&gt;
&lt;P&gt;So what is the difference between the TSY SO and TSYSP tasks? They appear to be running on the same server. Are they connecting to the same database? If so, you should consider a single logstream task. If not, are the databases configured differently with respect to REDO and ARCHIVE, like ASM vs network file system?&lt;/P&gt;
&lt;P&gt;Note: a discussion for this was previously started in the AEM forum, but this is of course a Replicate Task/Issuey managed by AEM. In the task log attached in the AEM forum I noticed and significant issues with the Oracle connection. So this may well be an infrastructure issue. If interested, see: &lt;A href="https://community.qlik.com/t5/Qlik-Enterprise-Manager/ORACLE-CDC-ISSUE/td-p/2123395" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Enterprise-Manager/ORACLE-CDC-ISSUE/td-p/2123395&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The attached file is a .RAR which can be opened with a (free trial) WinRAR. my 7-Zip did not like it. it expands to 136 MB mostly dues to useless SORTER lines&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I see in the attached log is a really bad connection - or is that like an network tcp-idle-timeout? Anything similar in the successful tasks? Doing a GREP for reconnect|reestablish results in showing issues every hour or so.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;-28T20:01:51 [SOURCE_CAPTURE  ]I:  Trying to reconnect to the source database
-28T21:07:41 [SOURCE_CAPTURE  ]I:  The connection to the source database reestablished
-28T22:47:32 [SOURCE_CAPTURE  ]I:  Trying to reconnect to the source database
-28T23:53:22 [SOURCE_CAPTURE  ]I:  The connection to the source database reestablished
-29T01:38:45 [SOURCE_CAPTURE  ]I:  Trying to reconnect to the source database
-29T02:44:26 [SOURCE_CAPTURE  ]I:  The connection to the source database reestablished
-29T04:36:27 [SOURCE_CAPTURE  ]I:  Trying to reconnect to the source database
-29T05:42:12 [SOURCE_CAPTURE  ]I:  The connection to the source database reestablished
-29T07:19:49 [SOURCE_CAPTURE  ]I:  Trying to reconnect to the source database
-29T08:25:30 [SOURCE_CAPTURE  ]I:  The connection to the source database reestablished
-29T10:03:23 [SOURCE_CAPTURE  ]I:  Trying to reconnect to the source database
-29T11:09:08 [SOURCE_CAPTURE  ]I:  The connection to the source database reestablished
-29T12:38:00 [SOURCE_CAPTURE  ]I:  Trying to reconnect to the source database
-29T13:43:45 [SOURCE_CAPTURE  ]I:  The connection to the source database reestablished
-29T15:27:59 [SOURCE_CAPTURE  ]I:  Trying to reconnect to the source database
&lt;/LI-CODE&gt;
&lt;P&gt;When I go over the log with a script looking for 'PERFORMANCE' lines it reports:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Task &amp;lt;TSYSP_ORACLE_LOGSTREAM&amp;gt; from 09/28 18:29:28 thru 09/29 15:55:15 ( = 77147 seconds).
There were 78 reads reported (1378 seconds), with 73 at the maximum IO size of 50000 KB.
Grand total of 3.6 GB was read = 0.2 GB/hour (3.6 GB ARCH @ 205MB/Archive) 0 online, 18 archived Redologs starts
Overall 48498 KB per read at 0.0 MB/sec. 2.7 MB/sec using active read time. Avg 17676 mSec/read.
Longest read time = 24920 ms for 41511 kb for thread 1 at 09/29 14:05:51.
Most read in 300 second interval = 830 MB --&amp;gt; 2.8 MB/sec at 09/29 13:50:07.
2 Oracle RAC threads detected.
RAC Thread 1 -    2.9 GB,   2.7 MB/sec, 63 reads.12 logs ( 470759 .. 470770 )
RAC Thread 2 -    0.7 GB,   2.6 MB/sec, 15 reads.6 logs ( 338922 .. 338927 )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Typically one expects to see 50MB/sec or better for reads, not 3MB/sec = 10GB/Hour which is what some database produce as redo/hour.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 14:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2123964#M7497</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-09-29T14:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: ORACLE CDC ISSUE</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2123977#M7499</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247432"&gt;@msantiago&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Besides&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;comments:&lt;/P&gt;
&lt;P&gt;1. The was task set to access archived redo log file only, see line #28:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT face="courier new,courier"&gt;2023-09-28T18:29:36 [SOURCE_CAPTURE ]I: Oracle CDC will access Archived Redo logs only&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The latency is reasonable with this setting, because of the near-real time changes in ONLINE redo log files will be held on until the changes were archived then Replicate start to process these changes.&lt;/P&gt;
&lt;P&gt;2. There are 8 times repeat error eg:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT face="courier new,courier"&gt;2023-09-29T08:57:38 [SOURCE_CAPTURE ]T: OCI error 'ORA-03113: end-of-file on communication channel&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The errors happened during16 minutes to 5 hours. Certainly it may&amp;nbsp;aggravate the latency.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; There are some articles &lt;FONT face="courier new,courier"&gt;'ORA-03113'&amp;nbsp;&lt;/FONT&gt;about in community, however many different reasons may lead to the same error, please work with the Oracle DBA to fix it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -- &lt;A title="Qlik Replicate: Failed to read from ASM file using PLSQL with thread id '1' from block number" href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Failed-to-read-from-ASM-file-using-PLSQL-with/ta-p/1962089#:~:text=%5BSOURCE_CAPTURE%20%5DE%3A%20OCI%20error%20%27ORA%2D03113%3A%20end%2Dof%2Dfile%20on%20communication%20channel" target="_blank" rel="noopener"&gt;Qlik Replicate: Failed to read from ASM file using PLSQL with thread id '1' from block number&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;nbsp;&lt;A title="Replicate ORA-03113 Error" href="https://community.qlik.com/t5/Official-Support-Articles/Replicate-ORA-03113-Error/ta-p/1872295#:~:text=%5BSOURCE_CAPTURE%20%5DI%3A%20ORA%2D03113%3A%20end%2Dof%2Dfile%20on%20communication" target="_blank" rel="noopener"&gt;Replicate ORA-03113 Error&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;nbsp;&lt;A title="Qlik Replicate: Failed to execute statement 'select distinct(tzname)...from V$TIMEZONE_NAMES'&amp;nbsp;" href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Failed-to-execute-statement-select-distinct/ta-p/2089655#:~:text=ORA%2D03113%3A%20end%2Dof%2Dfile%20on%20communication%20channel" target="_blank" rel="noopener"&gt;Qlik Replicate: Failed to execute statement 'select distinct(tzname)...from V$TIMEZONE_NAMES'&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 15:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2123977#M7499</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-09-29T15:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: ORACLE CDC ISSUE</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2123989#M7502</link>
      <description>&lt;P&gt;Good catch&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp; : "&lt;SPAN&gt;[SOURCE_CAPTURE ]I: Oracle CDC will access Archived Redo logs only"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To clarify, this means that if there are changes, those are only seen when a Redo gets rolled into an Archive which appears to happen every 800 MB or so, but we don't know at what schedule.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With this setting Between Archive logs appearing one must expect a second of latency for every second until a new one appears - the age of the last Archive log. That's the choice made and the latency is the price to pay to run more efficiently (no constant reading of the Redo tail).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247432"&gt;@msantiago&lt;/a&gt;&amp;nbsp; you need to review the Archive Log creation using queries like :&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;select THREAD#, STATUS, DELETED, FIRST_TIME, NEXT_TIME
from v$archived_log
where FIRST_TIME &amp;gt; SYSDATE - 5&lt;/LI-CODE&gt;
&lt;P&gt;If there are gaps of hours or days, then you may want to work with the source DBA to setup a SWITCHLOG every hour or so, whether the DB needs it or not, just to limit your latency to an hour.&lt;/P&gt;
&lt;P&gt;Also, with big multi-hour gaps there may well be 'helpers' in Oracle or Network land which try to clean up seemingly idle session which would explain the (forced) disconnects. Work with network and/or DBA to figure that out.&lt;/P&gt;
&lt;P&gt;Or.... KISS - just do not enable the "&lt;SPAN&gt;Use archived redo logs only" mode. Why was that set anyway?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hein.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 16:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2123989#M7502</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-09-29T16:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: ORACLE CDC ISSUE</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2125350#M7559</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coordinated with our DBA and applied the recommended settings from the topics related from above thread. Still having the same issue on latency. Attaching the DP and logs hoping for your help on this.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 05:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/ORACLE-CDC-ISSUE/m-p/2125350#M7559</guid>
      <dc:creator>msantiago</dc:creator>
      <dc:date>2023-10-05T05:18:02Z</dc:date>
    </item>
  </channel>
</rss>

