<?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 How much memory uses a null value in a table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347490#M826909</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;In my models, normally I create a Fact Table with several facts, concatenating individual fact tables (later is easy to use, using set analysis expressions to filter the data set)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then finally I have a Fact Table with a lot of fields with null values for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;DataSet&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Dim1 - ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Dim2 - ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Dim3 - ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;34&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;33&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;53&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From time to time, some datasets have shared dimensions but I still have a lot of nulls. For example, in a model I have a Fact Table with 8 distinct datasets, 1.5M rows and 60 Fields (between dimension keys and values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are better way to do this? Is this efficient?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>jmvilaplanap</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347490#M826909</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;In my models, normally I create a Fact Table with several facts, concatenating individual fact tables (later is easy to use, using set analysis expressions to filter the data set)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then finally I have a Fact Table with a lot of fields with null values for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;DataSet&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Dim1 - ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Dim2 - ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Dim3 - ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;34&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;33&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;53&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From time to time, some datasets have shared dimensions but I still have a lot of nulls. For example, in a model I have a Fact Table with 8 distinct datasets, 1.5M rows and 60 Fields (between dimension keys and values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are better way to do this? Is this efficient?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347490#M826909</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347491#M826910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess null() consumes no memory because "it isn't there"...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 10:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347491#M826910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T10:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347492#M826911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think nulls are as the air of a ball, we can't see it but it has a weight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a test with this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Table:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;nothing&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AutoGenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(10);&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;STORE&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Table &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; 'Table.qvd' (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And the size of the QVD is 1,311 bytes with 10 rows and 2,216 bytes with 1,000 rows. But the point is if exist another way better than this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 10:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347492#M826911</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2017-07-07T10:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347493#M826912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know exactly how it works, but I know, that the main factor for performance problems is the number of distinct values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the experts can leave a comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/2310"&gt;troyansky&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/2226"&gt;johnw&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 10:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347493#M826912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T10:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347494#M826913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that the nulls occupy more spaces. It's the more number of unique values in particular field occupies more memory. AFAIK, Null values does not have any impact on performance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 10:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347494#M826913</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-07T10:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347495#M826914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree NULL itself don't consume memory but the structure of a table respectively the datamodel will of course have an impact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your used approach is quite common and worked usually very well and quite performant within the GUI. Nevertheless I think if you could join or map your tables together you would save some RAM because you would need lesser records and therefore the table-pointer would be smaller. With your example above it could be only 2 records instead of 6. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here an example which is a bit similar to your question even if the NULL handling wasn't the focus there: &lt;A href="https://community.qlik.com/message/1077255"&gt;Re: Data Model Question - Fat or Thin Fact table?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In reality it might be not so easy if your tables aren't 1:1 else 1:n or even n:m related and/or there are missing key-values between them. In such cases your needed transformations might be take longer and are a quite more complex. As far as your approach is fast enough and you are not running into a RAM bottleneck I wouldn't change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 10:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347495#M826914</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-07-07T10:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347496#M826915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going on memory from a post by &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;, but I was unable to track it down with a brief search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your QlikView tables are really storing index values into another table, which is the list of distinct values for that field. The more distinct values you have, the more bits this index requires. However, as I recall, null() is special, it being a possible "value" for every field, so it has its own designation that I believe is independent of the number of distinct values for the field. It's something small, like a couple of bits, though actual memory use depends on some other factors as well that I'm not remembering the details of, something like your table must be an even number of bytes wide or something, so the nulls might take zero bits, or 8 bits, or something like that. Not certain. In any case, my main takeaway was that I don't need to worry much about nulls in my data model. Yes, they take space, but it's not a lot of space. As you said, they're as the air of a ball - we can't see them, but they have weight - but like the air, very little weight. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a chance I've remembered wrong. I don't actually &lt;STRONG&gt;&lt;EM&gt;know&lt;/EM&gt;&lt;/STRONG&gt; what I'm talking about. Take what I say with a grain of salt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 15:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347496#M826915</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2017-07-07T15:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347497#M826916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for you opinion, I understand that is not necesary to be worried about the null fields, only in the "diversity" of values inside a column. But then, why people do snowflakes schemas? I think you always could do a model as a star, isn't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this is another debate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2017 11:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347497#M826916</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2017-07-09T11:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347498#M826917</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;sorry I'm late to this discussion... Yes, I can confirm that nulls should not worry you too much. I don't have exact benchmarks of the memory consumption, but it should not be extremely high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your last question about snowflakes - people usually build snowflakes for their convenience and ease of understanding their data, not to avoid null values. Star schema will always perform better and faster than a snowflake, so if performance is an issue, I'd personally recommend a star over a snowflake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if the data size is manageable, then a snowflake might be easier to build, maintain, and understand, and that holds a lot of value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="https://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming to Boston, MA this October!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 21:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347498#M826917</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-07-12T21:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347499#M826918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/2310"&gt;troyansky&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, Why is easier to maintain a snowflake than a star schema? In my opinion star is easier. Concatenating fact tables you can do a star schema almost always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I was doing my very firsts Qlik data models I was trying to design a snowflake schemas (like a conventional&amp;nbsp; relational database) but when I understood the Qlik philosophy I began to use a star schemas, they are (in my opinion) easier to design and maintain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 08:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347499#M826918</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2017-07-13T08:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347500#M826919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you might be using the term "snowflake" loosely... Snowflake, strictly speaking, requires a single Fact and a number of Dimensions, when some of the Dimensions are linked to other Dimensions and not to the Star.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Fact table contains Sales data. Dimensions: Customer, Product, Supplier, SalesPerson. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a Star model, all 4 dimensions should be linked to the Fact. In a Snowflake, Supplier might be linked to Products and SalesPerson might be linked to Customer. Both models are valid. If the original data is organized closer to the latter option, then you need to add some data modelling logic to bring it to the Star format. That's the extra effort that may be necessary or may be unnecessary - depending on your preference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you described as a "snowflake" sounds like an Entity-Relationship model that's coming straight from a transnational system. That's not what we usually call "snowflake".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These different models are described very well in my book&lt;A href="https://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=098202df27917ab9836332cf063c51f5"&gt; QlikView Your Business&lt;/A&gt; - check it out!..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 15:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347500#M826919</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-07-13T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How much memory uses a null value in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347501#M826920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're right I was using the term "snowflake" in a non correct way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was speaking about models with more than a Fact Table and linked tables in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, this book looks good, have several topic I'm interested in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 15:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-much-memory-uses-a-null-value-in-a-table/m-p/1347501#M826920</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2017-07-13T15:18:55Z</dc:date>
    </item>
  </channel>
</rss>

