<?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: Null values stored in disk in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Null-values-stored-in-disk/m-p/1974989#M80431</link>
    <description>&lt;P&gt;Thank you very much for your answer, that clarifies a lot for me. So, I can conclude that is better to fill the null values with&amp;nbsp; a character!. Thanks again.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 17:24:06 GMT</pubDate>
    <dc:creator>maxyvelez</dc:creator>
    <dc:date>2022-08-30T17:24:06Z</dc:date>
    <item>
      <title>Null values stored in disk</title>
      <link>https://community.qlik.com/t5/App-Development/Null-values-stored-in-disk/m-p/1974952#M80426</link>
      <description>&lt;P&gt;I'm trying to understand why NullTable is bigger in size than Table, can anyone explain please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NullTable:&lt;BR /&gt;LOAD &lt;BR /&gt;Null() as Field1,&lt;BR /&gt;Null() as Field2,&lt;BR /&gt;Null() as Field3,&lt;BR /&gt;Null() as Field4,&lt;BR /&gt;Null() as Field5,&lt;BR /&gt;Null() as Field6,&lt;BR /&gt;Null() as Field7,&lt;BR /&gt;Null() as Field8,&lt;BR /&gt;Null() as Field9,&lt;BR /&gt;Null() as Field10,&lt;BR /&gt;-1 as Field11&lt;BR /&gt;AutoGenerate 300000000&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;STORE NullTable into [NullTable.qvd];&lt;BR /&gt;DROP Table NullTable;&lt;/P&gt;
&lt;P&gt;Table:&lt;BR /&gt;LOAD &lt;BR /&gt;-1 as Field1,&lt;BR /&gt;-1 as Field2,&lt;BR /&gt;-1 as Field3,&lt;BR /&gt;-1 as Field4,&lt;BR /&gt;-1 as Field5,&lt;BR /&gt;-1 as Field6,&lt;BR /&gt;-1 as Field7,&lt;BR /&gt;-1 as Field8,&lt;BR /&gt;-1 as Field9,&lt;BR /&gt;-1 as Field10,&lt;BR /&gt;-1 as Field11&lt;BR /&gt;AutoGenerate 300000000&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;STORE Table into [Table.qvd];&lt;BR /&gt;DROP Table Table;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="maxyvelez_0-1661875656357.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87884i366ED27C93C0DEA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="maxyvelez_0-1661875656357.png" alt="maxyvelez_0-1661875656357.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 16:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-values-stored-in-disk/m-p/1974952#M80426</guid>
      <dc:creator>maxyvelez</dc:creator>
      <dc:date>2022-08-30T16:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Null values stored in disk</title>
      <link>https://community.qlik.com/t5/App-Development/Null-values-stored-in-disk/m-p/1974972#M80428</link>
      <description>&lt;P&gt;Hi Max, You put up an quite an interesting observation. lets deduce the answer based on the space occupied by each character, the null value by default occupies a space of around 4 bytes in the SQL storage which is most probably the same for the qliksense as well. When comparing it with the varchar/integer input of the values like 1 or -1 that you have used, it takes up the space based on the length of the character like 1 has around 1 or even less bytes space accommodated to it as compared to 11 or 111 input.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thus, the null input has around 4 bytes while a character (-1) has around 1 byte or even less, resulting in higher size of qvd of null as compared to table qvd.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 16:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-values-stored-in-disk/m-p/1974972#M80428</guid>
      <dc:creator>deepanshuSh</dc:creator>
      <dc:date>2022-08-30T16:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Null values stored in disk</title>
      <link>https://community.qlik.com/t5/App-Development/Null-values-stored-in-disk/m-p/1974989#M80431</link>
      <description>&lt;P&gt;Thank you very much for your answer, that clarifies a lot for me. So, I can conclude that is better to fill the null values with&amp;nbsp; a character!. Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 17:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-values-stored-in-disk/m-p/1974989#M80431</guid>
      <dc:creator>maxyvelez</dc:creator>
      <dc:date>2022-08-30T17:24:06Z</dc:date>
    </item>
  </channel>
</rss>

