<?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: Replication functionality in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-functionality/m-p/2473330#M12185</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/305084"&gt;@nahowe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for contacting Qlik community forum.&lt;/P&gt;
&lt;P&gt;If a row that was deleted and&amp;nbsp;added back later, it should be treated as a &lt;EM class="Highlight ht2c6c403f-9a8b-4443-aff9-302b6cb5b142"&gt;new&lt;/EM&gt; row during replication. However, if the row was previously deleted on the target as part of the CDC process (due to a &lt;CODE&gt;DELETE&lt;/CODE&gt; DML operation), the &lt;EM class="Highlight ht2c6c403f-9a8b-4443-aff9-302b6cb5b142"&gt;new&lt;/EM&gt; transaction will still be handled correctly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can follow the below community link on order to handle the Duplicate records:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Duplicate-Data-Handling" href="https://community.qlik.com/t5/Official-Support-Articles/Duplicate-Data-Troubleshooting-Guide/ta-p/1691698" target="_self"&gt;Duplicate-Data-Handling&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Qlik-Replicate-Apply-conflicts" href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Apply-conflicts-do-not-apply-to-Store-Changes/ta-p/2029009" target="_blank" rel="noopener"&gt;Qlik-Replicate-Apply-conflicts&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jul 2024 04:58:07 GMT</pubDate>
    <dc:creator>SachinB</dc:creator>
    <dc:date>2024-07-27T04:58:07Z</dc:date>
    <item>
      <title>Replication functionality</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-functionality/m-p/2473308#M12183</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need help understanding something I can't seem to find in documentation. Our replication use case is to replicate to the target everything that wasn't deleted by a specific user in the source. In the scenario that a row was deleted in source, replicated to target, but added back to source later - How does Qlik handle unwanted duplicated records in the target?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 18:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-functionality/m-p/2473308#M12183</guid>
      <dc:creator>nahowe</dc:creator>
      <dc:date>2024-07-26T18:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Replication functionality</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-functionality/m-p/2473330#M12185</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/305084"&gt;@nahowe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for contacting Qlik community forum.&lt;/P&gt;
&lt;P&gt;If a row that was deleted and&amp;nbsp;added back later, it should be treated as a &lt;EM class="Highlight ht2c6c403f-9a8b-4443-aff9-302b6cb5b142"&gt;new&lt;/EM&gt; row during replication. However, if the row was previously deleted on the target as part of the CDC process (due to a &lt;CODE&gt;DELETE&lt;/CODE&gt; DML operation), the &lt;EM class="Highlight ht2c6c403f-9a8b-4443-aff9-302b6cb5b142"&gt;new&lt;/EM&gt; transaction will still be handled correctly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can follow the below community link on order to handle the Duplicate records:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Duplicate-Data-Handling" href="https://community.qlik.com/t5/Official-Support-Articles/Duplicate-Data-Troubleshooting-Guide/ta-p/1691698" target="_self"&gt;Duplicate-Data-Handling&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Qlik-Replicate-Apply-conflicts" href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Apply-conflicts-do-not-apply-to-Store-Changes/ta-p/2029009" target="_blank" rel="noopener"&gt;Qlik-Replicate-Apply-conflicts&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2024 04:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-functionality/m-p/2473330#M12185</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2024-07-27T04:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Replication functionality</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replication-functionality/m-p/2473339#M12190</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/305084"&gt;@nahowe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If I understand is correctly, you are meaning:&lt;/P&gt;
&lt;P&gt;1- You added filter in the task to filter out the DELETE operations;&lt;/P&gt;
&lt;P&gt;2- You deleted a row in source side (the DELETE will be filtered out so the specific row exists in target table still), and then you insert the same PK row back in source side.&lt;/P&gt;
&lt;P&gt;In this case, what you want Qlik Replicate to do? If you want Replicate UPDATE the target row if it exists, then you may set the task to UPSERT Mode. So far if the INSERT operation will be converted to UPDATE operation to make sure no&amp;nbsp;&lt;SPAN&gt;unwanted duplicate records in the target side.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Certainly there are more options as blow, please check &lt;A title="Duplicate key when applying an INSERT" href="https://help.qlik.com/en-US/replicate/May2024/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_applyErrorStab.htm#ar_tasks_custom_1624443382_1695278:~:text=Duplicate%20key%20when,Processing%20Tuning." target="_blank" rel="noopener"&gt;Duplicate key when applying an INSERT&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class="ui_item"&gt;Ignore record&lt;/SPAN&gt;&lt;/STRONG&gt;: The task continues and the error is ignored.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class="ui_item"&gt;Log record&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;&amp;nbsp;to the exceptions table&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(default): The task continues and the record is written to the exceptions table.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class="ui_item"&gt;Suspend table&lt;/SPAN&gt;&lt;/STRONG&gt;: The task continues but data from the table with the error record is moved into an error state and its data is not replicated.&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="ui_item"&gt;Stop task&lt;/SPAN&gt;&lt;/STRONG&gt;: The task is stopped and manual intervention is required.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="ui_item"&gt;Update the existing target record&lt;/SPAN&gt;&lt;/STRONG&gt;: The target record with the same primary key as the INSERTED source record is updated.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;&lt;STRONG&gt;Allow duplicates in the target&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Allows duplicate primary key records to be added to the target table. When&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Optimize inserts&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is enabled, this is the only option that is available at task level error handling.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2024 08:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replication-functionality/m-p/2473339#M12190</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-27T08:09:19Z</dc:date>
    </item>
  </channel>
</rss>

