<?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: Qlikview tables lifecycle after script execution in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867343#M658436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A reload of a document will replace the data already in the document (Tables per table viewer). Your variable values should not change unless you are creating them within the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. set vLastID = '102';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same should apply with the command line run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions can be if you set up a partial / incremental load mechanism (see elsewhere in the community)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 09:29:01 GMT</pubDate>
    <dc:creator>john_s_w_wood</dc:creator>
    <dc:date>2015-05-15T09:29:01Z</dc:date>
    <item>
      <title>Qlikview tables lifecycle after script execution</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867342#M658435</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 have a question regarding qlikview tables lifecycle.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When you have an QV document open and execute a script (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;LOAD FROM qvd)&lt;/SPAN&gt;, does the table after execution gets deleted from internal storage (without executing DROP TABLE-statement)? What about variables?&lt;/LI&gt;&lt;LI&gt;What about the same QV document run by the qv.exe /r command in CMD (open/reload/close)?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;A.H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 09:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867342#M658435</guid>
      <dc:creator />
      <dc:date>2015-05-15T09:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview tables lifecycle after script execution</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867343#M658436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A reload of a document will replace the data already in the document (Tables per table viewer). Your variable values should not change unless you are creating them within the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. set vLastID = '102';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same should apply with the command line run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions can be if you set up a partial / incremental load mechanism (see elsewhere in the community)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 09:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867343#M658436</guid>
      <dc:creator>john_s_w_wood</dc:creator>
      <dc:date>2015-05-15T09:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview tables lifecycle after script execution</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867344#M658437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx for quick response.&lt;/P&gt;&lt;P&gt;What about running script only once, does QV drop tables and variables right after the execution? If not, how long are they staying in the memory or other QV storage (if such exists)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;A.H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 09:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867344#M658437</guid>
      <dc:creator />
      <dc:date>2015-05-15T09:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview tables lifecycle after script execution</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867345#M658439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi A.H.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless you have a drop table statement in your script and/or&amp;nbsp; a 'set variable = null()' statement for variables, they will remain in memory whilst the document is open. (A look at your task manager (right click on the task bar) will show you how much memory is being taken up by your qlikview document. If its a big document with lots of data it will be up there at the top!)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though the table(s) are not visible as such in the dashboard itself (only the fields) if you look at the table viewer (file&amp;gt;tableviwer) you will see all the tables 'in memory', Hover over the header of the table and it will show you how many rows there are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not see any tables, its either failing to load or you have a drop table(s) statement somewhere in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note variables are not the same as fields data in the tables. A variable will only hold 'one bit of data' whereas a field could have thousands of rows. Variables are generally used as a user input eg exchange rate or even for holding a formula to be used in multiple&amp;nbsp; of charts e.g. '=sum(Cost)/sum(Sales)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 10:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867345#M658439</guid>
      <dc:creator>john_s_w_wood</dc:creator>
      <dc:date>2015-05-15T10:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview tables lifecycle after script execution</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867346#M658440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ps When you save the document away and close qlikview, the document holds the data (have a look at its file size!) but it is released from memory. When you reopen the document from file, without reloading,&amp;nbsp; the data is there and is immediately taking space in memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 12:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867346#M658440</guid>
      <dc:creator>john_s_w_wood</dc:creator>
      <dc:date>2015-05-15T12:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview tables lifecycle after script execution</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867347#M658441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RAM Memory Impact when open....&lt;/P&gt;&lt;P&gt;&lt;IMG alt="memory.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86674_memory.JPG" style="height: 131px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;file size when saved (released from RAM memory when closed)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="filesize.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/86687_filesize.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 12:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867347#M658441</guid>
      <dc:creator>john_s_w_wood</dc:creator>
      <dc:date>2015-05-15T12:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview tables lifecycle after script execution</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867348#M658443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-tables-lifecycle-after-script-execution/m-p/867348#M658443</guid>
      <dc:creator />
      <dc:date>2015-05-15T18:19:19Z</dc:date>
    </item>
  </channel>
</rss>

