<?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: Concatenate big tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706084#M676134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boris, if you think that is it a memory or cpu problem , the solution would be add more RAM and get a better cpu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2014 13:52:27 GMT</pubDate>
    <dc:creator>fkeuroglian</dc:creator>
    <dc:date>2014-07-04T13:52:27Z</dc:date>
    <item>
      <title>Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706076#M676126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to concatenate two very big tables to implement star schema in Data model. Having these tables linked makes chart performance very slow. &lt;/P&gt;&lt;P&gt;The first one has 50 fields and 440 millions records&lt;/P&gt;&lt;P&gt;The second one has about 160 fields (80% of them are flags) and about 100 million records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the Concatenate operation uses one core only, so this process might take couple days to be accomplished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody met such problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Boris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 12:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706076#M676126</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2014-07-03T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706077#M676127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the two tables all the fields are different? you have any similar field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will have to concatenate one time only and the you will use it from a qvd , could be an option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706077#M676127</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2014-07-03T15:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706078#M676128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both tables have common key field used to link them. All other fields are different.&lt;/P&gt;&lt;P&gt;Load from QVD has a similar cost and doesn't resolve the problem.&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, 03 Jul 2014 18:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706078#M676128</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2014-07-03T18:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706079#M676129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, perfect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many cpu do you have?&lt;/P&gt;&lt;P&gt;what amount of ram does the server have?&lt;/P&gt;&lt;P&gt;do you have enough space on disk?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 18:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706079#M676129</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2014-07-03T18:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706080#M676130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post your script? Is it an un-optimized load from QVD due to some transformations or additional functions you use? Usually, an optimized QVD load should work smoothly, as long as you have enough memory available..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 19:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706080#M676130</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-07-03T19:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706081#M676131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot post the script, but I can say that the qvd load is optimized. The problem is that Concatinate operation uses 1 thread only while the server has 16 CPUs. It takes approximately the same time eather for the preprocessed in the same script tables or loaded from QVD.&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, 03 Jul 2014 20:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706081#M676131</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2014-07-03T20:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706082#M676132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's still not clear to me what's happen in your script. However, sometimes load from resident is slower than from QVD. So, it could help to store a processed resident table (esp. when loaded distinct) into QVD and then load again from it, and then concatenate it..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 21:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706082#M676132</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-07-03T21:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706083#M676133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to concatenate two large tables. I was trying to do this in several ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both tables are residential&lt;/P&gt;&lt;P&gt;One residential, second loaded from QVD (optimized load)&lt;/P&gt;&lt;P&gt;Both tables are from QVD (optimized load)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is this process is extremely slow because only one CPU thread is enabled, When I join these tables QV is using several cores. It looks like Concatenate operation has the same problem as Group By or Inner Join. So, the question is has anybody mitigated similar issue in some way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 04:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706083#M676133</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2014-07-04T04:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706084#M676134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boris, if you think that is it a memory or cpu problem , the solution would be add more RAM and get a better cpu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 13:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706084#M676134</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2014-07-04T13:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706085#M676135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is wrong with the standard outer join in this case?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Both tables have common key field used to link them. All other fields are different."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If your data are solid it should work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_test:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[key, testfield, flag1, flag2, flag3&lt;/P&gt;&lt;P&gt;A, 125, 1,0,1&lt;/P&gt;&lt;P&gt;B, 123, 1,0,1&lt;/P&gt;&lt;P&gt;C, 155, 0,1,0&lt;/P&gt;&lt;P&gt;D, 110, 0,0,1];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;//Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_test2:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[key, testfield2 ,flag4, flag5, flag6&lt;/P&gt;&lt;P&gt;A, 125, 0,1,0&lt;/P&gt;&lt;P&gt;B, What, 1,0,1&lt;/P&gt;&lt;P&gt;C, Why, 0,1,0&lt;/P&gt;&lt;P&gt;D, How, 1,1,1];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you have:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="61790" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/61790_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With concatenate activated instead you have:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="61792" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/61792_pastedImage_2.png" style="width: 620px; height: 228px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So why do you need the concatenate version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 19:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706085#M676135</guid>
      <dc:creator />
      <dc:date>2014-07-04T19:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706086#M676136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got the same problem.&lt;/P&gt;&lt;P&gt;800 Mio datas from table 1.&lt;/P&gt;&lt;P&gt;then concatenate datas from table 2.&lt;/P&gt;&lt;P&gt;There are common fields and different fields.&lt;/P&gt;&lt;P&gt;While concatenate load the memory grows by 8 Gb - why, because there are no datas in, only a null value....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I load a fact table at the beginning, including all fields from all tables I want to concatenate.&lt;/P&gt;&lt;P&gt;The script is not freezing to generate the null values but the memory size is still too large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to join the facts is not the answer.&lt;/P&gt;&lt;P&gt;Maybe the material number is the field you want to join.&lt;/P&gt;&lt;P&gt;You would load for example 10 datas for one material with sales information.&lt;/P&gt;&lt;P&gt;When now joining the facts with storage information (also 10 datasets) you would have 100 records at all, each record is duplicated 10 times.&lt;/P&gt;&lt;P&gt;Even if you join by material number and year/month, it could be possible to duplicate datas if there are more than one record in one case.&lt;/P&gt;&lt;P&gt;When using all dimesion fields as join fields there are no datas to join, the outer join would create the same result as a concatenate load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load the datas in different fact tables and using a link table is also a problem.&lt;/P&gt;&lt;P&gt;One fact is using material customer year month,&lt;/P&gt;&lt;P&gt;the other material, supplier, year month,&lt;/P&gt;&lt;P&gt;the next material workplace, year month&lt;/P&gt;&lt;P&gt;and mybe another workplace and yearmonth.&lt;/P&gt;&lt;P&gt;So a multible number of link fields what also generates a huge link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking there is not THE answer at all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 08:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706086#M676136</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2015-06-03T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706087#M676137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Concatenate will be processed via a single&amp;nbsp; CPU core&amp;nbsp; and &lt;/SPAN&gt;therefore&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; is slower&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Use&amp;nbsp; Outer Join which is faster , which will use all available CPU Cores of the server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 13:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706087#M676137</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2015-06-03T13:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706088#M676138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could not detect that only one CPU was busy. All CPU were working with 100 %.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 13:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706088#M676138</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2015-06-03T13:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706089#M676139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not test myself but this is where i got my info from &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q-Tip #9 – CONCATENATE or JOIN ? | Natural Synergies&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-9-concatenate-or-join/" title="http://www.naturalsynergies.com/q-tip-9-concatenate-or-join/"&gt;http://www.naturalsynergies.com/q-tip-9-concatenate-or-join/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 13:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706089#M676139</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2015-06-03T13:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706090#M676140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For concatenation I suggest to first load a (non existing) record containting all the fields from all the tables you want to concatenate with autogenerate(0):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;field1, field2, ... , fieldn&lt;/P&gt;&lt;P&gt;autogenerate(0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This creates the data structure upfront and it doesn't needs to be rearranged on the second table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 14:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706090#M676140</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-06-03T14:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706091#M676141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I've done by creating the fact table at the beginning of the load statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 14:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706091#M676141</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2015-06-03T14:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate big tables</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706092#M676142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This OUTER JOIN approach works only if both fact tables have the same granularity..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 16:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-big-tables/m-p/706092#M676142</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-06-03T16:17:02Z</dc:date>
    </item>
  </channel>
</rss>

