<?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>article Qlik Replicate Troubleshooting Example: Latency on Hypercluster Azure SQL environment in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Troubleshooting-Example-Latency-on-Hypercluster/ta-p/2047070</link>
    <description>&lt;P&gt;A Qlik Replicate task has high latency and fails to start. Blocks were observed on the database and all available processors were consumed for a single, long-running Azure SQL transaction.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Errors to look out for:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 40001 NativeError: 1205 Message: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 1834) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. Line: 1 Column: -1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;Killed the long running transaction on Azure SQL and changed the MAX DOP (see img 01) setting to 8, then task was resumed. After few hours the tasks eventually started functioning as expected and latencies&amp;nbsp;came back to normal.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img 01" style="width: 708px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102496i697EAF371035BB37/image-size/large?v=v2&amp;amp;px=999" role="button" title="Database Properties.png" alt="img 01" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;img 01&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;The root cause that was identified, an update statement on target Azure SQL shown long wait and was blocking all the other transactions. One another reason identified was the MXDOP setting in Azure SQL DB was set as 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2023 12:07:03 GMT</pubDate>
    <dc:creator>Dineshan</dc:creator>
    <dc:date>2023-03-10T12:07:03Z</dc:date>
    <item>
      <title>Qlik Replicate Troubleshooting Example: Latency on Hypercluster Azure SQL environment</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Troubleshooting-Example-Latency-on-Hypercluster/ta-p/2047070</link>
      <description>&lt;P&gt;Hypercluster Azure SQL environment troubleshooting&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 12:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Troubleshooting-Example-Latency-on-Hypercluster/ta-p/2047070</guid>
      <dc:creator>Dineshan</dc:creator>
      <dc:date>2023-03-10T12:07:03Z</dc:date>
    </item>
  </channel>
</rss>

