<?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: 1 table or many tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533453#M438942</link>
    <description>theoretically single table would be best for performance but take more disk space. as juraj said it depends on scenario.&lt;BR /&gt;but if there is no other dimension tables which increases hops between tables when filtering i dont believe it will not make too much difference</description>
    <pubDate>Tue, 22 Jan 2019 16:53:26 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2019-01-22T16:53:26Z</dc:date>
    <item>
      <title>1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533426#M438938</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I wanted to get opinions and best practices around combining tables. Specifically, I have 8 tables currently in my data model that all share the same key field. Each of these tables represents facts about the key field so I was thinking about combining them all into a single table. Doing this would mean instead of say 20M rows in each of the 8 tables, I would have 20M rows in a single table, but that table would have around 150 fields. The key field is only listed once per table in each of the 8 tables so I am not worried about inflating rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a point at which it makes more sense to keep these as separate tables?&lt;/P&gt;&lt;P&gt;Let me know what you think.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533426#M438938</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2024-11-16T04:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533450#M438941</link>
      <description>Hi,&lt;BR /&gt;I remember seeing a recommendation to keep your tables rather narrow, so at first thought I'd go with separate tables in your case. But the answer is, of course, a bit more complex and depends on what else do you want to do with that data. Are there any other common dimensions? Maybe a date field in few of those tables for which you'd might like to create a common filter (so that end users are not overwhelmed with Order Year, Order Month, Order Date, Invoice Year, Invoice Month...). If yes, you should consider combining the tables , possibly - but not necessarily - into one.&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Juraj</description>
      <pubDate>Tue, 22 Jan 2019 16:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533450#M438941</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2019-01-22T16:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533453#M438942</link>
      <description>theoretically single table would be best for performance but take more disk space. as juraj said it depends on scenario.&lt;BR /&gt;but if there is no other dimension tables which increases hops between tables when filtering i dont believe it will not make too much difference</description>
      <pubDate>Tue, 22 Jan 2019 16:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533453#M438942</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-22T16:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533454#M438943</link>
      <description>&lt;P&gt;Juraj,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I dont have any dates in these tables. Each table represents an algorithm that creates risk factors for that are then used to come up with a risk score for each key.&lt;/P&gt;&lt;P&gt;While I am creating a score, each risk factor is still needed in the final application and could be layered together to look at different groups of people.&lt;/P&gt;&lt;P&gt;I am thinking that I want to combine all these tables because my data model is already getting large with many tables and I am trying to increase the performance of the application as a whole.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 16:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533454#M438943</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2019-01-22T16:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533457#M438944</link>
      <description>If complexity of data model is becoming an issue than do yourself a favour and combine the tables &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Tue, 22 Jan 2019 17:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533457#M438944</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2019-01-22T17:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533470#M438945</link>
      <description>&lt;P&gt;It seems this might have been the answer I was looking for:&lt;/P&gt;&lt;P&gt;&lt;A href="To Join or not to Join" target="_self"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/To-Join-or-not-to-Join/ba-p/1463102&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess I will need to evaluate if I need to combine them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all that responded.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 17:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533470#M438945</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2019-01-22T17:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533486#M438946</link>
      <description>&lt;P&gt;So the memory engine stores a table by creating a unique list of values for a field and an index with pointers to those values. So the more unique values you have the more memory footprint your taking up, the more tables with more unique values in your model the more memory you're taking up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would consider a couple of things. One are all the fields actually necessary? If not, drop those that aren't from your applications. Is the unique key actually necessary, because it's unique it will inflate the size of the index and pointers so if you don't actually need it then combine the tables and drop that unique key after you combine them. While it may be a pretty wide table you may see a reduction in memory footprint because of the deduping. Basically anywhere you can alleviate unique values do so and you'll generally see your overall memory footprint reduce. If you have timestamps and don't need timestamps definitely drop those. If your date fields have timestamps in them, change it to only the date. If you still need timestamps break them out into an hour, minute, second field so that they have very low cardinality. Addresses, chop them up into their elements so that they have lower cardinality. Do the same with phone numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The caveat here is that you might need seperate tables for certain measure calculations to work properly without tons of set analysis. You have to weight the tradeoff in set analysis performance vs. memory consumption.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 18:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533486#M438946</guid>
      <dc:creator>swallace104</dc:creator>
      <dc:date>2019-01-22T18:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533502#M438947</link>
      <description>&lt;P&gt;Thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most of what you spelled out I am already aware of and while I get where you are coming from to increase performance, those scenarios don't really apply here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In its simplest form, I have 8 tables that each have a different number of fields. Most of the values in those fields are either Y/N or 1/0. Others are amounts or numbers. The key is required because it joins out to all my other tables that are needed in the application as it doesn't just join these 8 tables together.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My original thinking here was that if I combined these 8 tables it would make the data model simpler, and increase performance of the application as it would potentially reduce the number of hops between tables for some calculations.&lt;/P&gt;&lt;P&gt;My concern is that it won't be easy to put together all 8 tables especially those that have&amp;nbsp; 10+ fields when I have rows into the many millions for data. It is possible that I might be able to get rid of some of these fields but the majority of them are used in the final application so they would be required in the final table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 19:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533502#M438947</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2019-01-22T19:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533503#M438948</link>
      <description>So your data model contains only 8 tables?&lt;BR /&gt;is it possible to share a picture?</description>
      <pubDate>Tue, 22 Jan 2019 19:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533503#M438948</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-22T19:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533508#M438951</link>
      <description>&lt;P&gt;Considering what you just mentioned about your data, I don't think combining them would add any significant performance impact vs. not having them combined. So if it simplifies things from a maintenance perspective you are likely better off just combining them. I would try it and verify there is no significant sign of&amp;nbsp; performance degradation and move on.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 19:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533508#M438951</guid>
      <dc:creator>swallace104</dc:creator>
      <dc:date>2019-01-22T19:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533519#M438955</link>
      <description>No there is definitely more than 8 tables, however I am looking to consolidate these 8 into 1.&lt;BR /&gt;Unfortunately I can't share a picture.</description>
      <pubDate>Tue, 22 Jan 2019 19:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533519#M438955</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2019-01-22T19:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533520#M438956</link>
      <description>Ok. if there are multiple hops (dimensions for each of these tables) involved i would definitely recommend consolidating these 8 into 1 fact table.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jan 2019 19:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1533520#M438956</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-22T19:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1534608#M439062</link>
      <description>&lt;P&gt;I am concerned that doing a join on these tables will certainly cause bottlenecks in the reload. In the past, when I have done joins on large tables (10M rows) it would take around an hour. Certainly this was before trying to order the tables but I am still concerned that it might take more time than I want to sacrifice just to get all 8 tables into 1. If a table has 5 fields then I dont mind doing the Map/ApplyMap route.&lt;/P&gt;&lt;P&gt;Any suggestions for combing the large tables?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 15:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1534608#M439062</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2019-01-24T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1534621#M439063</link>
      <description>You are right about the bottle neck piece. The question is to find the best fit for performance for end user and reload. Unfortunately will be a bit of trial and error for you. do yo have end user performance issue currently. if not i would probably leave it alone for now.&lt;BR /&gt;&lt;BR /&gt;i have had apps with 100s of millions of rows and to optimze end user performance we created a singular fact table. reload take 3-4 hrs.&lt;BR /&gt;on the other hand i have seen at clients apps will 100s of millions of rows a lot of synthetic keys , but still without performance issue because the server is strong</description>
      <pubDate>Thu, 24 Jan 2019 15:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1534621#M439063</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-24T15:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: 1 table or many tables</title>
      <link>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1534643#M439066</link>
      <description>Missed to add if the app is still in development; i Would run benchmarks using scalability tool to asses response times</description>
      <pubDate>Thu, 24 Jan 2019 16:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-table-or-many-tables/m-p/1534643#M439066</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-24T16:20:20Z</dc:date>
    </item>
  </channel>
</rss>

