<?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: Dropping tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104620#M16480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as you have always enough RAM available there won't be any performance issues by dropping all the temporary tables at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general I do the same within the last script-tab as well as dropping fields, deleting variables, renaming fields and so on. But if some of my temporary tables are quite big and/or there are multiple ones (often created within loops) I drop them immediately. Further there could be logically reasons for example in regard to formattings or certain fieldvalues - by using exists() - or to avoid noconcatenate statements and so on to drop tables before the end of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 11:40:38 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-09-25T11:40:38Z</dc:date>
    <item>
      <title>Dropping tables</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104617#M16477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a performance benefit to dropping a temp table as soon as you are done with it or would it be fine to drop them all as part of say an exit script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 16:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104617#M16477</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2018-09-24T16:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping tables</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104618#M16478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can drop all tables starting with &lt;STRONG&gt;Temp&lt;/STRONG&gt;, like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FOR vTableNo = 0 to NoOfTables()&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vTableName = TableName($(vTableNo)) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vTableName like&lt;/SPAN&gt; 'Temp*' Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drop table [$(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vTableName&lt;/SPAN&gt;)] ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;&amp;nbsp; NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 17:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104618#M16478</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-09-24T17:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping tables</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104619#M16479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you but I am looking to see if there is a benefit to dropping the tables earlier in the script or not. We currently drop them at the end but I am wondering if we are getting a performance lag due to these tables floating around until the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 17:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104619#M16479</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2018-09-24T17:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping tables</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104620#M16480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as you have always enough RAM available there won't be any performance issues by dropping all the temporary tables at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general I do the same within the last script-tab as well as dropping fields, deleting variables, renaming fields and so on. But if some of my temporary tables are quite big and/or there are multiple ones (often created within loops) I drop them immediately. Further there could be logically reasons for example in regard to formattings or certain fieldvalues - by using exists() - or to avoid noconcatenate statements and so on to drop tables before the end of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 11:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104620#M16480</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-25T11:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping tables</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104621#M16481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Marcus said, as long as you have the RAM, you can drop your tables at the end of the script.&lt;/P&gt;&lt;P&gt;Synthetic tables are formed at the end of the script as well, and not during, so shouldn't have any effect on the loading speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But dropping them at the end, you do have to watch out for things like auto-concatenating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 11:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104621#M16481</guid>
      <dc:creator>timpoismans</dc:creator>
      <dc:date>2018-09-25T11:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping tables</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104622#M16482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agree with Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless you are already experiencing longer loading times or server resource exhaustion, rather than performance, having those tables around will impact more the data model itself as Marcus mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I have to handle big tables, I usually store them, drop them and load them as I need them, instead of keeping them in memory and then doing a RESIDENT load. More as a personal preference and clean code than a performance issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your data model is working fine and also the servers don't see any unexpected increase by the load, you can delete the tables at the end safely. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 11:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104622#M16482</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-09-25T11:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping tables</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104623#M16483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all. I figured as much but wanted to confirm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 14:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-tables/m-p/104623#M16483</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2018-09-25T14:12:27Z</dc:date>
    </item>
  </channel>
</rss>

