<?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 File Size increases with Concatenate Fact tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743141#M265322</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 have to concatenate two fact tables, Fact1 has 300 million rows and Fact2 has 5 million rows. Both have a few common dimensions and &lt;STRONG&gt;all other columns are different&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The qvw file size before the concatenation was around 3.5 GB, but after the concatenation it has risen to 6 GB. &lt;/P&gt;&lt;P&gt;Does concatenation result in &lt;STRONG&gt;drastic increase in file size&lt;/STRONG&gt; if the columns are different?&lt;/P&gt;&lt;P&gt;Also, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please suggest &lt;/SPAN&gt;what is the best practice if that is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Diwakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 09:02:20 GMT</pubDate>
    <dc:creator>diwakarnahata</dc:creator>
    <dc:date>2015-02-18T09:02:20Z</dc:date>
    <item>
      <title>File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743141#M265322</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 have to concatenate two fact tables, Fact1 has 300 million rows and Fact2 has 5 million rows. Both have a few common dimensions and &lt;STRONG&gt;all other columns are different&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The qvw file size before the concatenation was around 3.5 GB, but after the concatenation it has risen to 6 GB. &lt;/P&gt;&lt;P&gt;Does concatenation result in &lt;STRONG&gt;drastic increase in file size&lt;/STRONG&gt; if the columns are different?&lt;/P&gt;&lt;P&gt;Also, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please suggest &lt;/SPAN&gt;what is the best practice if that is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Diwakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 09:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743141#M265322</guid>
      <dc:creator>diwakarnahata</dc:creator>
      <dc:date>2015-02-18T09:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743142#M265323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Does concatenation result in &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drastic increase in file size&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; if the columns are different?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Not really. Are you sure this is the only change you did?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenating fact tables is good practice generally. Depends on your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 09:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743142#M265323</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-02-18T09:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743143#M265324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diwakar,&lt;/P&gt;&lt;P&gt;If the data is going to increase for few facts used in expressions and finally calculation time and size for all expressions in your qvw file is going to increase the file size.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 09:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743143#M265324</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-02-18T09:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743144#M265325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you saying that expressions and calculation time doubled the file size from 3,5GB to 6?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 09:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743144#M265325</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-02-18T09:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743145#M265326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This increase is expected. QV Storage is made up of (simplistically) two items:&lt;/P&gt;&lt;P&gt;1. Symbols -- the array of unique values for a field.&lt;/P&gt;&lt;P&gt;2. Records -- an array for each row that points to the field value in the Symbol table for each field in that row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Record array is a fixed length and symmetrical, . So even though the concatenated rows may have a null value for some fields, each row will still require the full length of the record array. This is the dark side of concatenating unlike fact tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example, all 305M rows contain pointers wide enough to represent all Symbol values, even though many of them are null values. You would probably see greatly decreased file size and RAM requirements by keeping them as separate tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743145#M265326</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-02-18T10:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743146#M265327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below mentioned are common methods to optimize the application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Separate long text columns from the Fact table in separate dimension table&lt;/P&gt;&lt;P&gt;2. Use autonumber function to create join between tables&lt;/P&gt;&lt;P&gt;3. Split timestamp column in to different columns for year, month, day and time. this will reduce the overall distinct values of the column thereby reducing data size.&lt;/P&gt;&lt;P&gt;4. Deal with dimensionless facts using Keep symbol or some other method which best suits your data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/743146#M265327</guid>
      <dc:creator>AbhijitBansode</dc:creator>
      <dc:date>2015-02-18T10:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/2153504#M1225057</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I have a finance app that I have the same problem. What would be the solution?&lt;/P&gt;
&lt;P&gt;I tried changing the order, putting null() in the field that is missing in the other tables, what else can I do? If I check the QVDs apart the total should be 3GB, but it is coming up to more than 6GB...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 10:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/2153504#M1225057</guid>
      <dc:creator>Laura_qlik</dc:creator>
      <dc:date>2023-12-15T10:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/2153595#M1225058</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/174801"&gt;@Laura_qlik&lt;/a&gt;&amp;nbsp;If the tables have unlike fields, there is no direct solution. The table will be wider and therefore the index/records array will be wider as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 14:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/2153595#M1225058</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-12-15T14:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/2153640#M1225059</link>
      <description>&lt;P&gt;There are not unlike columns, just more fields...&lt;BR /&gt;like:&lt;/P&gt;
&lt;P&gt;TABLE 1:&lt;/P&gt;
&lt;P&gt;A,&lt;/P&gt;
&lt;P&gt;B,&lt;/P&gt;
&lt;P&gt;C;&lt;/P&gt;
&lt;P&gt;TABLE 2:&lt;/P&gt;
&lt;P&gt;A,&lt;/P&gt;
&lt;P&gt;B,&lt;/P&gt;
&lt;P&gt;C,&lt;/P&gt;
&lt;P&gt;D,&lt;/P&gt;
&lt;P&gt;E;&lt;/P&gt;
&lt;P&gt;There is nothing or a workaround I could do? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 15:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/2153640#M1225059</guid>
      <dc:creator>Laura_qlik</dc:creator>
      <dc:date>2023-12-15T15:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: File Size increases with Concatenate Fact tables</title>
      <link>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/2153717#M1225061</link>
      <description>&lt;P&gt;When I said unlike columns I meant different fields. You overall size will increase because the TABLE1 rows will now need to have pointers for fields D&amp;amp;E even though those rows will have null values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I said, you can't directly overcome the increase in size. You could do some remodeling like moving common fields (like A, B, C) into a separate table. This would decrease the size if there were lot's of duplicate values in the fields you moved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 22:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Size-increases-with-Concatenate-Fact-tables/m-p/2153717#M1225061</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-12-15T22:41:40Z</dc:date>
    </item>
  </channel>
</rss>

