<?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>article Qlik Replicate Oracle Source Task hangs without failures or errors logged in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Oracle-Source-Task-hangs-without-failures-or/ta-p/1958228</link>
    <description>&lt;P&gt;A Qlik Replicate Oracle Source task is not replicating correctly. No errors are logged and the task may appear to be in a running state.&lt;/P&gt;
&lt;P&gt;You may notice the Last modified date lagging behind.&lt;/P&gt;
&lt;P&gt;Reviewing logs may show&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[ASSERTION ]W: Cannot parse a Log Record, continuation. Problematic entry #X. Offset Y. Record data length Z&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Oracle Source&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The file system that holds the online REDO log (usually a Linux file system or NFS also seen on Solaris and AIX) platforms will cache the Online REDO logs , Oracle writes these files in “direct” mode and does not trigger the refresh of the system cache accordingly.&lt;/P&gt;
&lt;P&gt;Qlik Replicate can not read the REDOs in “direct “mode because it has no agent running on the DB server.&lt;/P&gt;
&lt;P&gt;So when replicate reads them, it will read old versions of the REDO logs (for example replicate might ask for the content of a REDO Log with sequence 104, but get the content of REDO log sequence 100, from before the last log switch).&lt;/P&gt;
&lt;P&gt;To be able to read the REDOs in “regular” mode in a reliable way, It is necessary to evict the REDOs from the system cache periodically.&lt;/P&gt;
&lt;P&gt;We refer to this internally as the ‘caching problem’. This problem exposes itself in many different ways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;From the Qlik Replicate side there is unfortunately not a lot we can do. A lot depends on the file system the customer uses for redo logs. If this is not mounted for direct IO (and thus buffered by the file/system cache) we can have this problem.&lt;/P&gt;
&lt;P&gt;Three options can be applied to mitigate this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The first option requires changes to file system settings and placing the (online) redo log files on an unbuffered file share. Alternatively, set Qlik Replicate to&amp;nbsp; &lt;STRONG&gt;Use archived redo logs only (&lt;/STRONG&gt;if business requirements (latency) allow that).
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Go to your Source Endpoint Connection&lt;/LI&gt;
&lt;LI&gt;Go to the &lt;STRONG&gt;Advanced&lt;/STRONG&gt; tab&lt;/LI&gt;
&lt;LI&gt;Check &lt;STRONG&gt;Use archived redo logs only&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Advanced Settings.png" style="width: 588px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84674i6E8946E05D6B3262/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced Settings.png" alt="Advanced Settings.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;The second workaround is to frequently flush the cached redo log data. This way Qlik Replicate will read the right blocks.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;The third workaround is to enable &lt;STRONG&gt;Oracle LogMiner&lt;/STRONG&gt;.&amp;nbsp;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Go to your Source Endpoint Connection&lt;/LI&gt;
&lt;LI&gt;Go to the &lt;STRONG&gt;Advanced&lt;/STRONG&gt; tab&lt;/LI&gt;
&lt;LI&gt;Check&amp;nbsp;&lt;STRONG&gt;Oracle LogMiner&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Advanced Settings Oracle LogMiner.png" style="width: 373px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84675i6DD4FE8C1A689871/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced Settings Oracle LogMiner.png" alt="Advanced Settings Oracle LogMiner.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 20 Jul 2022 14:48:55 GMT</pubDate>
    <dc:creator>lyka</dc:creator>
    <dc:date>2022-07-20T14:48:55Z</dc:date>
    <item>
      <title>Qlik Replicate Oracle Source Task hangs without failures or errors logged</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Oracle-Source-Task-hangs-without-failures-or/ta-p/1958228</link>
      <description>&lt;P&gt;A Qlik Replicate Oracle Source task is not replicating correctly. No errors are logged and the task may appear to be in a running state.&lt;/P&gt;
&lt;P&gt;You may notice the Last modified date lagging behind.&lt;/P&gt;
&lt;P&gt;Reviewing logs may show&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[ASSERTION ]W: Cannot parse a Log Record, continuation. Problematic entry #X. Offset Y. Record data length Z&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Oracle Source&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The file system that holds the online REDO log (usually a Linux file system or NFS also seen on Solaris and AIX) platforms will cache the Online REDO logs , Oracle writes these files in “direct” mode and does not trigger the refresh of the system cache accordingly.&lt;/P&gt;
&lt;P&gt;Qlik Replicate can not read the REDOs in “direct “mode because it has no agent running on the DB server.&lt;/P&gt;
&lt;P&gt;So when replicate reads them, it will read old versions of the REDO logs (for example replicate might ask for the content of a REDO Log with sequence 104, but get the content of REDO log sequence 100, from before the last log switch).&lt;/P&gt;
&lt;P&gt;To be able to read the REDOs in “regular” mode in a reliable way, It is necessary to evict the REDOs from the system cache periodically.&lt;/P&gt;
&lt;P&gt;We refer to this internally as the ‘caching problem’. This problem exposes itself in many different ways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;From the Qlik Replicate side there is unfortunately not a lot we can do. A lot depends on the file system the customer uses for redo logs. If this is not mounted for direct IO (and thus buffered by the file/system cache) we can have this problem.&lt;/P&gt;
&lt;P&gt;Three options can be applied to mitigate this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The first option requires changes to file system settings and placing the (online) redo log files on an unbuffered file share. Alternatively, set Qlik Replicate to&amp;nbsp; &lt;STRONG&gt;Use archived redo logs only (&lt;/STRONG&gt;if business requirements (latency) allow that).
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Go to your Source Endpoint Connection&lt;/LI&gt;
&lt;LI&gt;Go to the &lt;STRONG&gt;Advanced&lt;/STRONG&gt; tab&lt;/LI&gt;
&lt;LI&gt;Check &lt;STRONG&gt;Use archived redo logs only&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Advanced Settings.png" style="width: 588px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84674i6E8946E05D6B3262/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced Settings.png" alt="Advanced Settings.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;The second workaround is to frequently flush the cached redo log data. This way Qlik Replicate will read the right blocks.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;The third workaround is to enable &lt;STRONG&gt;Oracle LogMiner&lt;/STRONG&gt;.&amp;nbsp;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Go to your Source Endpoint Connection&lt;/LI&gt;
&lt;LI&gt;Go to the &lt;STRONG&gt;Advanced&lt;/STRONG&gt; tab&lt;/LI&gt;
&lt;LI&gt;Check&amp;nbsp;&lt;STRONG&gt;Oracle LogMiner&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Advanced Settings Oracle LogMiner.png" style="width: 373px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84675i6DD4FE8C1A689871/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced Settings Oracle LogMiner.png" alt="Advanced Settings Oracle LogMiner.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 20 Jul 2022 14:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Oracle-Source-Task-hangs-without-failures-or/ta-p/1958228</guid>
      <dc:creator>lyka</dc:creator>
      <dc:date>2022-07-20T14:48:55Z</dc:date>
    </item>
  </channel>
</rss>

