<?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: Latency in child Task in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158842#M8751</link>
    <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Team,&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;Thanks for reaching out to Qlik via Qlik Community Support page. Such issue require through analysis of Task Settings, hence request you to reach out to technical Support via a case and provide Diagnostics package .&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;Please refer to Replicate &lt;A href="https://community.qlik.com/t5/Knowledge/How-to-collect-Diagnostics-Package-from-Qlik-Replicate/ta-p/1815056" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/How-to-collect-Diagnostics-Package-from-Qlik-Replicate/ta-p/1815056&lt;/A&gt;&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;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sushil Kumar&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jan 2024 05:25:41 GMT</pubDate>
    <dc:creator>SushilKumar</dc:creator>
    <dc:date>2024-01-07T05:25:41Z</dc:date>
    <item>
      <title>Latency in child Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158823#M8745</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;The child task has 100k records in the on-disk target. Despite committing in the last 6 hours, no records were applied to the target. The task has automatically switched to 'one by one' mode. I have attached a log; please review it and let me know why records are going to on-disk. I attached only suspected part in the log.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Titus&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jan 2024 21:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158823#M8745</guid>
      <dc:creator>Titus</dc:creator>
      <dc:date>2024-01-06T21:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Latency in child Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158831#M8746</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Titus&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/255986"&gt;@Titus&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out to Qlik Community! It's a great idea to upload a partial task log file so far the sensitive information (database IP Address, user name etc) was removed however some basic information was deleted too, we do not know the source and target sides database type/version etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From the limited information, looks to me the latency was led by applying failure. In general Qlik Replicate will apply changes in Batch Apply Mode, if hitting errors, the apply mode will switch to 'one-by-one' mode automatically and Replicate will handle every row of the Batch, until each row is applied successfully or is recorded into&amp;nbsp;attrep_apply_exceptions table (if 'one-by-one' failed still), then switch back to Batch Apply Mode automatically. If there is a huge volume changes waiting for apply and hitting this error repeatedly, the switching must lead big latency:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1- the batch apply failed, then Replicate switch to 'one-by-one' mode automatically&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;2024-01-06T14:16:55 [TARGET_APPLY ]I: Bulk apply operation failed. Trying to execute bulk statements in 'one-by-one' mode&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- BTW, the 'one-by-one' apply SQL is pretty long:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;2024-01-06T14:26:14 [TARGET_APPLY ]T: RetCode: SQL_ERROR SqlState: 22000 NativeError: 100078 Message: String 'UPDATE "SAP_AP"."LIPS" SET "MANDT"='100', "VBELN"='8023490890', "POSNR"='000020', "PSTYV"='ZTBP', "ERNAM"='PREETHJ', "ERZET"='005208', "ERDAT"='20240106', "MATNR"='000000000000141002', "MATWA"='00000...' &lt;STRONG&gt;is too long and would be truncated&lt;/STRONG&gt; [1022502] (ar_odbc_stmt.c:4660)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Not sure what's the source table structure, maybe it's a very wide table (eg many columns in Oracle DB)? however I cannot see the original applying SQL as it's encrypted:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;~{AQAAANatIQ1mn9q6pGgUSgveMJi34akhSVomjc+nixRxuvIgwGgyM4ZuM1qtyAv5frXWJ7XMWacb2u7...&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You may run &lt;A title="repctl dumplog" href="https://community.qlik.com/t5/Official-Support-Articles/How-to-Decrypt-Qlik-Replicate-Verbose-Task-Log-Files/ta-p/1862114#:~:text=Run%20the%20following%20command%20to%20decrypt%20task%20logs%3A%0A%0Arepctl%20dumplog%20%3Clog%2Dfile%2Dpath%3E%20%3Clog.key%2Dpath%3E%20%5B%3E%20%3Cpath%2Dto%2Doutput%2Dfile%3E%5D" target="_blank" rel="noopener"&gt;repctl dumplog&lt;/A&gt; to decrypt the task log file and check the SQL to understand the RCA further.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if you still need help, please open a support ticket with below information:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Source table creation DDL&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Set SOURCE_CAPTURE/TARGET_APPLY to Verbose, recreate the error and then attach the &lt;A title="Diag Packages" href="https://help.qlik.com/en-US/replicate/November2023/Content/Global_Common/Content/SharedEMReplicate/Monitor%20and%20Control%20Tasks/monitor_download_diagnostics.htm#:~:text=To%20download%20a,Diagnostics%20Package." target="_blank" rel="noopener"&gt;Diag Packages&lt;/A&gt; to the support ticket&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Attach the decrypted task log file (which was generated in above step)&lt;/SPAN&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;</description>
      <pubDate>Sun, 07 Jan 2024 01:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158831#M8746</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-01-07T01:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Latency in child Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158842#M8751</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Team,&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;Thanks for reaching out to Qlik via Qlik Community Support page. Such issue require through analysis of Task Settings, hence request you to reach out to technical Support via a case and provide Diagnostics package .&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;Please refer to Replicate &lt;A href="https://community.qlik.com/t5/Knowledge/How-to-collect-Diagnostics-Package-from-Qlik-Replicate/ta-p/1815056" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/How-to-collect-Diagnostics-Package-from-Qlik-Replicate/ta-p/1815056&lt;/A&gt;&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;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sushil Kumar&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2024 05:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158842#M8751</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-01-07T05:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Latency in child Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158935#M8760</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/255986"&gt;@Titus&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;For the Qlik Data Integration child task is experiencing latency issues. &lt;BR /&gt;This could be due to a variety of factors. Here are some potential causes and solutions&lt;/P&gt;
&lt;P&gt;Task Mode: If the task is running in ‘one by one’ mode, it could cause latency. This mode is usually triggered when batches break.&lt;/P&gt;
&lt;P&gt;Source or Handling Latency: Check if the latency is on the source or handling side. If it’s handling latency, consider increasing buffers and buffer size. If it’s source latency, check for any current outages/service interruptions or if source maintenance is being carried out.&lt;/P&gt;
&lt;P&gt;Connection Issues: There might be connection issues to the target database. This could be due to DNS issues or other network-related problems.&lt;/P&gt;
&lt;P&gt;Volume of Changes: The volume of changes and the speed of the target database can affect performance.&lt;/P&gt;
&lt;P&gt;Logs and Diagnostics: Set SOURCE_CAPTURE to Verbose and resume the task, then upload the Diagnostic Packages. Also, upload the previous run task log file.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Deepak&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 03:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency-in-child-Task/m-p/2158935#M8760</guid>
      <dc:creator>deepaksahirwar</dc:creator>
      <dc:date>2024-01-08T03:06:10Z</dc:date>
    </item>
  </channel>
</rss>

