<?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 Hierarchy performance issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchy-performance-issues/m-p/146685#M716897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use Hierarchy and HierarchyBelongsTo on a big table without success. The table currently holds just over 2 million records but will in the end hold ~10 million. When I run the script I can see the individual tables loading as usual but when it comes to the hierarchy statements it goes silent. The processor load is 50% and stays like that for hour after hour. If I try to abort nothing happens, it just keeps going at full speed. When I kill the process the whole PC is in bad shape, e.g. has lost wireless access and can't regain it without rebooting, etc. I've tried this a few times, each time for &amp;gt; 4 hours, always with the same result.&lt;/P&gt;&lt;P&gt;As a test I did the same thing but with a small table and it works perfectly so I suspect that it is a performance issue.&lt;/P&gt;&lt;P&gt;Does anyone know of any known size limitations to using hierarchies?&lt;/P&gt;&lt;P&gt;Are there any other ways to handle recursive structures of unknown depth?&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;See below for the relevant parts of the script that I use.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;MAST:&lt;BR /&gt;LOAD Material,&lt;BR /&gt; BOM&lt;BR /&gt; FROM&lt;BR /&gt;[MAST.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is MAST);&lt;BR /&gt;&lt;BR /&gt;STPO:&lt;BR /&gt;LOAD BOM,&lt;BR /&gt; Component&lt;BR /&gt;FROM&lt;BR /&gt;[STPO1.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is STPO1);&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN (MAST) LOAD&lt;BR /&gt; *&lt;BR /&gt;RESIDENT STPO;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE STPO;&lt;BR /&gt;&lt;BR /&gt;Hierarchy(Component, Material, Component, 'Parent', Component, 'Path', '/', 'Level' ) Load&lt;BR /&gt; *&lt;BR /&gt;RESIDENT MAST;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2009 22:04:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-12T22:04:37Z</dc:date>
    <item>
      <title>Hierarchy performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-performance-issues/m-p/146685#M716897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use Hierarchy and HierarchyBelongsTo on a big table without success. The table currently holds just over 2 million records but will in the end hold ~10 million. When I run the script I can see the individual tables loading as usual but when it comes to the hierarchy statements it goes silent. The processor load is 50% and stays like that for hour after hour. If I try to abort nothing happens, it just keeps going at full speed. When I kill the process the whole PC is in bad shape, e.g. has lost wireless access and can't regain it without rebooting, etc. I've tried this a few times, each time for &amp;gt; 4 hours, always with the same result.&lt;/P&gt;&lt;P&gt;As a test I did the same thing but with a small table and it works perfectly so I suspect that it is a performance issue.&lt;/P&gt;&lt;P&gt;Does anyone know of any known size limitations to using hierarchies?&lt;/P&gt;&lt;P&gt;Are there any other ways to handle recursive structures of unknown depth?&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;See below for the relevant parts of the script that I use.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;MAST:&lt;BR /&gt;LOAD Material,&lt;BR /&gt; BOM&lt;BR /&gt; FROM&lt;BR /&gt;[MAST.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is MAST);&lt;BR /&gt;&lt;BR /&gt;STPO:&lt;BR /&gt;LOAD BOM,&lt;BR /&gt; Component&lt;BR /&gt;FROM&lt;BR /&gt;[STPO1.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is STPO1);&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN (MAST) LOAD&lt;BR /&gt; *&lt;BR /&gt;RESIDENT STPO;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE STPO;&lt;BR /&gt;&lt;BR /&gt;Hierarchy(Component, Material, Component, 'Parent', Component, 'Path', '/', 'Level' ) Load&lt;BR /&gt; *&lt;BR /&gt;RESIDENT MAST;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2009 22:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-performance-issues/m-p/146685#M716897</guid>
      <dc:creator />
      <dc:date>2009-06-12T22:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-performance-issues/m-p/146686#M716898</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;I just came across this and was wondering if you ever got an answer to it either through the forum or via QlikTech support?&amp;nbsp; I've just tried to create a hierarchy on a table with 4 million rows on it and I'm getting the exact same problem as you did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used hierarchy loads for years and they have always worked fine but of course this has been on much smaller tables (50K rows or less).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any update?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 12:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-performance-issues/m-p/146686#M716898</guid>
      <dc:creator />
      <dc:date>2013-06-03T12:26:32Z</dc:date>
    </item>
  </channel>
</rss>

