<?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: Several jobs loading the same QVD at the same time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127524#M601433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's quite rarely but I had already had the case that a multiple access at the same time of a certain qvd's led to lock-errors. It only happened if I played manually with several parallel instances because all my regular tasks are neatly chained. Therefore I wouldn't be surprised if it would fail randomly especially as you couldn't really control all the input/output to your storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One possibility to avoid errors might be to include an error-logic with ERRORMODE within the script maybe within a loop of 10 trials each and if an error occured just wait (sleep) n seconds and try it again before skipping this task or running into an error or doing anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach might be to set this file to READONLY within the filesystem or something similar - I never worked with these attributes but I could imagine that the OS behaviour of handling a file-access might be adjustable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also possible would be just to store n (parallel) copies of these qvd and each task which couldn't chained to another get its own copy.&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, 23 Oct 2018 11:30:50 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-10-23T11:30:50Z</dc:date>
    <item>
      <title>Several jobs loading the same QVD at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127523#M601432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have many very frequent jobs (100 jobs run every 2 minutes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a reference file to be loaded as a lookup into the load script.&amp;nbsp; There is a high possibility that several jobs will attempt to load the same qvd at the same time.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fear that one of these jobs will fail due to a file LOCK on the qvd because it is being run by another job.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does Qlik Sense handle such a scenario?&amp;nbsp; Will a job lock a qvd file until it is done with it?&amp;nbsp; If so, is there anyway to avoid this other than attempting to ensure that the loads do not happen at the same time (which will be very difficult)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 20:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127523#M601432</guid>
      <dc:creator>jonathanciti</dc:creator>
      <dc:date>2018-10-22T20:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Several jobs loading the same QVD at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127524#M601433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's quite rarely but I had already had the case that a multiple access at the same time of a certain qvd's led to lock-errors. It only happened if I played manually with several parallel instances because all my regular tasks are neatly chained. Therefore I wouldn't be surprised if it would fail randomly especially as you couldn't really control all the input/output to your storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One possibility to avoid errors might be to include an error-logic with ERRORMODE within the script maybe within a loop of 10 trials each and if an error occured just wait (sleep) n seconds and try it again before skipping this task or running into an error or doing anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach might be to set this file to READONLY within the filesystem or something similar - I never worked with these attributes but I could imagine that the OS behaviour of handling a file-access might be adjustable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also possible would be just to store n (parallel) copies of these qvd and each task which couldn't chained to another get its own copy.&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, 23 Oct 2018 11:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127524#M601433</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-10-23T11:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Several jobs loading the same QVD at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127525#M601434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I'm going to play with the ERRORMODE option since we will have quite a few apps that will access this lookup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if there's another file format that might better allow for multiple concurrent reads, possibly a text file or simply put this in a database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 12:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127525#M601434</guid>
      <dc:creator>jonathanciti</dc:creator>
      <dc:date>2018-10-23T12:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Several jobs loading the same QVD at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127526#M601435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK another fileformat won't change anything because the file-locking is a feature of the OS but putting this lookup-table into a database would be an alternatively because they are designed for such use-cases.&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, 23 Oct 2018 12:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Several-jobs-loading-the-same-QVD-at-the-same-time/m-p/127526#M601435</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-10-23T12:08:42Z</dc:date>
    </item>
  </channel>
</rss>

