<?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: How do these Error Handling settings function without primary keys? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2433516#M10258</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;primary keys&amp;nbsp;are serves not only as a means to uniquely identify each record but also supports the performance, integrity, defining primary keys is essential for efficient and reliable way for DML Operation as&amp;nbsp;This is crucial for accurately identifying records.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The more QR accurately and&amp;nbsp;efficiently identify the records it will process&amp;nbsp;UPDATE/DELETE faster, in that PK plays a very big role.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sushil Kumar&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 01:56:20 GMT</pubDate>
    <dc:creator>SushilKumar</dc:creator>
    <dc:date>2024-03-22T01:56:20Z</dc:date>
    <item>
      <title>How do these Error Handling settings function without primary keys?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432587#M10210</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If there is no primary key on the target database how does this function? I know that according to this article:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Implementing-UPSERT-and-MERGE-modes-by-applying-a/ta-p/1780009" target="_self"&gt;Click here&lt;/A&gt;, it does a delete of all the records in the batch then just does an insert. However if there are no primary keys to identify the record, does it simply scan the table till it finds it? Assume the task is initially in batch apply processing mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is for a task that has only tables without primary keys and searching for ways to stop it from entering one-by-one mode whenever changes appear. Any pointers with this scenario would be helpful. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MoeyE_0-1710887341985.png" style="width: 601px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162334iD8C035C042E7EB6C/image-dimensions/601x257?v=v2" width="601" height="257" role="button" title="MoeyE_0-1710887341985.png" alt="MoeyE_0-1710887341985.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 22:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432587#M10210</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-03-19T22:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do these Error Handling settings function without primary keys?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432603#M10212</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Mohammed,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for opening the article. Good question!&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Assume the task is initially in batch apply processing mode.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A title="Batch Optimized Apply mode requires the table has Unique Index or Primary Key" href="https://help.qlik.com/en-US/replicate/November2023/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_applychangtunestab.htm#ar_tasks_custom_1624443382_1694425:~:text=Changes%20to%20tables%20without%20a%20Unique%20Index%20or%20Primary%20Key%20will%20always%20be%20applied%20in%20Transactional%20apply%20mode." target="_blank" rel="noopener"&gt;Batch Optimized Apply mode requires the table has Unique Index or Primary Key&lt;/A&gt;, otherwise it will be switch to Transactional Apply mode.&lt;/P&gt;
&lt;P&gt;Regarding the error handling policy and one-by-one mode doubts,&amp;nbsp;If you can share the source/target databases type, we may confirm it for you again, much better if you can open a support ticket.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 01:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432603#M10212</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-03-20T01:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do these Error Handling settings function without primary keys?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432605#M10213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;As John mentioned earlier, please provide source/target database types since the handling method may vary. I observe that "Apply Conflicts Handling Policy" setting may affect also.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In my environment, when I set "Insert the missing target record", INSERT records are inserted into the attrep_change table. However, if the setting is "Log record to the exceptions table", no changes are inserted into the same table.&lt;BR /&gt;&lt;BR /&gt;For further investigation, please submit a support ticket and provide a diagnostic package.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 02:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432605#M10213</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-03-20T02:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do these Error Handling settings function without primary keys?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432606#M10214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Source is Oracle and target is SQL Server. Just wondering about the behavior in this particular scenario. Thanks.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 02:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432606#M10214</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-03-20T02:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do these Error Handling settings function without primary keys?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432621#M10215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Please find my test result based on your particular scenario.&lt;BR /&gt;&lt;BR /&gt;INSERT: Changes are applied from the attrep_change table.&lt;BR /&gt;UPDATE/DELETE: It is one-by-one.&lt;/P&gt;
&lt;P&gt;You can verify the result by enabling verbose logging on TARGET_APPLY.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 05:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2432621#M10215</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-03-20T05:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do these Error Handling settings function without primary keys?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2433516#M10258</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;primary keys&amp;nbsp;are serves not only as a means to uniquely identify each record but also supports the performance, integrity, defining primary keys is essential for efficient and reliable way for DML Operation as&amp;nbsp;This is crucial for accurately identifying records.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The more QR accurately and&amp;nbsp;efficiently identify the records it will process&amp;nbsp;UPDATE/DELETE faster, in that PK plays a very big role.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sushil Kumar&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 01:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-do-these-Error-Handling-settings-function-without-primary/m-p/2433516#M10258</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-03-22T01:56:20Z</dc:date>
    </item>
  </channel>
</rss>

