<?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: What takes less memory? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776946#M60249</link>
    <description>&lt;P&gt;I'm sorry but I'm afraid that I don't understand your reply to my question&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was talking about one application (QS or QV) and using a single Value field in one large Fact table. Each record would also have a flag i.e. flag_ValueIsSales (set to 1 or 0), flag_ValueIsCost (set to 1 or 0) so that chart expressions can simply say: Sum(Value * flag_ValueIsSales) to calculate Sales and Sum(Value * flag_ValueIsCost) to calculate Cost. The idea being to optimise memory footprint of the app because the flag fields only have 2 different values (tiny memory usage when Qlik stores unique values) and all the different values are held in one field (Value).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that this is an efficient way to build an app.... but I'm wondering at what point the disadvantage of having a very large number of rows outweighs the advantage of storing all the different numeric values in one field?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that makes more sense?&lt;/P&gt;&lt;P&gt;I'm not sure what you mean by "not recommended to have all facts into single application" or "create multiple layers with different fact and club them in to QVD"?&lt;/P&gt;</description>
    <pubDate>Sun, 24 Jan 2021 18:09:35 GMT</pubDate>
    <dc:creator>richard_simpson</dc:creator>
    <dc:date>2021-01-24T18:09:35Z</dc:date>
    <item>
      <title>What takes less memory?</title>
      <link>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776882#M60234</link>
      <description>&lt;P&gt;I suspect that there isn't an easy answer to this and it may depend on all sorts of other variables... but what do people think?&lt;/P&gt;&lt;P&gt;Is a Star-schema model with 50 million facts and one value field better or worse than the same model but with values merged onto facts so that there are 10 million records with 5 value fields? By value I mean numbers... not text.&lt;/P&gt;&lt;P&gt;This Board is called Qlik Sense App Development but I think this question can apply to both Qlik Sense and QlikView. Or can it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776882#M60234</guid>
      <dc:creator>richard_simpson</dc:creator>
      <dc:date>2024-11-16T17:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: What takes less memory?</title>
      <link>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776936#M60248</link>
      <description>&lt;P&gt;It is not recommended to have all facts into single application for both View and Sense since it has QIX engine&lt;/P&gt;&lt;P&gt;Anyway, as a workaround you can create multiple layers with different fact and club them in to QVD then use this Fact QVD in presentation layer&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 17:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776936#M60248</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2021-01-24T17:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: What takes less memory?</title>
      <link>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776946#M60249</link>
      <description>&lt;P&gt;I'm sorry but I'm afraid that I don't understand your reply to my question&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was talking about one application (QS or QV) and using a single Value field in one large Fact table. Each record would also have a flag i.e. flag_ValueIsSales (set to 1 or 0), flag_ValueIsCost (set to 1 or 0) so that chart expressions can simply say: Sum(Value * flag_ValueIsSales) to calculate Sales and Sum(Value * flag_ValueIsCost) to calculate Cost. The idea being to optimise memory footprint of the app because the flag fields only have 2 different values (tiny memory usage when Qlik stores unique values) and all the different values are held in one field (Value).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that this is an efficient way to build an app.... but I'm wondering at what point the disadvantage of having a very large number of rows outweighs the advantage of storing all the different numeric values in one field?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that makes more sense?&lt;/P&gt;&lt;P&gt;I'm not sure what you mean by "not recommended to have all facts into single application" or "create multiple layers with different fact and club them in to QVD"?&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 18:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776946#M60249</guid>
      <dc:creator>richard_simpson</dc:creator>
      <dc:date>2021-01-24T18:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: What takes less memory?</title>
      <link>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776948#M60250</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;that is the beauty of qvd form data of storage and retrieve.&lt;/P&gt;&lt;P&gt;below indication are the&amp;nbsp; cause&amp;nbsp; if, the very large number of rows outweigh&amp;nbsp;different numeric values in one field.&lt;/P&gt;&lt;P&gt;1. processing or result of visualization time may increase,&lt;/P&gt;&lt;P&gt;2. QS services will stop while loading script&lt;/P&gt;&lt;P&gt;3. sheet performance getting slow for other users&amp;nbsp;&lt;/P&gt;&lt;P&gt;but developer must know about data structuring from raw data and&lt;/P&gt;&lt;P&gt;how data processing happing in the APP, like indexing method,&lt;/P&gt;&lt;P&gt;moral is vehicle efficiency is in drives hand (who knows function of gear, clutch and break).&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 18:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1776948#M60250</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-01-24T18:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: What takes less memory?</title>
      <link>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1777228#M60285</link>
      <description>&lt;P&gt;Hmmm, it depends and the file-size and memory consumption is only one aspect if an application fulfilled the requirements or not. I think in your case (multiplying&amp;nbsp; a few flags with values) I would tend to the shorter and wider fact-table. A similar discussion could you find here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Data-Model-Question-Fat-or-Thin-Fact-table/m-p/1172045#1077255" target="_self"&gt;Data-Model-Question-Fat-or-Thin-Fact-table&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 17:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-takes-less-memory/m-p/1777228#M60285</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-01-25T17:16:37Z</dc:date>
    </item>
  </channel>
</rss>

