<?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: Sub Query Taking long time in QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sub-Query-Taking-long-time-in-QlikView/m-p/422333#M157366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sijo, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We must avoid using sub-queries since they are not that performance oriented. As far as qlikview is concerned, as per my understanding, the QlikView lets the database engine take its time to run query and then use the result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you doing any aggregations on the result set as well? That might make it slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can load individual tables in QlikView and then create a data model as required in using the sub-queries. Things can be made fast through scripting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 11:35:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-04T11:35:09Z</dc:date>
    <item>
      <title>Sub Query Taking long time in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Query-Taking-long-time-in-QlikView/m-p/422332#M157365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using a query to fetch the data from oracle database (around 90,000 records are there). The query contains 7 sub query.&amp;nbsp; If we execute the query directly in TOAD it takes only 50 seconds. But when executing the same from QlikView it is taking 4 hours. Please could you advise the options to optimize this. Or is there any limitation in using sub queries in the QlikView. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using QlikView 10 SR4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sijo Joseph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 10:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Query-Taking-long-time-in-QlikView/m-p/422332#M157365</guid>
      <dc:creator />
      <dc:date>2013-04-04T10:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Query Taking long time in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Query-Taking-long-time-in-QlikView/m-p/422333#M157366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sijo, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We must avoid using sub-queries since they are not that performance oriented. As far as qlikview is concerned, as per my understanding, the QlikView lets the database engine take its time to run query and then use the result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you doing any aggregations on the result set as well? That might make it slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can load individual tables in QlikView and then create a data model as required in using the sub-queries. Things can be made fast through scripting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 11:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Query-Taking-long-time-in-QlikView/m-p/422333#M157366</guid>
      <dc:creator />
      <dc:date>2013-04-04T11:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Query Taking long time in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Query-Taking-long-time-in-QlikView/m-p/422334#M157367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are uding ORACLE OLEDB. in the last 3 months 45,000 records has been added and then the issue has started. Please can you advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sijo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 12:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Query-Taking-long-time-in-QlikView/m-p/422334#M157367</guid>
      <dc:creator />
      <dc:date>2013-04-04T12:39:11Z</dc:date>
    </item>
  </channel>
</rss>

