<?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: Performance question - split one LOAD into two heaps? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Performance-question-split-one-LOAD-into-two-heaps/m-p/1288317#M403197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay.&lt;/P&gt;&lt;P&gt;Thanks Marcus!&lt;/P&gt;&lt;P&gt;I will look for some other way to further improve the performance because this report is now already being used by three persons and every hour we have a risk of conflicts with our primary data_loading script - the one reads, the other one writes, you know that, I've written about that before. By making it ever faster, I hope that this risk can be minimized, though not completely banned.&lt;/P&gt;&lt;P&gt;Well, up to now there have been no mayor issues.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Nov 2016 08:02:26 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2016-11-22T08:02:26Z</dc:date>
    <item>
      <title>Performance question - split one LOAD into two heaps?</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-question-split-one-LOAD-into-two-heaps/m-p/1288315#M403195</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;I know I have asked this kind of question before, but now I have an even more specific example, plus the other thread is closed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one table (a transaction table) from which I used to do one LOAD to have it in RAM and just do RESIDENT LOADs from that point on to speed things up.&lt;/P&gt;&lt;P&gt;Now I thought, the table has about 19mio records (beginning in April) and I already load it filtered with a start_date.&lt;/P&gt;&lt;P&gt;=&amp;gt; Splitting it into two would speed things up even more because one part would be really small - less than 1mio records (because per item ("track"), there is only one receiving_booking and then many transfer_bookings.&lt;/P&gt;&lt;P&gt;=&amp;gt; So now I have two LOADs from the same table, one for the small part and one for the big. The filter is on a field TRAN_CODE, for the value 'SPRECEIVE' (small part) and all others (big part).&lt;/P&gt;&lt;P&gt;PLUS: There is a SWITCH_CASE statement because that time_filter (for the start_date) can be used in only one of three ways that report can be used &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remember that in another tool I worked with, when I wanted to split a table into, say, the values "red" and "green", I could, instead of having two LOADs, parse it just once and tell the tool like&lt;/P&gt;&lt;P&gt;&amp;gt;Look at this record and if it is red, put it on the right, otherwise put it on the left; Then move on&amp;lt;&lt;/P&gt;&lt;P&gt;Can I do something like this in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Of course I could LOAD the table as a whole and then split it using two RESIDENT LOADs, that might also make sense, but it is not the same ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 07:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-question-split-one-LOAD-into-two-heaps/m-p/1288315#M403195</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-11-22T07:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Performance question - split one LOAD into two heaps?</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-question-split-one-LOAD-into-two-heaps/m-p/1288316#M403196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you will always need two loadings because of the way how qlik handled the data internally within symbol-tables and data-tables - and they will be faster as each kind of alternatives.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 07:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-question-split-one-LOAD-into-two-heaps/m-p/1288316#M403196</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-22T07:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance question - split one LOAD into two heaps?</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-question-split-one-LOAD-into-two-heaps/m-p/1288317#M403197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay.&lt;/P&gt;&lt;P&gt;Thanks Marcus!&lt;/P&gt;&lt;P&gt;I will look for some other way to further improve the performance because this report is now already being used by three persons and every hour we have a risk of conflicts with our primary data_loading script - the one reads, the other one writes, you know that, I've written about that before. By making it ever faster, I hope that this risk can be minimized, though not completely banned.&lt;/P&gt;&lt;P&gt;Well, up to now there have been no mayor issues.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 08:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-question-split-one-LOAD-into-two-heaps/m-p/1288317#M403197</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-11-22T08:02:26Z</dc:date>
    </item>
  </channel>
</rss>

