<?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: Loading a QVD Efficiently in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058042#M932449</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;load raw qvd first &lt;/P&gt;&lt;P&gt;then do calculations by taking resident load &lt;/P&gt;&lt;P&gt;and do phase 1 save qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next take &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the sum() &lt;/P&gt;&lt;P&gt;group by using resident load of the raw table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this might help you to fasten the reload time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;$@m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 09:37:40 GMT</pubDate>
    <dc:creator>mightyqlikers</dc:creator>
    <dc:date>2016-03-01T09:37:40Z</dc:date>
    <item>
      <title>Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058035#M932442</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;I am working with a big table (200M rows), and having a response time issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the table in two phases:&lt;/P&gt;&lt;P&gt;phase 1: loading up the table, renaming, and filtering by date (this takes about 5 minutes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactClicks_temp:&lt;/P&gt;&lt;P&gt;LOAD JobId as JobId, &lt;/P&gt;&lt;P&gt;&amp;nbsp; date(daystart(DATE)) as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CampaignId as CampaignID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PageType&lt;/P&gt;&lt;P&gt;FROM [1_raw\FactClicks.qvd] (qvd)&lt;/P&gt;&lt;P&gt;WHERE DATE&amp;gt;='2016-01-01';&lt;/P&gt;&lt;P&gt;STORE FactClicks_temp into [2_dw\FactClicks_temp.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;phase 2: &lt;SPAN style="font-size: 13.3333px;"&gt;group by, and &lt;/SPAN&gt;using Sum If to create new columns (this takes about 20 minutes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactClicks:&lt;/P&gt;&lt;P&gt;LOAD JobId, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp; CampaignID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Cost, &lt;/P&gt;&lt;P&gt;&amp;nbsp; ClickSourceDesc, &lt;/P&gt;&lt;P&gt;&amp;nbsp; IsMobile,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(IF(PageType...) ) &lt;/P&gt;&lt;P&gt;FROM [2_dw\FactClicks_temp.qvd] (qvd)&lt;/P&gt;&lt;P&gt;GROUP BY JobId, Date, CampaignID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why phase 2 takes so much time? is it becuase i'm working on a non optimized load?&lt;/P&gt;&lt;P&gt;can I do something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 08:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058035#M932442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T08:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058036#M932443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither of these loads will be optimised. The second one takes longer because of the group by.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058036#M932443</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-01T09:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058037#M932444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its because of using &lt;STRONG&gt;GROUP BY &lt;/STRONG&gt;statement in the second phase ...as the number of columns increases in the group by statement it will kill the time ....try to push the grouping to SQL and then import the data to Qlikview, this will help you to improve the performance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058037#M932444</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-01T09:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058038#M932445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have learnt it a hard way, but aggregating the data by using Group By statement slows down the reload speed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058038#M932445</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-01T09:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058039#M932446</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 are doing calculations Sum() and Group By(), so it will take time based on the data volume.&amp;nbsp; Instead of this why can't you directly do the Sum() in front end (Charts). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058039#M932446</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-01T09:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058040#M932447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Isnt' it better to the id on the SQL load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058040#M932447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T09:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058041#M932448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With 200M rows I would look at implementing an incremental load so you are only processing modified rows and do not need to group and sum on all 200M rows every time you reload the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether it is better to process data on your SQL server or Qlik Server depends on which server has the available capacity for this processing. Both can be equally valid options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058041#M932448</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-03-01T09:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058042#M932449</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;load raw qvd first &lt;/P&gt;&lt;P&gt;then do calculations by taking resident load &lt;/P&gt;&lt;P&gt;and do phase 1 save qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next take &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the sum() &lt;/P&gt;&lt;P&gt;group by using resident load of the raw table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this might help you to fasten the reload time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;$@m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058042#M932449</guid>
      <dc:creator>mightyqlikers</dc:creator>
      <dc:date>2016-03-01T09:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058043#M932450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a great &amp;amp; helpful suggestion!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058043#M932450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T09:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a QVD Efficiently</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058044#M932451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still dont understand why the resident load in Qlikview is slow,&lt;/P&gt;&lt;P&gt;why is the MSSQL server is so much better in this kind og aggregation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-QVD-Efficiently/m-p/1058044#M932451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T11:15:25Z</dc:date>
    </item>
  </channel>
</rss>

