<?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: Problem with too many indexes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448343#M167290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;and the application never completes loading&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It seems you're trying your solutions using the whole set of data.&lt;/P&gt;&lt;P&gt;Why don't you set up some kind of test enviroment with less amount of data and load your tables properly so that there is no synthetics ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2012 17:38:04 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2012-11-16T17:38:04Z</dc:date>
    <item>
      <title>Problem with too many indexes</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448339#M167286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am stuck. (Attached is this scenario in an app and an attempt to start fixing with key table)&amp;nbsp;&amp;nbsp; I have the table structure below and was using a KEY table to join all of these tables which works fine with only 1 year of data, but the key table has gotten too big as has the database when loading multiple years of data.&amp;nbsp;&amp;nbsp; Just 2 years created a 5.8GB QV file.&amp;nbsp;&amp;nbsp; I would very much appreciate any insight anyone has on a solution.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the structure, in the example, the indexes having the same name as the table are the primary key (SQL) in each table, the rest are foreign keys. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table1Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table6Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table7Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table2Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table1Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table5Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table3Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table6Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table7Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table4Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table3Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table5Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table5Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table6Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table6Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table7Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table7Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables 1-5 are very large (20+ million rows each) data tables, 6 and 7 are fact tables.&amp;nbsp;&amp;nbsp; I tried combining (join) some of the data tables, but that results in having to workaround issues with SUM in expressions which slows down the performance too much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 13:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448339#M167286</guid>
      <dc:creator />
      <dc:date>2012-10-24T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with too many indexes</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448340#M167287</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;Do you have synthetic keys ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table1Index&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table6Index&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table7Index&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table2Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table1Index&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table5Index&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Table3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table3Index&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table6Index&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table7Index&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 18:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448340#M167287</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-10-24T18:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with too many indexes</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448341#M167288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I use a link table, there are no synthetic keys.&amp;nbsp;&amp;nbsp; There are 2 tables that are similar that either need to be linked seperately to the link table or need to be Joined together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 1, linking them to a link/key table and keeping the tables separate.&amp;nbsp; This results in the link/key table becoming too big and the application never completes loading.&amp;nbsp; I think this is because it is trying to joing the key tables together.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 2 joining the 2 tables together.&amp;nbsp; This results in duplicate data which requires the use of Aggr or Distinct to get around the duplicates in expressions.&amp;nbsp;&amp;nbsp; Since the tables are so large, 20M+ rows each, performance becomes too slow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 19:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448341#M167288</guid>
      <dc:creator />
      <dc:date>2012-11-14T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with too many indexes</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448342#M167289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of these links between tables are required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 19:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448342#M167289</guid>
      <dc:creator />
      <dc:date>2012-11-14T19:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with too many indexes</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448343#M167290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;and the application never completes loading&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It seems you're trying your solutions using the whole set of data.&lt;/P&gt;&lt;P&gt;Why don't you set up some kind of test enviroment with less amount of data and load your tables properly so that there is no synthetics ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 17:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448343#M167290</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-11-16T17:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with too many indexes</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448344#M167291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am. It will load with a smaller set of data.&amp;nbsp; Loaded 1 or 2 years works as well but the&amp;nbsp; app becomes too big and performance is terrible.&amp;nbsp;&amp;nbsp; It will not complete loading if using 3 or more years.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 17:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448344#M167291</guid>
      <dc:creator />
      <dc:date>2012-11-16T17:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with too many indexes</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448345#M167292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's strange. If you replace synthetics with your links, the file should be smaller and the app should be faster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 17:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-too-many-indexes/m-p/448345#M167292</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-11-16T17:50:58Z</dc:date>
    </item>
  </channel>
</rss>

