<?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: What does Reload Target do on a CDC only task? in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-What-does-Reload-Target-do-on-a-CDC-only-task/ta-p/2047498</link>
    <description>&lt;P&gt;In this article, we will explain what occurs when you stop a CDC only task and issue a Run &amp;gt; Reload Target.&amp;nbsp; This will initiate the task in 'fresh start mode' and begin processing changes from that point in time.&amp;nbsp; Thus, if a task stops processing changes at 2:00 AM and you issue a reload target at 7:00 AM, you will lose 5 hours' worth of changes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the scenario above, this is where the &lt;A href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedEMReplicate/Tasks%20at%20Runtime/monitor_detailed_run_options.htm" target="_blank" rel="noopener"&gt;Advanced run -&amp;gt; restart from time or SCN&lt;/A&gt;&amp;nbsp;comes in handy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Start a task with Full load and CDC enabled with one table to be replicated.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start a task.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102451i5C08336C88B39FB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="start a task.png" alt="start a task.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;In the log we see:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;00008248: 2023-03-07T20:11:42 [TASK_MANAGER ]I: Task 'mysql_baddate' running full load and CDC in fresh start mode (replicationtask.c:1767)&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;The full load completes, and all records are there. Now we are running in CDC mode.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="run in CDC mode.png" style="width: 512px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102452i5AC5E7534D86277E/image-size/large?v=v2&amp;amp;px=999" role="button" title="run in CDC mode.png" alt="run in CDC mode.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Test an insert on source table:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO kelly.Persons2 VALUES(37,'rita','2010-11-01 05:00:00');&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Insert completes and shows in target table.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="insert completed.png" style="width: 655px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102453iB8BD6DCDB93D74CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="insert completed.png" alt="insert completed.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Let's say I update the task to run CDC only. Stop the task, open task settings, disable Full load, save changes.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Full Reload Processing is Off.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102454i64B64A7963CBD3DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Full Reload Processing is Off.png" alt="Full Reload Processing is Off.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Make another insert on the source table:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO kelly.Persons2 VALUES(38,'John','2010-11-01 05:00:00');&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Task is resumed.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;00009936: 2023-03-07T20:26:22 [TASK_MANAGER ]I: Task 'mysql_baddate' running CDC only in resume mode (replicationtask.c:1767)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Change is picked up successfully on the resume.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="change is successfully picked up.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102455iA70E17B40F5E2901/image-size/large?v=v2&amp;amp;px=999" role="button" title="change is successfully picked up.png" alt="change is successfully picked up.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="changes successfully listed.png" style="width: 610px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102456i0F22F8A5AF28B6BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="changes successfully listed.png" alt="changes successfully listed.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Let's say I stop the task again and make a change on source.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO kelly.Persons2 VALUES(39,'Jimmy','2010-11-01 05:00:00');&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Then do a Run &amp;gt; Reload Target&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;00009868: 2023-03-07T20:28:26 [TASK_MANAGER ]I: Task 'mysql_baddate' running CDC only in fresh start mode (replicationtask.c:1767)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;This switches the task to fresh start mode and will not pick up most recent record (&lt;FONT face="courier new,courier"&gt;Jimmy&lt;/FONT&gt;).&lt;BR /&gt;&lt;BR /&gt;Only after the fresh start is initiated will it start processing changes.&lt;BR /&gt;&lt;BR /&gt;Make an insert on the source table: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO kelly.Persons2 VALUES(40,'Jessie','2010-11-01 05:00:00');&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="insert made.png" style="width: 588px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102457i7A5FE19DCD6C7CE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="insert made.png" alt="insert made.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Conclusion&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;A Run &amp;gt; Reload on CDC only task is &lt;STRONG&gt;not&lt;/STRONG&gt; the same as a 'Reload' for a Full load task. It will only begin processing changes from that point in time when the fresh start mode was initiated.&lt;/P&gt;
&lt;P&gt;If your CDC only task experiences an outage or an issue with the source, you need to have steps in place to run an Advanced run &amp;gt; Restart from Time/or SCN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&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;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2023 07:38:38 GMT</pubDate>
    <dc:creator>KellyHobson</dc:creator>
    <dc:date>2023-03-10T07:38:38Z</dc:date>
    <item>
      <title>Qlik Replicate: What does Reload Target do on a CDC only task?</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-What-does-Reload-Target-do-on-a-CDC-only-task/ta-p/2047498</link>
      <description>&lt;P&gt;In this article, we will explain what occurs when you stop a CDC only task and issue a Run &amp;gt; Reload Target.&amp;nbsp; This will initiate the task in 'fresh start mode' and begin processing changes from that point in time.&amp;nbsp; Thus, if a task stops processing changes at 2:00 AM and you issue a reload target at 7:00 AM, you will lose 5 hours' worth of changes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the scenario above, this is where the &lt;A href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedEMReplicate/Tasks%20at%20Runtime/monitor_detailed_run_options.htm" target="_blank" rel="noopener"&gt;Advanced run -&amp;gt; restart from time or SCN&lt;/A&gt;&amp;nbsp;comes in handy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Start a task with Full load and CDC enabled with one table to be replicated.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start a task.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102451i5C08336C88B39FB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="start a task.png" alt="start a task.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;In the log we see:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;00008248: 2023-03-07T20:11:42 [TASK_MANAGER ]I: Task 'mysql_baddate' running full load and CDC in fresh start mode (replicationtask.c:1767)&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;The full load completes, and all records are there. Now we are running in CDC mode.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="run in CDC mode.png" style="width: 512px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102452i5AC5E7534D86277E/image-size/large?v=v2&amp;amp;px=999" role="button" title="run in CDC mode.png" alt="run in CDC mode.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Test an insert on source table:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO kelly.Persons2 VALUES(37,'rita','2010-11-01 05:00:00');&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Insert completes and shows in target table.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="insert completed.png" style="width: 655px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102453iB8BD6DCDB93D74CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="insert completed.png" alt="insert completed.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Let's say I update the task to run CDC only. Stop the task, open task settings, disable Full load, save changes.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Full Reload Processing is Off.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102454i64B64A7963CBD3DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Full Reload Processing is Off.png" alt="Full Reload Processing is Off.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Make another insert on the source table:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO kelly.Persons2 VALUES(38,'John','2010-11-01 05:00:00');&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Task is resumed.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;00009936: 2023-03-07T20:26:22 [TASK_MANAGER ]I: Task 'mysql_baddate' running CDC only in resume mode (replicationtask.c:1767)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Change is picked up successfully on the resume.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="change is successfully picked up.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102455iA70E17B40F5E2901/image-size/large?v=v2&amp;amp;px=999" role="button" title="change is successfully picked up.png" alt="change is successfully picked up.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="changes successfully listed.png" style="width: 610px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102456i0F22F8A5AF28B6BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="changes successfully listed.png" alt="changes successfully listed.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Let's say I stop the task again and make a change on source.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO kelly.Persons2 VALUES(39,'Jimmy','2010-11-01 05:00:00');&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Then do a Run &amp;gt; Reload Target&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;00009868: 2023-03-07T20:28:26 [TASK_MANAGER ]I: Task 'mysql_baddate' running CDC only in fresh start mode (replicationtask.c:1767)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;This switches the task to fresh start mode and will not pick up most recent record (&lt;FONT face="courier new,courier"&gt;Jimmy&lt;/FONT&gt;).&lt;BR /&gt;&lt;BR /&gt;Only after the fresh start is initiated will it start processing changes.&lt;BR /&gt;&lt;BR /&gt;Make an insert on the source table: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INSERT INTO kelly.Persons2 VALUES(40,'Jessie','2010-11-01 05:00:00');&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="insert made.png" style="width: 588px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102457i7A5FE19DCD6C7CE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="insert made.png" alt="insert made.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Conclusion&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;A Run &amp;gt; Reload on CDC only task is &lt;STRONG&gt;not&lt;/STRONG&gt; the same as a 'Reload' for a Full load task. It will only begin processing changes from that point in time when the fresh start mode was initiated.&lt;/P&gt;
&lt;P&gt;If your CDC only task experiences an outage or an issue with the source, you need to have steps in place to run an Advanced run &amp;gt; Restart from Time/or SCN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&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;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 07:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-What-does-Reload-Target-do-on-a-CDC-only-task/ta-p/2047498</guid>
      <dc:creator>KellyHobson</dc:creator>
      <dc:date>2023-03-10T07:38:38Z</dc:date>
    </item>
  </channel>
</rss>

