<?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: Non Optimized QVD Load vs Resident Load - qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949134#M961643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the actual QVD is about 1.7 gig in size. 200+ columns&lt;/P&gt;&lt;P&gt;Hence my question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Oct 2015 18:22:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-22T18:22:47Z</dc:date>
    <item>
      <title>Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949131#M961640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Qlikview project where a Table A QVD contains about 1.5 million rows. i have already loaded this QVD into the memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load another table Table B which is a subset of Table A using a where clause.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;e.g.&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Table B:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Load&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; AID as BID,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;resident load Table A&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;where Purchase Year = Last Purchase Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In such a case is an Non Optimized QVD Load (because of where clause) better or a Resident Load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help from your experience appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 17:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949131#M961640</guid>
      <dc:creator />
      <dc:date>2015-10-22T17:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949132#M961641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can, I would put a flag on that table saying 1 as _LastYearFlag and use that to denote last year's data. That way you don't have to reload and duplicate data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you must, doing a resident load would be better performance wise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 17:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949132#M961641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-22T17:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949133#M961642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case I think I'll use a resident load&lt;/P&gt;&lt;P&gt;but&lt;/P&gt;&lt;P&gt;I would not worry about the diffference between resident and not optimized for a 1,5 million file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949133#M961642</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-22T18:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949134#M961643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the actual QVD is about 1.7 gig in size. 200+ columns&lt;/P&gt;&lt;P&gt;Hence my question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949134#M961643</guid>
      <dc:creator />
      <dc:date>2015-10-22T18:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949135#M961644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will not matter a much. Rather than loading a qvd again take a resident load. Just to understand why you want to reload the data again. You can play with the loaded data for any year..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imran K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949135#M961644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-22T18:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949136#M961645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on the number of columns in the table... if the table has 100 columns, this could be a different story.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949136#M961645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-22T18:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949137#M961646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd recommend a flag for current year then. If not, then a resident load would be best.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949137#M961646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-22T18:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949138#M961647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the result of a small test, you find the script at the end&lt;/P&gt;&lt;P&gt;optimized, non optimized, resident, the elapsed is 1 or 2 second&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t &amp;lt;&amp;lt; AUTOGENERATE(1000000) 1.999.146 lines fetched&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***** read qvd &lt;STRONG&gt;optimized&lt;/STRONG&gt; 22/10/2015 20:51:&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;t &amp;lt;&amp;lt; T (qvd optimized) 1.999.146 lines fetched&lt;/P&gt;&lt;P&gt;22/10/2015 20:51:&lt;STRONG&gt;31&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***** read &lt;STRONG&gt;resident&lt;/STRONG&gt; 22/10/2015 20:51:&lt;STRONG&gt;31&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;tr &amp;lt;&amp;lt; t 333.454 lines fetched&lt;/P&gt;&lt;P&gt;22/10/2015 20:51:&lt;STRONG&gt;32&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***** read qvd &lt;STRONG&gt;non&lt;/STRONG&gt; &lt;STRONG&gt;optimized&lt;/STRONG&gt; 22/10/2015 20:51:&lt;STRONG&gt;32&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;tq &amp;lt;&amp;lt; T 333.454 lines fetched&lt;/P&gt;&lt;P&gt;22/10/2015 20:51:&lt;STRONG&gt;33&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; TransLineID, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; TransID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; mod(TransID,26)+1 as Num,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Pick(Ceil(3*Rand1),'A','B','C') as Dim1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Pick(Ceil(6*Rand1),'a','b','c','d','e','f') as Dim2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Pick(Ceil(3*Rand()),'X','Y','Z') as Dim3,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Round(1000*Rand()*Rand()*Rand1) as Expression1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Round(&amp;nbsp; 10*Rand()*Rand()*Rand1) as Expression2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Round(Rand()*Rand1,0.00001) as Expression3;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Rand() as Rand1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; IterNo() as TransLineID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; RecNo() as TransID&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Autogenerate 1000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; While Rand()&amp;lt;=0.5 or IterNo()=1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;store t into t.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;drop table t;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// optimized&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let t=now(); trace ***** read qvd optimized $(t);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t: load * from t.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let t=now(); trace $(t);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// resident&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let t=now(); trace ***** read resident $(t);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tr: load *, 1 Resident t where Dim2 = 'a';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let t=now(); trace $(t);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;drop table tr, t;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// qvd non optimized&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let t=now(); trace ***** read qvd non optimized $(t);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tq: load *, 1 from t.qvd (qvd) where Dim2 = 'a';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let t=now(); trace $(t);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;drop table tq;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949138#M961647</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-22T18:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949139#M961648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys.&lt;/P&gt;&lt;P&gt;i cannot use a flag for this instance.&lt;/P&gt;&lt;P&gt;my understanding is also the same i.e. use resident load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the confusion comes from not finding any solid reference materials anywhere.&lt;/P&gt;&lt;P&gt;only way of confirming this is for me is to run this on the pre production server and check; which is a pain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 19:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949139#M961648</guid>
      <dc:creator />
      <dc:date>2015-10-22T19:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949140#M961649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Optimized QVD load is faster as long as your I/O bandwidth is good. My machine has a solid state drive, so unlikely a fair test machine to compare with most servers out there today, but never the less, here are my results when running &lt;SPAN style="font-size: 13.3333px;"&gt;the well written script by &lt;A href="https://community.qlik.com/qlik-users/10670"&gt;maxgro&lt;/A&gt; with a few &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;minor improvements.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Notes:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It is possible to achieve an OPTIMISED qvd load &lt;STRONG&gt;even with a filter condition&lt;/STRONG&gt;, if the condition can be satisfied by a WHERE EXISTS() clause in where the input field has the same name as the field you are checking against. This can be used to your advantage here and without it, the test is not comparing like-for-like when considering the time lapse for an optimised QVD load. See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A tweaked script gives this output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t &amp;lt;&amp;lt; AUTOGENERATE(10000000) 10,000,000 lines fetched&lt;/P&gt;&lt;P&gt;***** read resident 22/10/2015 22:08:39&lt;/P&gt;&lt;P&gt;tr &amp;lt;&amp;lt; t 1,665,914 lines fetched&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;00:00:04&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dim2 &amp;lt;&amp;lt; INLF7C 1 lines fetched&lt;/P&gt;&lt;P&gt;***** read qvd optimized 22/10/2015 22:08:44&lt;/P&gt;&lt;P&gt;t &amp;lt;&amp;lt; t (qvd optimized) 1,665,914 lines fetched&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;00:00:01&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;***** read qvd non optimized 22/10/2015 22:08:45&lt;/P&gt;&lt;P&gt;tq &amp;lt;&amp;lt; t 1,665,914 lines fetched&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;00:00:05&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Modified script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;TransLineID,&lt;/P&gt;&lt;P&gt;TransID,&lt;/P&gt;&lt;P&gt;mod(TransID,26)+1 as Num,&lt;/P&gt;&lt;P&gt;Pick(Ceil(3*Rand1),'A','B','C') as Dim1,&lt;/P&gt;&lt;P&gt;Pick(Ceil(6*Rand1),'a','b','c','d','e','f') as Dim2,&lt;/P&gt;&lt;P&gt;Pick(Ceil(3*Rand()),'X','Y','Z') as Dim3,&lt;/P&gt;&lt;P&gt;Round(1000*Rand()*Rand()*Rand1) as Expression1,&lt;/P&gt;&lt;P&gt;Round(&amp;nbsp; 10*Rand()*Rand()*Rand1) as Expression2,&lt;/P&gt;&lt;P&gt;Round(Rand()*Rand1,0.00001) as Expression3;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Rand() as Rand1,&lt;/P&gt;&lt;P&gt;IterNo() as TransLineID,&lt;/P&gt;&lt;P&gt;RecNo() as TransID&lt;/P&gt;&lt;P&gt;Autogenerate 10000000&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;store t into t.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// resident&lt;/P&gt;&lt;P&gt;let t=now(); trace ***** read resident $(t);&lt;/P&gt;&lt;P&gt;tr: load *, 1 Resident t where Dim2 = 'a';&lt;/P&gt;&lt;P&gt;let t=time(now()-t); trace $(t);&lt;/P&gt;&lt;P&gt;drop table tr,t;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000000;"&gt;Dim2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Dim2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;a&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000000;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// optimized&lt;/P&gt;&lt;P&gt;let t=now(); trace ***** read qvd optimized $(t);&lt;/P&gt;&lt;P&gt;t: load * from t.qvd (qvd)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;WHERE EXISTS(Dim2);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let t=time(now()-t); trace $(t);&lt;/P&gt;&lt;P&gt;DROP TABLE t;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// qvd non optimized&lt;/P&gt;&lt;P&gt;let t=now(); trace ***** read qvd non optimized $(t);&lt;/P&gt;&lt;P&gt;tq: load *, 1 from t.qvd (qvd) where Dim2 = 'a';&lt;/P&gt;&lt;P&gt;let t=time(now()-t);; trace $(t);&lt;/P&gt;&lt;P&gt;drop table tq;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 21:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949140#M961649</guid>
      <dc:creator>JonasValleskog</dc:creator>
      <dc:date>2015-10-22T21:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949141#M961650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dilip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a ton of information on the subject of optimised loads and resident loads in the forum so I'm not sure why you've raised this question. Fundamentally, whether a load from QVD, or a Resident load will be quicker depends on your specific circumstances. This includes things like your environment, whether you're dealing with lots of text fields or not, how unique your data is, etc, etc, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off, are you dealing with 1.5 million or 1.7 billion rows? If it's 1.7 billion, are these all in a single QVD? If so, have you not thought about segmenting this file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incidentally, a WHERE EXISTS clause WILL be optimised. You could try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempFilter:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;FilterYear&lt;/P&gt;&lt;P&gt;2015];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM [Your QVD]&lt;/P&gt;&lt;P&gt;WHERE EXISTS(FilterYear, Year);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What will break optimisation though are things like calculated fields, renamed fields, and pretty much any manipulation in the initial load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 08:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949141#M961650</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2015-10-23T08:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949142#M961651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;same test, about the same result (SSD disk)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;it seems the best one is qvd optimized and if you can't do an optimized load, resident and not optimized qvd are similar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t &amp;lt;&amp;lt; AUTOGENERATE(10000000) 10.000.000 lines fetched&lt;/P&gt;&lt;P&gt;***** read resident 23/10/2015 10:12:56&lt;/P&gt;&lt;P&gt;tr &amp;lt;&amp;lt; t 1.665.621 lines fetched&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00:00:06&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dim2 &amp;lt;&amp;lt; INLB829 1 lines fetched&lt;/P&gt;&lt;P&gt;***** read qvd optimized 23/10/2015 10:13:02&lt;/P&gt;&lt;P&gt;t &amp;lt;&amp;lt; T (qvd optimized) 1.665.621 lines fetched&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00:00:02&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;***** read qvd non optimized 23/10/2015 10:13:04&lt;/P&gt;&lt;P&gt;tq &amp;lt;&amp;lt; T 1.665.621 lines fetched&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00:00:06&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 08:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949142#M961651</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-23T08:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949143#M961652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that your example would &lt;EM&gt;not&lt;/EM&gt; be optimised. Only the single parameter Exists will keep the load optimised. Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table B:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [Your QVD]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;WHERE EXISTS(FilterYear);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or has this changed in a recent SR?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 08:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949143#M961652</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-23T08:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949144#M961653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aah my bad, you're quite right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 08:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949144#M961653</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2015-10-23T08:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949145#M961654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dilip R&lt;/P&gt;&lt;P&gt;I suggest you confirm one of the many responses saying pretty much the same thing as correct so we can close this thread. It's not particularly helpful to have lots of versions of &lt;EM&gt;almost&lt;/EM&gt; the same response, I guess that's just the nature of forums - concluding with a correct answer should help future readers find what is most relevant in an answered thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps. It does not seem possible to 'mention' your name for some reason, just so you know. ( &lt;A href="https://community.qlik.com/qlik-users/80242"&gt;moderator&lt;/A&gt;‌ care to comment on how to 'mention' Dilip R? Or is it privacy settings maybe preventing it?) Ds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 09:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949145#M961654</guid>
      <dc:creator>JonasValleskog</dc:creator>
      <dc:date>2015-10-23T09:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949146#M961655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i can do optimized load i dont doubt that would be better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the where clause has to compare 2 dates columns within the table hence results in non optimized load. i cant find any documentation comparing non optimized qvd load and resident load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;judging from the answers and the size of the date handled within the application and qvd residing on a shared drive resident load seem to be the way to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once i get a chance to test in pre production i will update the thread&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949146#M961655</guid>
      <dc:creator />
      <dc:date>2015-10-23T14:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Non Optimized QVD Load vs Resident Load - qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949147#M961656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌... Just a note as you mentioned you had a two field criteria:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may sometimes be faster to do an optimised load of all data and then a RIGHT KEEP to reduce down the loaded data to what you need if you can't easily design a single field WHERE EXISTS (&amp;lt;field&amp;gt;) clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;RIGHT KEEP(bigTable)&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Field&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, remember that you can construct a surrogate unique field from two independent field. FIELD1 &amp;amp; '|' &amp;amp; FIELD2 as FIELD3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either method should allow you to benefit from an optimised QVD load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2015 06:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Non-Optimized-QVD-Load-vs-Resident-Load-qlikview/m-p/949147#M961656</guid>
      <dc:creator>JonasValleskog</dc:creator>
      <dc:date>2015-10-24T06:51:49Z</dc:date>
    </item>
  </channel>
</rss>

