<?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: How to avoid loading all QVD into memory in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71122#M11676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea. But just tested and it's not faster by loading from a qvd else it adds some overhead respectively&amp;nbsp; processing to the load and is slower than an optimized load of the whole data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2018 09:06:05 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-05-28T09:06:05Z</dc:date>
    <item>
      <title>How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71114#M11668</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 am running a test, and need to read just the first 100 rows from a 40 Million rows qvd file. Using the FIRST key word, the whole data will be loaded into memory first before qlikview will select the first 100 and likely drop the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way like in SQL select statement to apply the limit and only load 100 record into memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 19:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71114#M11668</guid>
      <dc:creator>trust_okoroego1</dc:creator>
      <dc:date>2018-04-06T19:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71115#M11669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try like using Debug mode.&lt;/P&gt;&lt;P&gt;Press ctrl+E to open edit script then click on Debug&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/198781_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Then limit the load by 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/198813_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Then click on run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 20:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71115#M11669</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-06T20:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71116#M11670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this helps may be try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First 100&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM yourqvdfilename.qvd(qvd)&lt;/P&gt;&lt;P&gt;Where 1=1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 20:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71116#M11670</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-06T20:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71117#M11671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath,&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. I tried but it did not work&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 21:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71117#M11671</guid>
      <dc:creator>trust_okoroego1</dc:creator>
      <dc:date>2018-04-06T21:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71118#M11672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What was the issue? Did you try the script I sent you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 21:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71118#M11672</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-06T21:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71119#M11673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Actually based on qlikview design, it is not possible as the where clause can only be applied after the data is loaded into memory. The suggestion of where 1=1 I guess is only effective when losing a qvd to avoid optimized load and rather read the record row by row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 19:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71119#M11673</guid>
      <dc:creator>trust_okoroego1</dc:creator>
      <dc:date>2018-05-25T19:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71120#M11674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On a QVD it's not possible because it's not a classical table else the data are stored within a data-table and multiple symbol-tables (one for each field). If you apply the reduction-logic from the debugger or FIRST on other file-formats like a csv it will stop after loading n records and speed up the whole load-process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case you could use specially created source-files from the preceeding processes - for just a few simple testings it might be more expensive than loading the (reduced) qvd's, so it depends if it will be really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 08:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71120#M11674</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-05-28T08:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71121#M11675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM File.qvd (qvd) // or any other file&lt;/P&gt;&lt;P&gt;WHERE RowNo() &amp;lt; 100;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 08:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71121#M11675</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-05-28T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71122#M11676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea. But just tested and it's not faster by loading from a qvd else it adds some overhead respectively&amp;nbsp; processing to the load and is slower than an optimized load of the whole data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 09:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71122#M11676</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-05-28T09:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71123#M11677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then it's using RecNo(). I cannot say for sure but we are using this almost every day on 1GB+ and 2GB+ QVDs just to check that the files are OK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 11:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71123#M11677</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-05-28T11:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71124#M11678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my short test (QV 11.2 SR 12., various QVD's ca. 25 / 168 / 460 MB, run-time checking with now() in a variable directly before/after the load) I also tested on recno() and it was not really a difference to rowno() or the other methods. Are you sure that it is really significantly faster as an optimized load with the whole data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 11:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71124#M11678</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-05-28T11:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71125#M11679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was at least, we recently migrated to 12.10 and some things have changed drastically for better and some for worse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why we were doing this is to make sure that there was data in those QVDs and it has certain columns and rows, and dates as dates, etc. It's an extraction from SAP, rather sensitive, and we are using this as a sanity check of the load, and since there are developments and upgrades on the SAP side too, it's not surprising that the comma separate decimals appear instead of thousands, or the dates are DD.MM.YYYY instead of MMMMYYDD, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the length of the file varies, from no lines at all to dozens of millions of lines. If after running a check on this "reduced" QVDs everything looks good, other tasks are triggered and eventually the full QVD set is loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We could be loading the QVDs in their entirety, but when they are big, and the server is running another 12 tasks, resources can be an issue, therefore the "make-it-smaller" thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But again, that's our case. Loading a QVD and dropping it will not make any harm in other cases and in terms of speed, if it's just the QVD without any JOINs or other transformations, the time of loading 100 or 1000000 will be negligible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 11:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71125#M11679</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-05-28T11:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71126#M11680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. I understand your usecase of pre-loading a reduced dataset and checking them before triggering the big tasks with potentially invalid data. But I think this meant that the data-checking is quite expensive and (by a potent storage-system) it won't make a big difference if a large qvd is first completely loaded and then reduced to n records before the checking are applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are no further quality-checkings like above mentioned it might be possible to make these checkings with the file-functions like qvdfieldname() and the xml-headers of the qvd which also include which formattings a field has whereby I'm not sure that it will be much faster and/or easier to implement or to use. Maybe it's an idea ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 12:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71126#M11680</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-05-28T12:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loading all QVD into memory</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71127#M11681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed. File functions and metadata should be enough. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Storage is also a factor in our case with different disks in AWS, some of them fast some of them painfully slow for big files. So better loading a fraction of the file and if it's OK, then the rest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 12:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loading-all-QVD-into-memory/m-p/71127#M11681</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-05-28T12:21:44Z</dc:date>
    </item>
  </channel>
</rss>

