<?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: Effect autonumber() on qvw size in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Effect-autonumber-on-qvw-size/m-p/1638312#M447006</link>
    <description>&lt;P&gt;If you keep the origin key-field (renamed) within the datamodel and adds an autonumber(key) you won't get really a benefit but if you remove the origin key-field the autonumber(key) will have 1M nurmeric values instead of 1M string-values and those numeric values doesn't need to be stored separately because the values = the pointer to the datatable.&lt;/P&gt;&lt;P&gt;If you monitors it by the file-size or with the mem-files you will see that the size shrinked - how much especially in regard to the overall size of your application depends on your data.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2019 11:54:19 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-10-22T11:54:19Z</dc:date>
    <item>
      <title>Effect autonumber() on qvw size</title>
      <link>https://community.qlik.com/t5/QlikView/Effect-autonumber-on-qvw-size/m-p/1638211#M446996</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Can anyone tell me if an autonumber function is supposed to affect the size of a qvw file?&lt;/P&gt;&lt;P&gt;I'm trying to optimize the size of a qvw by using the autonumber function on a concatenated key (%Key1 &amp;amp;'|'&amp;amp; %Key2). The field contains nearly 1 million distinct values and removing the field completely saves around 25% of the disc space of the qvw I'm testing with. Although when I replace the field with an autonumbered one instead of removing it, it doesn't affect the size at all.&lt;/P&gt;&lt;P&gt;What is good to know is that for performance reasons, I don't use the autonumber() function directly on the key. Instead I load a mapping table with [%ConcatKey] AS Key, autonumber([%ConcatKey]) AS Value. I apply this mapping on the key in both the metricstable and the dimensions I load.&lt;/P&gt;&lt;P&gt;When I save 2 instances of the distinct values of the key in a QVD, one as is and the other one as autonumber, the autonumbered values take up like half the memory size on my computer. So when storing the data in a qvd file, it does affect the size.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 09:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Effect-autonumber-on-qvw-size/m-p/1638211#M446996</guid>
      <dc:creator>simonvm9114</dc:creator>
      <dc:date>2019-10-22T09:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Effect autonumber() on qvw size</title>
      <link>https://community.qlik.com/t5/QlikView/Effect-autonumber-on-qvw-size/m-p/1638312#M447006</link>
      <description>&lt;P&gt;If you keep the origin key-field (renamed) within the datamodel and adds an autonumber(key) you won't get really a benefit but if you remove the origin key-field the autonumber(key) will have 1M nurmeric values instead of 1M string-values and those numeric values doesn't need to be stored separately because the values = the pointer to the datatable.&lt;/P&gt;&lt;P&gt;If you monitors it by the file-size or with the mem-files you will see that the size shrinked - how much especially in regard to the overall size of your application depends on your data.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 11:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Effect-autonumber-on-qvw-size/m-p/1638312#M447006</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-10-22T11:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Effect autonumber() on qvw size</title>
      <link>https://community.qlik.com/t5/QlikView/Effect-autonumber-on-qvw-size/m-p/1641458#M447229</link>
      <description>&lt;P&gt;Just wanted to add one more thing in addition to what Marcus has already explained, it is a Design Blog post that may help solidify things further:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Autonumber-function/ba-p/1464970" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Autonumber-function/ba-p/1464970&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 20:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Effect-autonumber-on-qvw-size/m-p/1641458#M447229</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-30T20:44:19Z</dc:date>
    </item>
  </channel>
</rss>

