<?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: Data Gateway - File (via Direct Access gateway) – slow, bad performance in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-File-via-Direct-Access-gateway-slow-bad-performance/m-p/2522465#M14998</link>
    <description>&lt;P&gt;I have the same problem.&amp;nbsp;&lt;BR /&gt;Direct upload&amp;nbsp;QVD file to DafaFiles&amp;nbsp; using browser from machine with Qlik Data Gateway&amp;nbsp; &amp;nbsp;~ 200Mb/Sec&lt;BR /&gt;Upload using&amp;nbsp; Qlik Data Gateway&amp;nbsp; ~ 100Mb/Sec&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to speedup load using&amp;nbsp;Qlik Data Gateway?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2025 14:06:28 GMT</pubDate>
    <dc:creator>korsikov</dc:creator>
    <dc:date>2025-06-26T14:06:28Z</dc:date>
    <item>
      <title>Data Gateway - File (via Direct Access gateway) – slow, bad performance</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-File-via-Direct-Access-gateway-slow-bad-performance/m-p/2505909#M14582</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We would like to use File (via Direct Access gateway) however it seems to be significantly slower than fetching data from QVD file that resides on our Tenant. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For 2GB QVD file we need 3 to 4 more time to fetch the same file – in scenario when only one file is fetching a the same time. In the case we have 2 files loading in parallel then we need up to 5 times more to fetch this file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;According to Network Activity in Resource monitor the send speed for ConnectorAgent.exe is about 10-12 M B/sec – roughly 80 mpbs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Questions&lt;/U&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Do you have similar experience? Is it normal? Can someone provide some statistics from other environments?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Does the gateway have any shaping or maximum transfer speeds?&lt;/LI&gt;
&lt;LI&gt;Is there anything that we can change in our current set-up to boost the transfer speed?&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The connectoragent.exe gets an internal IPV6 address for the job, is this ok?&lt;/SPAN&gt; &lt;SPAN&gt;Or does it require/prefer ipv4?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;U&gt;Test environment set-up.&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Qlik Gateway host server: Intel®Xenon® Gold 6140 CPU @ 2.30GHz, 512 GB RAM - located in Sweden&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Qlik Tenant: eu.qlikcloud.com&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Test QVD file: Transactions_9; approx. 2GB &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;The connectoragent.exe gets an internal IPV6 address for the job&lt;/LI&gt;
&lt;LI&gt;Microsoft .NET Framework 4.7&lt;/LI&gt;
&lt;LI&gt;Microsoft .NET Runtime – 8.0.6&lt;/LI&gt;
&lt;LI&gt;Gateway version 1.7.1&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;According to our local IT there is no WPAD – they used winhttp show proxy command to check it:&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_0-1739525811117.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177555i35D5D5A2ED3AC3C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="piotrek_w_0-1739525811117.png" alt="piotrek_w_0-1739525811117.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Test Results:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;1.Uploading QVD file directly to Qlik cloud (from gateway host server) – web browser: Edge:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Send B/sec ~ 26M&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_1-1739525877436.png" style="width: 528px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177556iC483E4F1DCDDF92D/image-dimensions/528x65?v=v2" width="528" height="65" role="button" title="piotrek_w_1-1739525877436.png" alt="piotrek_w_1-1739525877436.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;2.&amp;nbsp;Load test QVD file that was uploaded and saved previously on our tenant – we needed 60 sec to load file:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_2-1739525925614.png" style="width: 257px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177557i9E1BE276650072DF/image-dimensions/257x284?v=v2" width="257" height="284" role="button" title="piotrek_w_2-1739525925614.png" alt="piotrek_w_2-1739525925614.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;3.&amp;nbsp;Uploading the same QVD file via Data Gatway.&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Send B/sec ~ 10M – we need more than 200 sec to upload file:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_3-1739525977131.png" style="width: 270px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177558i1D6FB380AFB5DCEC/image-dimensions/270x204?v=v2" width="270" height="204" role="button" title="piotrek_w_3-1739525977131.png" alt="piotrek_w_3-1739525977131.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_4-1739526026868.png" style="width: 518px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177559i39CC24AAF447B195/image-dimensions/518x66?v=v2" width="518" height="66" role="button" title="piotrek_w_4-1739526026868.png" alt="piotrek_w_4-1739526026868.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;4. Uploading 2 files in parallel:&lt;/U&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I created a copy of the test QVD (Transactions_10) file and run two different scripts to check what happen when we would like to read this data in parallel&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_5-1739526236814.png" style="width: 215px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177560iA6E02327C60B63BA/image-dimensions/215x264?v=v2" width="215" height="264" role="button" title="piotrek_w_5-1739526236814.png" alt="piotrek_w_5-1739526236814.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_6-1739526244551.png" style="width: 197px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177561iC84F0E1BCAE0695B/image-dimensions/197x245?v=v2" width="197" height="245" role="button" title="piotrek_w_6-1739526244551.png" alt="piotrek_w_6-1739526244551.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I run these scripts almost in the same time I can see only one ConnectorAgent sending data ~ 11 M send b/sec:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_7-1739526349176.png" style="width: 506px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177562iC3156A5AB785371F/image-dimensions/506x61?v=v2" width="506" height="61" role="button" title="piotrek_w_7-1739526349176.png" alt="piotrek_w_7-1739526349176.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I run second script 10 sec later I can see that we have to&amp;nbsp;ConnectorAgents but the total speed is similar like in the first case...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="piotrek_w_8-1739526423977.png" style="width: 515px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177563iD6D317EA984E21F8/image-dimensions/515x76?v=v2" width="515" height="76" role="button" title="piotrek_w_8-1739526423977.png" alt="piotrek_w_8-1739526423977.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Piotr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 09:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-File-via-Direct-Access-gateway-slow-bad-performance/m-p/2505909#M14582</guid>
      <dc:creator>piotrek_w</dc:creator>
      <dc:date>2025-02-14T09:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data Gateway - File (via Direct Access gateway) – slow, bad performance</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-File-via-Direct-Access-gateway-slow-bad-performance/m-p/2505997#M14588</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/26482"&gt;@piotrek_w&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;There is no way for Data Gateway to be faster than Qlik Cloud - or even close to it.&lt;BR /&gt;I know Qlik Data Gateway allows us to access such large files, but I don't think this is a good strategy, especially for Capacity subscriptions - not sure if this is your case.&lt;/P&gt;
&lt;P&gt;I would recommend building/storing the QVDs on Qlik Cloud or S3 buckets, however, I can try these two things to improve the performance of Qlik Data Gateway:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;If possible, consider using Parquet files (BROTLI compression). These files are much smaller than QVD files and load way faster.&lt;/LI&gt;
&lt;LI&gt;You can play with your Data Gateway config file increasing the level of isolation for each one of your connectors. Look for&amp;nbsp;&lt;STRONG&gt;Turning on process isolation or changing the number or concurrent reloads&lt;/STRONG&gt; on this link for more information:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-troubleshooting.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-troubleshooting.htm&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This is the configuration settings we use on version 1.7.0 for your reference:&lt;/P&gt;
&lt;PRE&gt;#
# environment variables needed to start the service (ProgramData)
# NOTE: DO NOT LEAVE BLANK LINES
# Below parameters are related to on-premise Direct Gateway
#
# Connector Agent
AGENT_PORT=5050
AGENT_LOG_LEVEL=DEBUG
AGENT_HEALTH_FAIL_MINUTES_LIMIT=5
# DcaaS
DCAAS_PORT=9027
DCAAS_LOG_LEVEL=info
# ODBC Connector
ODBC_DATA_PORT_RANGE_START=50260
ODBC_PORT=3005
ODBC_LOG_LEVEL=INFO
#MAX PROCESS COUNT between 2 and 100
ODBC_MAX_PROCESS_COUNT=60
#None, Load
ODBC_PROCESS_ISOLATION_MODE=Load
# SAP BW Connector
SAPBW_DATA_PORT_RANGE_START=50270
SAPBW_PORT=3015
SAPBW_LOG_LEVEL=INFO
#MAX PROCESS COUNT between 2 and 100
SAPBW_MAX_PROCESS_COUNT=30
#None, Load
SAPBW_PROCESS_ISOLATION_MODE=Load
# SAP SQL Connector
SAPSQL_DATA_PORT_RANGE_START=50280
SAPSQL_PORT=3025
SAPSQL_LOG_LEVEL=INFO
#MAX PROCESS COUNT between 2 and 100
SAPSQL_MAX_PROCESS_COUNT=30
#None, Load
SAPSQL_PROCESS_ISOLATION_MODE=Load
# SAP Connector Package
SAPPACKAGE_DATA_PORT_RANGE_START=50290
SAPPACKAGE_PORT=3035
SAPPACKAGE_LOG_LEVEL=INFO
#MAX PROCESS COUNT between 2 and 100
SAPPACKAGE_MAX_PROCESS_COUNT=30
#None, Load
SAPPACKAGE_PROCESS_ISOLATION_MODE=Load
#SessionLifeTime before ReloadStart
EXTEND_FIRST_REQUEST_TIMEOUT=10
#This property should be used in conjunction with ODBC connector process isolation
ODBC_RELOAD_SESSION_LIFE=60
#Chunks cache memory for a reload
RELOAD_CACHE_MEMORY_MB=100
# File Connector
FILE_LOG_LEVEL=INFO
FILE_DATA_PORT_RANGE_START=50300
FILE_PORT=3045
#None, Load
FILE_PROCESS_ISOLATION_MODE=Load
#MAX PROCESS COUNT between 2 and 10
FILE_MAX_PROCESS_COUNT=10&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 19:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-File-via-Direct-Access-gateway-slow-bad-performance/m-p/2505997#M14588</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-02-14T19:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data Gateway - File (via Direct Access gateway) – slow, bad performance</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-File-via-Direct-Access-gateway-slow-bad-performance/m-p/2522465#M14998</link>
      <description>&lt;P&gt;I have the same problem.&amp;nbsp;&lt;BR /&gt;Direct upload&amp;nbsp;QVD file to DafaFiles&amp;nbsp; using browser from machine with Qlik Data Gateway&amp;nbsp; &amp;nbsp;~ 200Mb/Sec&lt;BR /&gt;Upload using&amp;nbsp; Qlik Data Gateway&amp;nbsp; ~ 100Mb/Sec&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to speedup load using&amp;nbsp;Qlik Data Gateway?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 14:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-File-via-Direct-Access-gateway-slow-bad-performance/m-p/2522465#M14998</guid>
      <dc:creator>korsikov</dc:creator>
      <dc:date>2025-06-26T14:06:28Z</dc:date>
    </item>
  </channel>
</rss>

