<?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 Latency in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933684#M2747</link>
    <description>&lt;P&gt;I have 2 Tasks.&lt;/P&gt;
&lt;P&gt;1st is using&amp;nbsp;&lt;SPAN&gt;SAP Application (DB) as a source, and targeting logstream&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;2nd is sourcing the logstream and targeting AWS Redshift.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Just checking the&amp;nbsp; monitors now, and latency is showing at over an hour.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;Can anyone tell me 'why' ? &lt;BR /&gt;Or at least where I start looking to find out why ?&lt;BR /&gt;&lt;BR /&gt;It surely should not take an hour to replicate a change from source to target, so assuming that I am either reading these stats incorrectly, or that I have configuration poorly set somewhere.&lt;BR /&gt;&lt;BR /&gt;Thanks for any guidance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Logstream Target" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79958i7D521D0239B15DB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="LogStream Target.PNG" alt="Logstream Target" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Logstream Target&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Redshift Target" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79959i81CCC52DD9416F20/image-size/large?v=v2&amp;amp;px=999" role="button" title="Redshift Target.PNG" alt="Redshift Target" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Redshift Target&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2022 14:56:11 GMT</pubDate>
    <dc:creator>simonB2020</dc:creator>
    <dc:date>2022-05-20T14:56:11Z</dc:date>
    <item>
      <title>Latency</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933684#M2747</link>
      <description>&lt;P&gt;I have 2 Tasks.&lt;/P&gt;
&lt;P&gt;1st is using&amp;nbsp;&lt;SPAN&gt;SAP Application (DB) as a source, and targeting logstream&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;2nd is sourcing the logstream and targeting AWS Redshift.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Just checking the&amp;nbsp; monitors now, and latency is showing at over an hour.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;Can anyone tell me 'why' ? &lt;BR /&gt;Or at least where I start looking to find out why ?&lt;BR /&gt;&lt;BR /&gt;It surely should not take an hour to replicate a change from source to target, so assuming that I am either reading these stats incorrectly, or that I have configuration poorly set somewhere.&lt;BR /&gt;&lt;BR /&gt;Thanks for any guidance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Logstream Target" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79958i7D521D0239B15DB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="LogStream Target.PNG" alt="Logstream Target" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Logstream Target&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Redshift Target" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79959i81CCC52DD9416F20/image-size/large?v=v2&amp;amp;px=999" role="button" title="Redshift Target.PNG" alt="Redshift Target" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Redshift Target&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 14:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933684#M2747</guid>
      <dc:creator>simonB2020</dc:creator>
      <dc:date>2022-05-20T14:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Latency</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933693#M2748</link>
      <description>&lt;P&gt;Hi Simon,&lt;/P&gt;
&lt;P&gt;When you click on the Apply Latency icon, there will be source and target latency graphs. Can you check to see if the first task (log stream parent/staging) has source, target, or latency from both?&lt;/P&gt;
&lt;P&gt;Source and target latency lines, match up if it's just source latency. Target lines would be greater than the source if there is target latency.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 15:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933693#M2748</guid>
      <dc:creator>Alan_Wang</dc:creator>
      <dc:date>2022-05-20T15:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Latency</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933700#M2749</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to Alan's comment about drilling into the Apply Latency to narrow down type, here is an article to help troubleshoot latency:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Troubleshooting-Qlik-Replicate-Latency-and-Performance-Issues/ta-p/1929456" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/Troubleshooting-Qlik-Replicate-Latency-and-Performance-Issues/ta-p/1929456&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Kelly&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 15:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933700#M2749</guid>
      <dc:creator>KellyHobson</dc:creator>
      <dc:date>2022-05-20T15:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Latency</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933715#M2750</link>
      <description>&lt;P&gt;Thanks Kelly, I'll have a read through and investigate !&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 15:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933715#M2750</guid>
      <dc:creator>simonB2020</dc:creator>
      <dc:date>2022-05-20T15:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Latency</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933734#M2751</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems like you have target latency only.&lt;BR /&gt;Start troubleshooting by Increasing the TARGET_APPLY to trace to monitor how frequently your batches are applying and how long each batch is taking. If you can't find more information on the log file and need help then please create a support case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 16:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1933734#M2751</guid>
      <dc:creator>SwathiPulagam</dc:creator>
      <dc:date>2022-05-20T16:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Latency</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1934000#M2757</link>
      <description>&lt;P&gt;I don't think it is TARGET_APPLY based latency, but rather source change reading.&lt;/P&gt;
&lt;P&gt;The latency 1H22M04 shown by&amp;nbsp; the "&lt;STRONG&gt;&lt;SPAN&gt;Redshift Target"&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;is the 'sum' of the logstream latency feeding it and the process itself. That logstream reading is fast and 'pre-sorted' so you are unlikely to see for example 'waiting for Tx to commit. That task seems to have almost 3 minutes&amp;nbsp; apply latency depending on your observation/screenshot skills. A couple of minutes is not great, we all want seconds, but it could well be in the realm intended configuration settings balancing latency against resource consumption (for example: transmit many small files often is more expensive than transmitted fewer, larger files less frequently)&lt;/P&gt;
&lt;P&gt;So with that let's now assume your main worry is the 1h19m13 "&lt;SPAN&gt;L&lt;STRONG&gt;ogstream Target&lt;/STRONG&gt;" task latency. Well, we see all outstanding TARGET_APPLY&amp;nbsp; transactions to be in memory. Normally (default settings) Transactions longer than a minute will move to disk, which is indicated as zero. Therefor I conclude there is no significant target latency in that task, which is normal for a logstream: it's just&amp;nbsp; write to a file with some added details (sequence numbers, time stamps, ... )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this is all correct, and I'm happy to be pointed out mistakes in my reasoning, than that leaves us source change reading latency. Unfortunately you only indicate SAP, not the underlying DB.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I recommend you study that area first. As alwasy be sure to have PERFORMANCE set to trace, and try SOURCE_CAPTURE trace&amp;nbsp; for a few minutes watching the reptask log file size. You may be able to go longer, or even go verbose but typically that generates to much stuff to look at too fast.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If more help is needed, then I recommend more details to be provided on the main (SAP) source configuration and may some comment or json snippets with core performance choices.&amp;nbsp; Which SAP endpoint flavor? Versions?&amp;nbsp; "RFC call batch:"?&amp;nbsp;&amp;nbsp;CDC Mode: trigger-based vs CDCLog-based CDC? Redo/Backup settings? Retention times? Please avoid screenshots in favor of raw (text) data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the end, you may well need to open a support case for this, but for that you need to verify the above observations and gather the requested details anyway.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps some,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hein.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 00:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Latency/m-p/1934000#M2757</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-05-23T00:20:56Z</dc:date>
    </item>
  </channel>
</rss>

