<?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: Can we set upsert mode  in full load only task ? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2420416#M9554</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243606"&gt;@gayatri235&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In Qlik Replicate, a full load task by default drops the target table if it exists, creates it, then selects all rows from the source and performs inserts into the target table. This is for the base tables.&lt;/P&gt;
&lt;P&gt;However, if you want to implement UPSERT and MERGE concept in Qlik Replicate, you can apply Conflicts Handling Policy settings to tasks. This allows you to handle situations where a record might not be there for an update or is already there for an insert.&lt;/P&gt;
&lt;P&gt;Please note that this setting will only bring over missing records if they are updated on the source. There could be many records still missing on the target.&lt;/P&gt;
&lt;P&gt;Also, keep in mind that selecting this option could impact performance as Replicate instructs the source database to return the table records by Primary Key order and then removes any duplicate records.&lt;/P&gt;
&lt;P&gt;I hope this helps! Let me know if you have any other queries.&lt;/P&gt;
&lt;PRE&gt;If our response has been helpful, please consider clicking "Accept as Solution". &lt;BR /&gt;This will assist other users in easily finding the answer.&amp;nbsp;‌&lt;/PRE&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Deepak Ahirwar&lt;/P&gt;</description>
    <pubDate>Sun, 18 Feb 2024 16:02:37 GMT</pubDate>
    <dc:creator>deepaksahirwar</dc:creator>
    <dc:date>2024-02-18T16:02:37Z</dc:date>
    <item>
      <title>Can we set upsert mode  in full load only task ?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2419874#M9532</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;We need to schedule full load like every 20 mins which we did through Task Scheduler.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But can we do some setting Full Load only task to extract new records and update at target&amp;nbsp; (Basically Upsert mode)&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Gayatri.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 09:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2419874#M9532</guid>
      <dc:creator>gayatri235</dc:creator>
      <dc:date>2024-02-16T09:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set upsert mode  in full load only task ?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2419884#M9533</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243606"&gt;@gayatri235&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Qlik Replicate doesn't directly support incremental loading, using pass-through filters to define loading conditions can be a viable alternative. Pass-through filters allow you to specify conditions for loading data into the target system based on certain criteria, which can help achieve incremental loading behavior.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Below is the reference article&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Filter-for-last-90-days-of-data-in-Qlik-Replicate/ta-p/1880761" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Filter-for-last-90-days-of-data-in-Qlik-Replicate/ta-p/1880761&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Arun&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 09:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2419884#M9533</guid>
      <dc:creator>aarun_arasu</dc:creator>
      <dc:date>2024-02-16T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set upsert mode  in full load only task ?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2419885#M9534</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243606"&gt;@gayatri235&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for contacting Qlik community&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, the functionality to selectively fetch records during a full load task, where all records from the source are fetched, is not available. However, there's a potential solution: by setting flags for newly added records as "Open," we can implement a &lt;A title="https://community.qlik.com/t5/Official-Support-Articles/Filter-for-last-90-days-of-data-in-Qlik-Replicate/ta-p/1880761" href="https://community.qlik.com/t5/Official-Support-Articles/Filter-for-last-90-days-of-data-in-Qlik-Replicate/ta-p/1880761" target="_self"&gt;Fullload Passthru Filter&lt;/A&gt; to fetch only these flagged records during the full load process.&lt;/P&gt;
&lt;P&gt;Here's how it works:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Set flags for newly added records as "Open" in the source system.&lt;/LI&gt;
&lt;LI&gt;Utilize the &lt;A title="Fullload Passthru Filter" href="https://community.qlik.com/t5/Official-Support-Articles/Filter-for-last-90-days-of-data-in-Qlik-Replicate/ta-p/1880761" target="_self"&gt;Fullload Passthru Filter&lt;/A&gt; feature to filter and fetch only records marked as "Open" during the full load.&lt;/LI&gt;
&lt;LI&gt;After the full load process is complete, reset the flags for these records to "Closed" using an internal script or mechanism.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This approach allows for a more selective and efficient full load process, focusing only on the records that meet the specified criteria. However, it requires coordination between setting and resetting the flags in the source system and configuring the Fullload Passthru Filter in the data integration process.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 09:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2419885#M9534</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2024-02-16T09:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set upsert mode  in full load only task ?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2419917#M9538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243606"&gt;@gayatri235&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I would suggest writing a script to create a view. Before full load starts, re/create a view that contains new records only and let Replicate loads data from this view.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 10:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2419917#M9538</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-02-16T10:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set upsert mode  in full load only task ?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2420357#M9553</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243606"&gt;@gayatri235&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;UPSERT mode is meaningful for CDC stage: The &lt;FONT face="courier new,courier"&gt;INSERT&lt;/FONT&gt; operation will convert to &lt;FONT face="courier new,courier"&gt;UPDATE&lt;/FONT&gt; operation in case of PK violation occurs; The &lt;FONT face="courier new,courier"&gt;UPDATE&lt;/FONT&gt; operation will convert to &lt;FONT face="courier new,courier"&gt;INSERT&lt;/FONT&gt; operation if the target row does not exists. There is a 'logic' to determine if the UPSERT applies.&lt;/P&gt;
&lt;P&gt;However during Full Load initial stage, there is NO logic. Qlik Replicate utilizes &lt;FONT face="courier new,courier"&gt;LOAD&lt;/FONT&gt;, or &lt;FONT face="courier new,courier"&gt;COPY&lt;/FONT&gt; programs (depends on the various database functions) to 'upload' the history data records to target database to gain the best load performance, a logic of detecting target row(s) existence will slow down the load performance. UPSERT mode is not applicable for Full Load.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2024 02:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2420357#M9553</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-02-18T02:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set upsert mode  in full load only task ?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2420416#M9554</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243606"&gt;@gayatri235&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In Qlik Replicate, a full load task by default drops the target table if it exists, creates it, then selects all rows from the source and performs inserts into the target table. This is for the base tables.&lt;/P&gt;
&lt;P&gt;However, if you want to implement UPSERT and MERGE concept in Qlik Replicate, you can apply Conflicts Handling Policy settings to tasks. This allows you to handle situations where a record might not be there for an update or is already there for an insert.&lt;/P&gt;
&lt;P&gt;Please note that this setting will only bring over missing records if they are updated on the source. There could be many records still missing on the target.&lt;/P&gt;
&lt;P&gt;Also, keep in mind that selecting this option could impact performance as Replicate instructs the source database to return the table records by Primary Key order and then removes any duplicate records.&lt;/P&gt;
&lt;P&gt;I hope this helps! Let me know if you have any other queries.&lt;/P&gt;
&lt;PRE&gt;If our response has been helpful, please consider clicking "Accept as Solution". &lt;BR /&gt;This will assist other users in easily finding the answer.&amp;nbsp;‌&lt;/PRE&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Deepak Ahirwar&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2024 16:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2420416#M9554</guid>
      <dc:creator>deepaksahirwar</dc:creator>
      <dc:date>2024-02-18T16:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set upsert mode  in full load only task ?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2422243#M9689</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;There is a big deference between full load/initial_load - have Different purpose. Full loads create table and insert the data sequentially onto the target side.&amp;nbsp; So that table become identical on both side source and target side.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Upsert mode is used to overcome&amp;nbsp;data mismatch&amp;nbsp;where target table are not managed by Qlik replicate&amp;nbsp;at Full load stage:&amp;nbsp;-&amp;nbsp;is something comes into picture when Qlik replicate is using SQL&amp;nbsp;extract to apply changes&amp;nbsp;&lt;/SPAN&gt;onto target&amp;nbsp;table.&amp;nbsp;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;INSERT&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;operation will convert to&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;UPDATE&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;operation in case of PK violation occurs; The&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;UPDATE&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;operation will convert to&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;INSERT&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;operation if the target row does not exist.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;However,&lt;SPAN&gt;&amp;nbsp;performing the Full of a view based upon the table as per change data is a feasible&amp;nbsp;solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Sushil Kumar&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 11:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Can-we-set-upsert-mode-in-full-load-only-task/m-p/2422243#M9689</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-02-22T11:47:55Z</dc:date>
    </item>
  </channel>
</rss>

