<?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 change data capture error in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123219#M7467</link>
    <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Team,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="Calibri"&gt;&lt;SPAN&gt;Thanks for reaching out to Qlik via Qlik Community Support page. "&amp;nbsp;What I am trying to understand is why thread 2 is looking for sequence 520 whereas thread 1 is looking for sequence 7288 which it finds.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;" It&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;seems NODE 2 is added afterwords, or &lt;/SPAN&gt;&lt;SPAN&gt;Node&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;removed.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Still using a RAC database of standalone.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="Calibri"&gt;&lt;SPAN&gt;We would require Log to do the Analysis of the same. To overcome the &lt;/SPAN&gt;&lt;SPAN&gt;issue.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;What you can &lt;/SPAN&gt;&lt;SPAN&gt;do.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Stop the task and take the timestamp from the log file when it was&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;stopped.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and &lt;/SPAN&gt;&lt;SPAN&gt;Start QR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;task &lt;/SPAN&gt;&lt;SPAN&gt;the taken&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;timestamp rather than&amp;nbsp;resume.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="Calibri"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="Calibri"&gt;&lt;SPAN&gt;Sushil Kumar&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 02:16:06 GMT</pubDate>
    <dc:creator>SushilKumar</dc:creator>
    <dc:date>2023-09-28T02:16:06Z</dc:date>
    <item>
      <title>Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123068#M7461</link>
      <description>&lt;P&gt;Hi, we are getting an error when we try to perform a change data capture on a large oracle table.&amp;nbsp; It looks like it is trying to find an log file from two years ago. We turned on the change data capture after the initial load. We just turned on archive logging on this database so we are not sure why it is trying to find this archive log number. Thread one looks like it processed just fine. But thread two is failing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I get an error archived log doesn't exist which it doesn't. What I am trying to understand is why thread 2 is looking for sequence 520 whereas thread 1 is looking for sequence 7288 which it finds. How does Replicate determine which log files it needs?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you need any more information.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 14:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123068#M7461</guid>
      <dc:creator>SungChungAmeren</dc:creator>
      <dc:date>2023-09-27T14:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123219#M7467</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Team,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="Calibri"&gt;&lt;SPAN&gt;Thanks for reaching out to Qlik via Qlik Community Support page. "&amp;nbsp;What I am trying to understand is why thread 2 is looking for sequence 520 whereas thread 1 is looking for sequence 7288 which it finds.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;" It&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;seems NODE 2 is added afterwords, or &lt;/SPAN&gt;&lt;SPAN&gt;Node&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;removed.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Still using a RAC database of standalone.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="Calibri"&gt;&lt;SPAN&gt;We would require Log to do the Analysis of the same. To overcome the &lt;/SPAN&gt;&lt;SPAN&gt;issue.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;What you can &lt;/SPAN&gt;&lt;SPAN&gt;do.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Stop the task and take the timestamp from the log file when it was&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;stopped.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and &lt;/SPAN&gt;&lt;SPAN&gt;Start QR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;task &lt;/SPAN&gt;&lt;SPAN&gt;the taken&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;timestamp rather than&amp;nbsp;resume.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="Calibri"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="Calibri"&gt;&lt;SPAN&gt;Sushil Kumar&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 02:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123219#M7467</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2023-09-28T02:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123223#M7468</link>
      <description>&lt;P&gt;&lt;BR /&gt;So this is a RAC environment right? &lt;BR /&gt;Perhaps it is one with a heavily use Primary and little used or unsused secondary?&lt;BR /&gt;When/How are the REDO logs rolled? &lt;BR /&gt;Strictly by size (when full) or also by schedule (every few minutes?, hours?, days?)&lt;BR /&gt;Could it be that log 520 started wicked long ago and caught a big SCN range? &lt;BR /&gt;Any RESETLOG operations?&lt;/P&gt;
&lt;P&gt;Anyway, you want to investigate the time/SCN number Replicate is looking for according to the &lt;STRONG&gt;reptask__xxx.log&lt;/STRONG&gt; against the contents of&lt;STRONG&gt; v$archived_log&lt;/STRONG&gt;;&lt;BR /&gt;Something like:&lt;/P&gt;
&lt;P&gt;select THREAD#, FIRST_CHANGE#, NEXT_CHANGE#, STATUS, DELETED, FIRST_TIME, NEXT_TIME, SEQUENCE#, RESETLOGS_CHANGE#&lt;BR /&gt;from v$archived_log where &amp;lt;SCN_replicate_is_looking_for&amp;gt; between FIRST_CHANGE# and NEXT_CHANGE#&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; We turned on the change data capture after the initial load.&lt;/P&gt;
&lt;P&gt;How? Did you then ADVANCED RUN ... Tables are already loaded. Start processing changes from: xxxx ? Why not run with CDC right away? Was that large table also very busy during the load?&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 02:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123223#M7468</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-09-28T02:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123408#M7474</link>
      <description>&lt;P&gt;We performed a full load of the table first. The reason we did that because when we turned on the change data capture immediately the task would fail with the same error.&amp;nbsp; I will get the log from the developer and confirm what SCN QLIK is looking for. I do know that sequence number that is listed in the error log from QLIK doesn't exist on the v$archived_log file.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 11:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123408#M7474</guid>
      <dc:creator>SungChungAmeren</dc:creator>
      <dc:date>2023-09-28T11:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123411#M7475</link>
      <description>&lt;P&gt;Hi, to be clear, this is the log from QLIK? I will get it from the developer and send it. This is a RAC Exadata environment.&amp;nbsp; &amp;nbsp;So, the full scenario. We started the table load with change data capture. That failed. We then just performed the full data load. That succeeded. We turned on the change data capture. It still failed looking for the sequence number that doesn't make sense.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 11:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123411#M7475</guid>
      <dc:creator>SungChungAmeren</dc:creator>
      <dc:date>2023-09-28T11:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123480#M7476</link>
      <description>&lt;P&gt;I have attached the file.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 13:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123480#M7476</guid>
      <dc:creator>SungChungAmeren</dc:creator>
      <dc:date>2023-09-28T13:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123538#M7479</link>
      <description>&lt;P&gt;Ok, so really de fullload only would get the initial data over but could not be expected to 'fix' the CDC related errror.&lt;/P&gt;
&lt;P&gt;The log looks correct, but does NOT show a&amp;nbsp; start by time-stamp. It may be a retry log. Did you start by timestamp?&lt;/P&gt;
&lt;P&gt;I suspect this is an issue in not setting up DEST_ID correctly.&lt;/P&gt;
&lt;P&gt;The log does not show an SCN. It may be hidden in the 'context'&amp;nbsp; but I forgot those details. You may want to start with LOGGING for SOURCE_CAPTURE set to debug.&lt;/P&gt;
&lt;P&gt;This may be an issue with DEST_ID ( which is similar to THREAD#) you may need to set the internal parameter&amp;nbsp;archivedLogDestId and possibly&amp;nbsp;additionalArchivedLogDestId &amp;amp; capturedRacThreads.&lt;/P&gt;
&lt;P&gt;Be sure to carefully read and re-read the Replicate User Guide searching for DEST_ID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the details on the log&amp;nbsp;7288 in V$ARCHIVED_LOG - do they make sense? How do they compare with log 520.&lt;/P&gt;
&lt;P&gt;You may need to log a support call if this all gets too much.&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 15:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2123538#M7479</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-09-28T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2126279#M7590</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/248112"&gt;@SungChungAmeren&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;From the task log file line #56:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;last source timestamp 1695296201000000&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;It's epoch format time, the corresponding GMT time is 2023.09.21 11:36:00. Compared to the task run time, it's about 26 hours ago, looks good. The redo log files should not be too long away.&lt;/P&gt;
&lt;P&gt;In fact, Replicate does not know which redo log files should be read, it's determined by Oracle view&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;v$archived_log&lt;/FONT&gt;&lt;/STRONG&gt;. Replicate queries this view to know which redo log files should be open/read. You can get the result of "&lt;FONT face="courier new,courier"&gt;select * from&amp;nbsp;v$archived_log where name is not null&lt;/FONT&gt;" and export the result to Excel file for analysis.&lt;/P&gt;
&lt;P&gt;Also please set&amp;nbsp;&lt;FONT face="courier new,courier"&gt;SOURCE_CAPTURE&lt;/FONT&gt; to &lt;FONT face="courier new,courier"&gt;Verbose&lt;/FONT&gt; (then reproduce the error) and attach both files to the support ticket, support team will help you further. Please do not upload these files here as community is publicly accessible to all visitors.&lt;/P&gt;
&lt;P&gt;BTW, this is a 4 nodes RAC (node 4 is closed). Are you sure the RAC works fine without any exception? any information is helpful to understand the environment.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1696690588717.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117829i0B880B3DD78A94F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1696690588717.png" alt="john_wang_0-1696690588717.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2023 15:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2126279#M7590</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-10-07T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle change data capture error</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2126759#M7628</link>
      <description>&lt;P&gt;Hello, this has been resolved. The developer changed Change Data Capture to only look for read changes from the last day.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 19:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-change-data-capture-error/m-p/2126759#M7628</guid>
      <dc:creator>SungChungAmeren</dc:creator>
      <dc:date>2023-10-09T19:39:40Z</dc:date>
    </item>
  </channel>
</rss>

