<?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 Urgent Response required on : Performance Issue with Hybrid approach in Direct Discovery in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Urgent-Response-required-on-Performance-Issue-with-Hybrid/m-p/737718#M1068965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am working on QlikView Direct Discovery Hybrid approach with MySql data base. In the implementation of this I am facing lot of Issues and to name some of them: Direct Query failed, Too bad performance etc etc. What I am looking from you guys is your VALUEABLE inputs and suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here we go:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a dashboard of the size ~1.5GB with multiple tabs and out of it one is Transaction level details. Now we are going ahead with Hybrid approach as this is the most feasible option in our case. Below are the two options which I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1: Linking the Transaction table with the Fact file on a &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key (Field1&amp;amp;Field2&amp;amp;Field3&amp;amp;Field4&amp;amp;Field5)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In this approach I frequently encounter with an error msg "Direct Query Failed", and upon checking error msg in the tracing file I came to know that the QlikView is unable to display results because of the complexity of the query. So I moved to another approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. Keeping Transaction table as a stand alone table(No link between DirectTable and Existing QVDs)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here we still have the common &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key (Field1&amp;amp;Field2&amp;amp;Field3&amp;amp;Field4&amp;amp;Field5) &lt;/STRONG&gt;&lt;/SPAN&gt;in DirectTable and the Fact file but the name is different so as to prevent auto linking. Now the idea is to link Transaction tab with rest of the Tabs using the "Select in Field" trigger on &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What ever selection I make in any of the tab apart from Transaction tab will result in filtering of &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt; which I can easily pass on to the &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key &lt;/STRONG&gt;&lt;/SPAN&gt;in Transaction tab using the Select in Field trigger, and it is giving us the results. But, the moment we clear the fields and start making selections in the Transaction tab, it takes between 1-15 mins to refresh the table box based on the number of records. This is where the main problem lies. How best we can optimize the performance in this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/SPAN&gt; We have tested applying the queries on MySql database directly to check whether the Lag is from QV or MySql, But to be very honest MySql response time is quite fast(1-5 secs)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;We are using QV11.2 SR5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It would be of great help if anyone could provide logical workaround.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Any help would be highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sagar Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 17:50:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-25T17:50:47Z</dc:date>
    <item>
      <title>Urgent Response required on : Performance Issue with Hybrid approach in Direct Discovery</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Response-required-on-Performance-Issue-with-Hybrid/m-p/737718#M1068965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am working on QlikView Direct Discovery Hybrid approach with MySql data base. In the implementation of this I am facing lot of Issues and to name some of them: Direct Query failed, Too bad performance etc etc. What I am looking from you guys is your VALUEABLE inputs and suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here we go:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a dashboard of the size ~1.5GB with multiple tabs and out of it one is Transaction level details. Now we are going ahead with Hybrid approach as this is the most feasible option in our case. Below are the two options which I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1: Linking the Transaction table with the Fact file on a &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key (Field1&amp;amp;Field2&amp;amp;Field3&amp;amp;Field4&amp;amp;Field5)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In this approach I frequently encounter with an error msg "Direct Query Failed", and upon checking error msg in the tracing file I came to know that the QlikView is unable to display results because of the complexity of the query. So I moved to another approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. Keeping Transaction table as a stand alone table(No link between DirectTable and Existing QVDs)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here we still have the common &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key (Field1&amp;amp;Field2&amp;amp;Field3&amp;amp;Field4&amp;amp;Field5) &lt;/STRONG&gt;&lt;/SPAN&gt;in DirectTable and the Fact file but the name is different so as to prevent auto linking. Now the idea is to link Transaction tab with rest of the Tabs using the "Select in Field" trigger on &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What ever selection I make in any of the tab apart from Transaction tab will result in filtering of &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt; which I can easily pass on to the &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Key &lt;/STRONG&gt;&lt;/SPAN&gt;in Transaction tab using the Select in Field trigger, and it is giving us the results. But, the moment we clear the fields and start making selections in the Transaction tab, it takes between 1-15 mins to refresh the table box based on the number of records. This is where the main problem lies. How best we can optimize the performance in this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/SPAN&gt; We have tested applying the queries on MySql database directly to check whether the Lag is from QV or MySql, But to be very honest MySql response time is quite fast(1-5 secs)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;We are using QV11.2 SR5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It would be of great help if anyone could provide logical workaround.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Any help would be highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sagar Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 17:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Response-required-on-Performance-Issue-with-Hybrid/m-p/737718#M1068965</guid>
      <dc:creator />
      <dc:date>2014-08-25T17:50:47Z</dc:date>
    </item>
  </channel>
</rss>

