<?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: Sum() in the script using only one cpu core in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585161#M1095828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow i've been living with the idea that is multi core. Any future&amp;nbsp; plans to make it multi core? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 04:20:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-02T04:20:25Z</dc:date>
    <item>
      <title>Sum() in the script using only one cpu core</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585158#M1095825</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;today I noticed some strange behaviour during reload of a document - using sum() with Group By is using only one core (of 16). The script is very simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13989627073366863" jivemacro_uid="_13989627073366863" modifiedtitle="true"&gt;
&lt;P&gt;GroupData:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Amount) as TotalAmount,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category&lt;/P&gt;
&lt;P&gt;Resident MyTable&lt;/P&gt;
&lt;P&gt;Group By&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the reload process reach this part of the script it switch to only one core. For a small amount of data is ok but i have ~400M rows in "MyTable". &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'm expecting this script to take more than one core or i'm wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Has anyone have experienced the same behaviour?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 16:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585158#M1095825</guid>
      <dc:creator />
      <dc:date>2014-05-01T16:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum() in the script using only one cpu core</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585159#M1095826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tested this myself, but I would not be surprised if this is single threaded. The "Group by" operation in the script is not so commonly used, so the demand to optimize it has not been there. ("Group by" is usually made in a SELECT, i.e. it is executed by a multi-threaded database. Or it is performed in a chart in QlikView, which is multi-threaded.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 18:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585159#M1095826</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-05-01T18:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum() in the script using only one cpu core</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585160#M1095827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Group by" into a script is a single core operation. No workarounds, unfortunately&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 21:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585160#M1095827</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-05-01T21:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum() in the script using only one cpu core</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585161#M1095828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow i've been living with the idea that is multi core. Any future&amp;nbsp; plans to make it multi core? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 04:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585161#M1095828</guid>
      <dc:creator />
      <dc:date>2014-05-02T04:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum() in the script using only one cpu core</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585162#M1095829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Demand for multi-threading on the group in the script of course is, for example, we are working through the terminal server. It is not clear why not do multithreading in groups in a script. Subscribe to the issue two years ago ... Are there any plans in this regard?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also as a developer much easier to organize the data store in a format QVD and not build individual "workers" requests to the database because at the moment they are more effective and much faster than qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 02:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-in-the-script-using-only-one-cpu-core/m-p/585162#M1095829</guid>
      <dc:creator>warfollowmy_ver</dc:creator>
      <dc:date>2017-02-06T02:36:12Z</dc:date>
    </item>
  </channel>
</rss>

