<?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: Script qvw just goes away in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651827#M669874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, Oracle. The data it's pulling is large - I mentioned millions of rows - and there's more than 1 table..more like 5 or 6. So there's&amp;nbsp; a lot of work to do.&amp;nbsp; The DB team's never report errors in the DB or the like. The way the script works...several SQL Statement are executed step by step, in many cases one result feeding the next. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2014 13:55:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-15T13:55:14Z</dc:date>
    <item>
      <title>Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651824#M669871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone, &lt;/P&gt;&lt;P&gt;I have a script I've created that does loading operations...for the most part loading data from the database (through ODBC) and putting it into QVD files. &lt;/P&gt;&lt;P&gt;Quite often I see QV simply stop processing in the following manner: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2047&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select &lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2048&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; col1&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2052&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from &lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2053&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table1 &lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2054&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inner join table2&lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2055&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on a = a&lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2056&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inner join table 2 &lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2057&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on ot.object_id = oc.parent_id&lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2058&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where &lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2059&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c is null&lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2060&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.col('ST','UT')&lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2061&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group by &lt;/P&gt;&lt;P&gt;10/2/2014 10:40:34 AM: 2062&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; col1 ... &lt;/P&gt;&lt;P&gt;10/2/2014 10:55:23 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 fields found: col1, col2, col3, col4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then nothing. Sometime it runs (and it will return millions of rows), but sometimes QV just stops there. I'm tracking it using the logs and I'm not sure to see why or what it's doing. I've seen it happen with other SQL Statements, but there's no rhyme or reason. &lt;/P&gt;&lt;P&gt;Does anyone have any advice on where to look next?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 22:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651824#M669871</guid>
      <dc:creator />
      <dc:date>2014-10-02T22:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651825#M669872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just realized that while hiding the SQL it might not make sense, but the SQL I'm using is fine. &lt;/P&gt;&lt;P&gt;What I'm really after is: when a QV script stops and never comes back after reaching out to the DB, where do you look for errors? &lt;/P&gt;&lt;P&gt;Anyone? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 13:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651825#M669872</guid>
      <dc:creator />
      <dc:date>2014-10-15T13:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651826#M669873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If by SQL you mean SQL Server, then I would always look at the database server first if it's a random issue. Could be locking, clashing with backups etc., network/firewall problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your query hitting a single or multiple SQL tables/views and is this a production table or an object created just for your QV routine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 13:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651826#M669873</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2014-10-15T13:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651827#M669874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, Oracle. The data it's pulling is large - I mentioned millions of rows - and there's more than 1 table..more like 5 or 6. So there's&amp;nbsp; a lot of work to do.&amp;nbsp; The DB team's never report errors in the DB or the like. The way the script works...several SQL Statement are executed step by step, in many cases one result feeding the next. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 13:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651827#M669874</guid>
      <dc:creator />
      <dc:date>2014-10-15T13:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651828#M669875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not an Oracle expert but the principles are the same. I'm not sure your DB admins will definitely get an alert about a deadlock victim unless something has been configured to look for them - in MS SQL the DBA would need to search through the logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some timeout settings in QMC but think the job would fail gracefully if it was that. You could try setting a trace on the ODBC connection in ODBC admin to see if anything shows.&amp;nbsp; Also look in Task Manager for processes like qvb.exe and qvconnect*.exe - are they still active while the job hangs?&lt;/P&gt;&lt;P&gt;Generally for large and or complicated sql statements, it may be better to build a table in the DB on a schedule ready for QV consumption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding network issues, I run various ODBC-connecting jobs overnight and track job durations over time on a graph. I can see that if one job is slow, they all usually slow up by the same amount. You would need your infrastructure team to trace bandwidth usage/speeds over time to see if failed execution coincides with high network usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 08:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651828#M669875</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2014-10-16T08:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651829#M669876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to check you're not using select * anywhere? I've seen DBAs add in temp columns to tables before which could cause join errors in your QV load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 08:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651829#M669876</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2014-10-16T08:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651830#M669877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flipside, &lt;/P&gt;&lt;P&gt;Thanks so much, you're giving me other places to look - which is really what I needed. So it sounds like you're saying the QV script *could* simply go away and that it's not unheard of. Here's one thing I know: in QV there's a timeout setting of 21600 somewhere - 6 hours for waiting for the database - and I have seen that fail ungracefully. This case is not the same as it's not 6 hours. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 12:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651830#M669877</guid>
      <dc:creator />
      <dc:date>2014-10-16T12:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651831#M669878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't say "go away", although anything is possible. In my experience, a script that stalls is usually either waiting for data or trying to create a complex data model. Another issue could be lack of RAM in which case there will be lots of disk activity, paging from memory to disk etc.. Are you running on a server or desktop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 13:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651831#M669878</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2014-10-16T13:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651832#M669879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a somewhat beefy server --- 32 GB of RAM (yes, could be more) but that's a key question. If it stalls while building a complex data model, is there nowhere beyond the script log I can troubleshoot?&amp;nbsp; Even with trace statements; before it returns the full number of rows - it just seems to go away. That said, I will look for process files and ODBC logging. &lt;/P&gt;&lt;P&gt;Thanks for your assistance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 13:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651832#M669879</guid>
      <dc:creator />
      <dc:date>2014-10-16T13:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651833#M669880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you loading on the same server that runs QlikView Server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 14:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651833#M669880</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2014-10-16T14:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651834#M669881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the database is remote and is being called via ODBC connection. Oracle. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 14:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651834#M669881</guid>
      <dc:creator />
      <dc:date>2014-10-16T14:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651835#M669882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was talking about QlikView. Publisher and Server on same machine?&lt;/P&gt;&lt;P&gt;Developer, if you don't have Publisher,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 14:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651835#M669882</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2014-10-16T14:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651836#M669883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have a QV Server &amp;amp; WebServer and then I have desktop to open the documents and run them manually. Server comes with a scheduled reload that I use also. No Developer, no Publisher.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 14:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651836#M669883</guid>
      <dc:creator />
      <dc:date>2014-10-16T14:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Script qvw just goes away</title>
      <link>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651837#M669884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;Desktop and Developer, same thing.&lt;/P&gt;&lt;P&gt;So your reloads runs (scheduled reload bat) on the same server as QlikView server resides on?&lt;/P&gt;&lt;P&gt;If your QlikView server is heavily used and you try to reload at the same time, there will be a less CPU for your reload. Could affect the loading process very much.&lt;/P&gt;&lt;P&gt;Can you try to reload during night when nobody is using QlikView Server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 14:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-qvw-just-goes-away/m-p/651837#M669884</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2014-10-16T14:29:11Z</dc:date>
    </item>
  </channel>
</rss>

