<?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: 6 inner joins in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/6-inner-joins/m-p/1291044#M619481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your clear answer. I will discuss it with my colleague what we can do best. &lt;/P&gt;&lt;P&gt;We will check the inner joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In total our datamodel has 12 files, so one file more should make no difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Court&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2017 12:34:29 GMT</pubDate>
    <dc:creator>pacoli2013</dc:creator>
    <dc:date>2017-03-28T12:34:29Z</dc:date>
    <item>
      <title>6 inner joins</title>
      <link>https://community.qlik.com/t5/QlikView/6-inner-joins/m-p/1291042#M619479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; color: black; mso-ansi-language: EN-GB;"&gt;Hallo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; color: black; mso-ansi-language: EN-GB;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Arial; color: #222222; mso-ansi-language: EN-GB;"&gt;My colleague has included in his Qlikviewscript a SQL Select statement with 6 Inner Joins&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; color: black; mso-ansi-language: EN-GB;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;I have rewritten the script with 6 Mappings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; color: black; mso-ansi-language: EN-GB;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;Loading of my Script is faster and I have after loading still 300,000 records. Of course do I have 2 Files, related/connected by a key. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; color: black; mso-ansi-language: EN-GB;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;Loading the script of my colleague is going slower and has after loading more than 7 million records. Of course he has only one file&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; color: black; mso-ansi-language: EN-GB;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="NL" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; color: black; mso-ansi-language: NL;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;We have 2 servers: a sql server with the Data WareHouse and a Qlikview server with Qlikview and N-Printing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;I have added both scripts as a worddocument.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 9.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN lang="NL" style="font-size: 9.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: NL;"&gt;My questions are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 0 36pt; text-indent: -18pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Verdana; mso-bidi-font-family: Verdana; mso-ansi-language: EN-GB;"&gt;&lt;SPAN style="color: #000000;"&gt;1)&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font: 7.0pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;where are the inner joins executed: my college thinks on the SQL server, I think directly on the Qlikview server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt 36pt; text-indent: -18pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Verdana; mso-bidi-font-family: Verdana; mso-ansi-language: EN-GB;"&gt;&lt;SPAN style="color: #000000;"&gt;2)&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font: 7.0pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;which method is the best if one wants to work with joins.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: 'Courier New'; color: black; mso-ansi-language: EN-GB;"&gt;I have to say: my colleague is a real SQL-developer, working with Qlikview sometimes. I’m a Qlikview designer/developer, working with SQL when needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black; mso-ansi-language: EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Court&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 06:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/6-inner-joins/m-p/1291042#M619479</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2017-03-28T06:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: 6 inner joins</title>
      <link>https://community.qlik.com/t5/QlikView/6-inner-joins/m-p/1291043#M619480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only with these informations it couldn't be said that one approach is better than the other. At first is to check if both methods return the same and correct results by all objects/calculations which are needed - there might be some adjustments necessary to them to reflect the differences within the datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If both approaches are working in general your decision which one to prefer might consider which approach is more suitable to your further requirements (probably there are more tables included within the datamodel) and which is more handy to you - and of course if the load-runtimes or the UI performance is significantly different and also a real issue you had found your better solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside them the SQL statement will be executed from the database - qlikview only triggers the execution and received the results. Therefore the speed of the database (especially in considering to it current workload) and also the performance of the odbc-driver and the network-speed will determine how long it will take to return a result. You might get faster results if you only queries your needed fields and not used the "*" wildcard by your mapping-loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another point is the &lt;STRONG&gt;inner&lt;/STRONG&gt; joining which not only adds some fields to the other table else it is also a strong filter because only the matchings from both sides remain within the dataset - often this is fully intended (I use this often with extra created tables as a convenient way by complex filtering-requirements to avoid heavy where-conditions). From this point of view I would expect that the join-approach returned lesser records than your mapping-method.&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, 28 Mar 2017 11:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/6-inner-joins/m-p/1291043#M619480</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-28T11:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: 6 inner joins</title>
      <link>https://community.qlik.com/t5/QlikView/6-inner-joins/m-p/1291044#M619481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your clear answer. I will discuss it with my colleague what we can do best. &lt;/P&gt;&lt;P&gt;We will check the inner joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In total our datamodel has 12 files, so one file more should make no difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Court&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 12:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/6-inner-joins/m-p/1291044#M619481</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2017-03-28T12:34:29Z</dc:date>
    </item>
  </channel>
</rss>

