<?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: Massive Performance Degradation since 12.1 Upgrade in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410948#M426675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had similar issues in customer environment. Ugrade from 11.2 to 12.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application load time went from 40 minutes to 1 hour 40 minutes. Pain point here was loading a large qvd (18gb) with some where clauses. A quite simple load required significantly longer time to complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A ticket is pending a bug approval in Qlik support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2018 08:32:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-07T08:32:37Z</dc:date>
    <item>
      <title>Massive Performance Degradation since 12.1 Upgrade</title>
      <link>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410944#M426671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else noticed a major slowdown in some of their reloads since upgrading from 11.2 to 12.1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one app in particular that has a lot of complex/large JOINs to tables in the script, before that data is reduced and saved to a QVD. The app used to take 2mins 20secs on average to reload but since the upgrade, it's now taking around 15mins 44secs. That's &lt;STRONG&gt;6.75&lt;/STRONG&gt; times longer than before which seem unusually high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance you can offer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 13:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410944#M426671</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2017-08-16T13:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Massive Performance Degradation since 12.1 Upgrade</title>
      <link>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410945#M426672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I wanted to share my progress with you, just in case anyone else is experiencing similar issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview Server: &lt;STRONG&gt;12.1 SR7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Potential Causes: QIX engine handles JOINS differently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transformation processes taking 6-7 times longer than in Qlikview 11.2. The app that causes the biggest problems has one particular table that needs to join to itself 12 times (using the same 2 fields each time) in order to generate a security key that is required for section access (using the hierarchy function doesn't complete all my requirements here, hence all the joins).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the 3 passes using a &lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;LEFT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;JOIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;(Table)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt;&lt;/SPAN&gt;, the size of the lines fetched starts to get significantly higher in 12.1 than in 11.2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;JOIN #&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;QV 11.2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;QV 12.1&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;779,040&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;779,040&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;865,471&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;865,471&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;865,471&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;865,471&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;800,132&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;912,459&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;801,224&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;959,447&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;802,316&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1,006,435&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;803,408&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1,053,423&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;804,500&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1,100,411&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;9&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;805,592&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1,147,399&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;806,684&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1,194,387&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;807,776&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1,241,375&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;808,868&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1,288,363&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of these joins is a table that is &lt;STRONG&gt;5,517,283&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt;&lt;/SPAN&gt; rows of data that is &lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;LEFT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;JOIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;ed to another table using a Unique Row Identifier. This same process in QV 11.2 only joins &lt;STRONG&gt;907,148 &lt;/STRONG&gt;rows of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Fix&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know when the series of &lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;LEFT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;JOIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;s are behaving differently but adding the &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt;&lt;/SPAN&gt; to the final join (mentioned below the table above) reduced the load from 15:44 to &lt;STRONG&gt;06:44&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By making the code more efficient (e.g. replacing a few &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;WILDMATCH &lt;/STRONG&gt;&lt;/SPAN&gt;functions in the script), I've reduced the load by another 2 mins 16 seconds, bringing it down to &lt;STRONG&gt;04:27&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to inform Qlik with my findings and I'll update this thread again if I make any more progress. I hope this helps you if you are experiencing similar issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410945#M426672</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2017-08-17T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Massive Performance Degradation since 12.1 Upgrade</title>
      <link>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410946#M426673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In stead of using Left Joins (with Distinct as qualifier), why not try using a Mapping Table. The data is loaded just once into memory and you can apply that mapping any number of times you want. The only thing is that you will end up with a table with only 779,040 rows - the starting value. Mapping loads will not create new rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, Mapping loads are 10 times more efficient than joins in Qlikview - with more predictable results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just one thing to keep in mind. If there's two rows that have the same KEY value, the first row will be used in the Mapping. So you might need to make the KEY unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 08:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410946#M426673</guid>
      <dc:creator>pieterkup</dc:creator>
      <dc:date>2017-09-21T08:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Massive Performance Degradation since 12.1 Upgrade</title>
      <link>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410947#M426674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Pieter. I agree with your suggestion but unfortunately, my problem isn't straight forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of the JOINS are to create a field that contains daily snapshot of an organisation hierarchy (created using Child ID &amp;amp; Parent ID fields). These fields are used to tag rows of data for use in a Hierarchy + Section Access. They need to look like this (&lt;STRONG&gt;bold&lt;/STRONG&gt; IDs need to be created in script):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Child_ID - Parent_ID&lt;/EM&gt; - &lt;STRONG&gt;Grandparent_ID1 &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;- Grandparent_ID2 &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;- Grandparent_ID3 &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;- Grandparent_ID4 &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;- Grandparent_ID5 &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;- Grandparent_ID6 &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;- Grandparent_ID7&lt;/STRONG&gt; AS New_Child_ID&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Parent_ID&lt;/EM&gt; - &lt;STRONG&gt;Grandparent_ID1 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;- Grandparent_ID2 -&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; Grandparent_ID3 -&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; Grandparent_ID4 -&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; Grandparent_ID5 -&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; Grandparent_ID6 -&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; Grandparent_ID7 - &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Grandparent_ID78&lt;/STRONG&gt; &lt;/SPAN&gt;AS New_Parent_ID&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relationships between child &amp;amp; parent can change at any given time (e.g. One day, the Child ID could be 1 and their parent could be 7, the next day it's parent could change to 12). As it changes so often, a child can have multiple parents over the data set's time period but they can only have one parent at a time so using joins for each day made sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I were to use your approach, it would look like the attached but I don't think I'll have a change to change it now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 11:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410947#M426674</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2017-10-25T11:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Massive Performance Degradation since 12.1 Upgrade</title>
      <link>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410948#M426675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had similar issues in customer environment. Ugrade from 11.2 to 12.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application load time went from 40 minutes to 1 hour 40 minutes. Pain point here was loading a large qvd (18gb) with some where clauses. A quite simple load required significantly longer time to complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A ticket is pending a bug approval in Qlik support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 08:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1410948#M426675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-07T08:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Massive Performance Degradation since 12.1 Upgrade</title>
      <link>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1613944#M445322</link>
      <description>&lt;P&gt;Mr. Erno,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have the same problem. And, when I run with version desktop , the proccess is more fast to comparate with version server..&lt;BR /&gt;&lt;BR /&gt;The "slow" started after upgrade 12.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Something &lt;SPAN&gt;answer&lt;/SPAN&gt; about your ticket?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*My english is very bad..sory.. talk from Brazil&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 15:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1613944#M445322</guid>
      <dc:creator>rmoraes_mp_rs</dc:creator>
      <dc:date>2019-08-19T15:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Massive Performance Degradation since 12.1 Upgrade</title>
      <link>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1637599#M446932</link>
      <description>&lt;P&gt;Any news about this?&lt;/P&gt;&lt;P&gt;I've upgraded from QV 11 to 12.3.&lt;/P&gt;&lt;P&gt;For me it only affects mapping Load Statements.&lt;/P&gt;&lt;P&gt;Normal loads are fetching same rows. But Mapping Loads are 5 times slower then before.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 05:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Massive-Performance-Degradation-since-12-1-Upgrade/m-p/1637599#M446932</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2019-10-21T05:45:55Z</dc:date>
    </item>
  </channel>
</rss>

