<?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: Optimized .QVD Confusion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499258#M1133679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I am starting to understand more clearly. When creating the .QVD, you can have as many transformations, operations, or conditions as you want. But then when you absorb the .QVD into a .QVW you have to watch what transformations, operations, or conditions you are using for the load to continue to be optimized. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for sharing your knowledge!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Nov 2013 15:12:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-08T15:12:18Z</dc:date>
    <item>
      <title>Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499254#M1133675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QlikCommunity,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been researching the best practices of .QVD use, and have been left with one question regarding the optimization of .QVD loads. When it is said that a .QVD is optimized, does this mean the .QVW that is creating the .QVD will create it more efficiently and quicker? Or does an optimized .QVD mean that the .QVW absorbing the .QVD's will do so more efficiently and quicker?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was my assumption that an optimized .QVD was only quicker when being created (or loaded to incrementally). If this is the case, a .QVD that is recreated nightly would not necessarily benefit from optimization. But rather it would be better to move the data transformations to the .QVD so that the application .QVW does not have to do them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if my thoughts/questions aren't clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help QlikCommunity!&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 14:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499254#M1133675</guid>
      <dc:creator />
      <dc:date>2013-11-08T14:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499255#M1133676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your're mixing things here. There is no optimzed QVD file format (could be optimized in size by using smaller data types and/or fields with less cardinality althought) but there is an optimized QVD LOAD. Optimized load means the fastest way to load data from a QVD file into memory (and QVW).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 14:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499255#M1133676</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-11-08T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499256#M1133677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The optimised QVD is a method for loading the QVD into your QVW in the fastest way possible.&lt;/P&gt;&lt;P&gt;There are rules associated with this, and some script operations or conditions will stop the QVD from being loaded optimised. Loading from a QVD is quick anyway, but the optimised load dumps the entire file straight into RAM (as far as i know).&lt;/P&gt;&lt;P&gt;There are some posts / blogs on the community about the rules to allow an optimised load, i'll post a link if i find them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 14:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499256#M1133677</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2013-11-08T14:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499257#M1133678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a great post by &lt;A href="https://community.qlik.com/qlik-users/4484"&gt;Steve Dark&lt;/A&gt; which details information about the optimised QVD loading here&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/" title="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/"&gt;http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 15:09:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499257#M1133678</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2013-11-08T15:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499258#M1133679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I am starting to understand more clearly. When creating the .QVD, you can have as many transformations, operations, or conditions as you want. But then when you absorb the .QVD into a .QVW you have to watch what transformations, operations, or conditions you are using for the load to continue to be optimized. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for sharing your knowledge!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 15:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499258#M1133679</guid>
      <dc:creator />
      <dc:date>2013-11-08T15:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499259#M1133680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to take a look at my blog post on the subject:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/" style="font-size: 10pt; line-height: 1.5em;"&gt;http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 16:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499259#M1133680</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-11-08T16:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499260#M1133681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a good article explaining the ways to ensure your QVD loads are optimized from Steve Dark:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/" title="http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/"&gt;http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 16:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499260#M1133681</guid>
      <dc:creator>mbm</dc:creator>
      <dc:date>2013-11-08T16:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499261#M1133682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like Steve's post is very popular!&lt;/P&gt;&lt;P&gt;Yes your understanding is correct, so its best to try and get as much of the work done before you store to QVD.&lt;/P&gt;&lt;P&gt;Also we've found that loading an optimised QVD is faster than a resident table load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 17:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499261#M1133682</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2013-11-08T17:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499262#M1133683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need calculations to be done after QVD is loaded as in in optimized fashion. How do you handle that. In the article it says do calculations and other modification in qvd release stage vs reading stage. can some please explain this in a simple code. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 12:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499262#M1133683</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2014-01-25T12:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499263#M1133684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You simply can't do calculations on the fields coming out of a QVD without making the load non-optimized.&amp;nbsp; If the load is quick enough anyway then don't worry about it too much.&amp;nbsp; On small tables it is not a problem.&amp;nbsp; If you have a significant number of rows of data in your QVD you will want to ensure that calculations are done when you extract the QVD rather than read it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to give you some code, you may want to work out a duration between two dates, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(EndTime - StartTime, 'hh:mm:ss') as Duration,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this when loading from a SQL table will make zero difference how long it takes to load.&amp;nbsp; Doing it when loading from QVD could make it up to 100 times slower.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 15:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499263#M1133684</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-25T15:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499264#M1133685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is time and performance difference between an optimized qvd vs non optimized.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 04:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499264#M1133685</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2014-01-27T04:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499265#M1133687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read that it can be up to 100 times quicker to be optimised.  This&lt;/P&gt;&lt;P&gt;will depend on the file in question and a number of other factors.  The&lt;/P&gt;&lt;P&gt;easiest way to check is to benchmark it.  Try doing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; **&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;FROM MyQVD.qvd (qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; 1 as BreakOptimised,*&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; **&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;FROM MyQVD.qvd (qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will then show you the difference in load time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 09:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499265#M1133687</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-01-27T09:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499266#M1133689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;(or Rob, Oleg, Henric, anyone?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if Qlik did any optimizations to the non-optimized QVD LOAD in recent versions? (Currently using 11.2 SR3 - yeah, I should update...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to intentionally de-optimize a QVD LOAD to test a hypothesis by one of my colleagues, but both the optimized and non-optimized QVD LOADs are approximately equally fast (no significant difference on 8 test runs, all in the 16-24 second range for approx. 10mln. records and both optimized ('qvd optimized' in log) and non-optimized varying by 5-6 seconds between runs), far off from your '100 times quicker' claim... The only way to slow it down was by moving a WHERE clause to a preceding LOAD (times shot up to 50+ seconds... there goes my favorite QV construct &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martijn ter Schegget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I've tried the following ways to de-optimize the LOAD:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;adding the '1 as BreakOptimized' column from your example&lt;/LI&gt;&lt;LI&gt;calculate a new field from 2 fields: 'time(EndTime - StartTime) as Duration'&lt;/LI&gt;&lt;LI&gt;insert WHERE-clause using 2 fields: 'WHERE LAST_MODIFIED_AT &amp;lt; CREATED_AT + 1'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Each of these at least suppresses the '(qvd optimized)' notification in the logs, but doesn't significantly slow things down. So it isn't specific to the '1 as BreakOptimized' version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 21:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499266#M1133689</guid>
      <dc:creator />
      <dc:date>2014-12-05T21:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Optimized .QVD Confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499267#M1133691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Improvements do sometimes sneak in under the radar.&amp;nbsp; I know I avoided LEFT JOINs from QVD for a long time as they killed performance - basically a RESIDENT and a NON OPTIMIZED load at the same time.&amp;nbsp; However, I was surprised recently when I did one out of necessity and the joined data loaded very quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I get time I will have to go back and re-benchmark some loads.&amp;nbsp; I always prefer to see the Optimized Load text appear though, whether the load time is not that different or not!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 20:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optimized-QVD-Confusion/m-p/499267#M1133691</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-12-08T20:48:31Z</dc:date>
    </item>
  </channel>
</rss>

