<?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: Count is not matching while processing delta records from Oracle in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021651#M4589</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/206431"&gt;@puja&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In general the rows number mismatch must be caused by INSERT or DELETE operations during the CDC stage, however it's irrelevant to roll back transactions as Replicate will not replicate/copy the roll back transactions, Only committed rows will be replicated.&lt;/P&gt;
&lt;P&gt;Let's narrow down the issue by steps:&lt;/P&gt;
&lt;P&gt;1. Confirm If the rows match after Full Load done - put the 'problematic' table in a test task with setting:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Before cached changes have been applied&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1672826043342.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97208iAA5F18E8E15D61C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1672826043342.png" alt="john_wang_0-1672826043342.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After the task stopped, check the rows number.&lt;/P&gt;
&lt;P&gt;2. Confirm if the mismatch caused by CDC, you may enable&amp;nbsp; both of "&lt;STRONG&gt;Apply Changes Processing&lt;/STRONG&gt;" and "&lt;STRONG&gt;Store Changes Processing&lt;/STRONG&gt;" , then &lt;STRONG&gt;RESUME&lt;/STRONG&gt; the task, after all the changed rows replicated to target side (latency is zero, or in a static status), then compare the 2 sides rows.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1672826282764.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97209i8753C7A6C5FA8623/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1672826282764.png" alt="john_wang_1-1672826282764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you found some rows missed in the target side table, then you may search the row from the store changes table to get more detailed information include the operation (INSERT/DELETE), timestamp, and columns values to figure out why it's not applied to target table successfully.&lt;/P&gt;
&lt;P&gt;BTW, enable source_capture/target_apply to verbose will help to understand the RCA by reading the task log file.&lt;/P&gt;
&lt;P&gt;If we can know the target side DB/Files type then it's helpful also.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2023 10:01:52 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-01-04T10:01:52Z</dc:date>
    <item>
      <title>Count is not matching while processing delta records from Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021329#M4577</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;We are facing count mismatch issues while processing delta records from Oracle table using change processing via Qlik Replicate.&lt;/P&gt;
&lt;P&gt;any idea on this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 13:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021329#M4577</guid>
      <dc:creator>puja</dc:creator>
      <dc:date>2023-01-03T13:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count is not matching while processing delta records from Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021336#M4578</link>
      <description>&lt;P&gt;Hi Puja,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you let us know more about the issue? Where do you see the mismatch, in the numbers Replicate UI reports or in the count() between Source and Target tables?&lt;/P&gt;
&lt;P&gt;Do you have any filters applied?&lt;/P&gt;
&lt;P&gt;Send us a screenshot illustrating if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Pedro&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 13:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021336#M4578</guid>
      <dc:creator>Pedro_Lopez</dc:creator>
      <dc:date>2023-01-03T13:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count is not matching while processing delta records from Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021424#M4579</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Puja,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;One reason you may be seeing a difference in the counts between a source and target table can have to do with a large source transaction with target latency.&lt;/P&gt;
&lt;P&gt;I have seen where a task has 20 minutes of latency and the task is processing tens of thousands changes for a table. If a record count were to be done at this time the counts would be different because not all changes (Insert's) from the source have made it to the target.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once the task did catch up to near zero latency the counts were in sync.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if this helps.&lt;/P&gt;
&lt;P&gt;Thank you, &lt;BR /&gt;Michael Litz &lt;BR /&gt;Technical Support Engineer&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 18:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021424#M4579</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2023-01-03T18:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count is not matching while processing delta records from Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021429#M4580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/206431"&gt;@puja&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another potential reason for different record counts between source &amp;amp; target is when the full load occurs during change processing. Some pending changes may not be included as we only replicate committed changes to the target.&lt;/P&gt;
&lt;P&gt;From our User Guide here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_fullLoadTunetstab.htm#Full%20Load%20Tuning" target="_blank"&gt;Full Load Tuning #Full Load Tuning ‒ Qlik Replicate&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Transaction consistency timeout (seconds)&lt;/SPAN&gt;: Enter the number of seconds that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.Product variable"&gt;Qlik Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;waits for transactions to close, if they are open when the task starts, before beginning the Full Load operation. The default value is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;600&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(10 minutes).&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.Product variable"&gt;Qlik Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will begin the full load after the timeout value is reached even if there are open transactions.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Note:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;To replicate transactions that were open when Full Load started but were only committed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="_Override"&gt;after&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the timeout value was reached, you need to reload the target tables.&lt;/P&gt;
The task will wait for the open transactions to commit or rollback for the amount of time specified, then it will start to process the full load without these pending changes. It is a best practice to run a full load during a quiet time on the source.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 19:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021429#M4580</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-01-03T19:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count is not matching while processing delta records from Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021635#M4585</link>
      <description>&lt;P&gt;Count mismatch is between source(oracle)table and replicated table via Qlik Replicate.&lt;/P&gt;
&lt;P&gt;It seems ,mainly this mismatch is while processing delta records using change processing via Qlik replicate.&lt;/P&gt;
&lt;P&gt;This count mismatch is only for few tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 09:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021635#M4585</guid>
      <dc:creator>puja</dc:creator>
      <dc:date>2023-01-04T09:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count is not matching while processing delta records from Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021639#M4587</link>
      <description>&lt;P&gt;Thanks Michael&lt;/P&gt;
&lt;P&gt;We have checked the count and found the mismatch even once the latency is zero, the following day&lt;/P&gt;
&lt;P&gt;also, we checked the count the next day of when delta records processed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 09:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021639#M4587</guid>
      <dc:creator>puja</dc:creator>
      <dc:date>2023-01-04T09:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count is not matching while processing delta records from Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021641#M4588</link>
      <description>&lt;P&gt;Thanks Dana&lt;/P&gt;
&lt;P&gt;I could see some roll back transaction number in Change processing dashboard.&lt;/P&gt;
&lt;P&gt;How this roll back is happening at the Qlik side if Qlik processes the committed transactions only?&lt;/P&gt;
&lt;P&gt;Is it possible that we are getting the count mismatch due to rollback transactions?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 09:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021641#M4588</guid>
      <dc:creator>puja</dc:creator>
      <dc:date>2023-01-04T09:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count is not matching while processing delta records from Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021651#M4589</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/206431"&gt;@puja&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In general the rows number mismatch must be caused by INSERT or DELETE operations during the CDC stage, however it's irrelevant to roll back transactions as Replicate will not replicate/copy the roll back transactions, Only committed rows will be replicated.&lt;/P&gt;
&lt;P&gt;Let's narrow down the issue by steps:&lt;/P&gt;
&lt;P&gt;1. Confirm If the rows match after Full Load done - put the 'problematic' table in a test task with setting:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Before cached changes have been applied&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1672826043342.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97208iAA5F18E8E15D61C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1672826043342.png" alt="john_wang_0-1672826043342.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After the task stopped, check the rows number.&lt;/P&gt;
&lt;P&gt;2. Confirm if the mismatch caused by CDC, you may enable&amp;nbsp; both of "&lt;STRONG&gt;Apply Changes Processing&lt;/STRONG&gt;" and "&lt;STRONG&gt;Store Changes Processing&lt;/STRONG&gt;" , then &lt;STRONG&gt;RESUME&lt;/STRONG&gt; the task, after all the changed rows replicated to target side (latency is zero, or in a static status), then compare the 2 sides rows.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1672826282764.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97209i8753C7A6C5FA8623/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1672826282764.png" alt="john_wang_1-1672826282764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you found some rows missed in the target side table, then you may search the row from the store changes table to get more detailed information include the operation (INSERT/DELETE), timestamp, and columns values to figure out why it's not applied to target table successfully.&lt;/P&gt;
&lt;P&gt;BTW, enable source_capture/target_apply to verbose will help to understand the RCA by reading the task log file.&lt;/P&gt;
&lt;P&gt;If we can know the target side DB/Files type then it's helpful also.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 10:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Count-is-not-matching-while-processing-delta-records-from-Oracle/m-p/2021651#M4589</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-01-04T10:01:52Z</dc:date>
    </item>
  </channel>
</rss>

