<?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>article Keep Left or exists in Qlik Learning Documents</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/ta-p/1492009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep Left or exists. which is more performant?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will limit my second data table based with the result of my first table. I can use either left keep or Where exists in my second table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;Solution1&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load mykey from mytableA;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;Load * from mytableB Where exists (mykey);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution 2&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load mykey from mytableA;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;Keep left (Table1) Load * from mytableB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result: Solution 1 is 2 times faster than solution 1&lt;/P&gt;&lt;P&gt;In my example, MytableB have ​​9 million records&lt;/P&gt;&lt;P&gt;So Exists is more performant than " left keep".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2014 13:26:10 GMT</pubDate>
    <dc:creator>syukyo_zhu</dc:creator>
    <dc:date>2014-09-22T13:26:10Z</dc:date>
    <item>
      <title>Keep Left or exists</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/ta-p/1492009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep Left or exists. which is more performant?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will limit my second data table based with the result of my first table. I can use either left keep or Where exists in my second table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;Solution1&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load mykey from mytableA;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;Load * from mytableB Where exists (mykey);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution 2&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load mykey from mytableA;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;Keep left (Table1) Load * from mytableB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result: Solution 1 is 2 times faster than solution 1&lt;/P&gt;&lt;P&gt;In my example, MytableB have ​​9 million records&lt;/P&gt;&lt;P&gt;So Exists is more performant than " left keep".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 13:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/ta-p/1492009</guid>
      <dc:creator>syukyo_zhu</dc:creator>
      <dc:date>2014-09-22T13:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Keep Left or exists</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/tac-p/1492010#M148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solution 2&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load mykey from mytableA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;left keep (Table1) Load * from mytableB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what about the above speed wise. As isn't left keep and where exists doing the same thing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 15:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/tac-p/1492010#M148</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2014-09-22T15:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Keep Left or exists</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/tac-p/1492011#M149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes, the both do the same thing. i want juste show in my exemple "where exists" is more performant than "left keep". if you should reduce your table with 20 millons record with le resultat of your other table. you should use "where exist" and not "left keep".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 13:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/tac-p/1492011#M149</guid>
      <dc:creator>syukyo_zhu</dc:creator>
      <dc:date>2014-09-23T13:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Keep Left or exists</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/tac-p/1492012#M150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;OK Thanks. Version 2 is clear. I assume version 2 was how you did the test not version 1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 13:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/tac-p/1492012#M150</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2014-09-23T13:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Keep Left or exists</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/tac-p/1492013#M151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, i did a mistake in my first version, thanks for your remark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 13:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Documents/Keep-Left-or-exists/tac-p/1492013#M151</guid>
      <dc:creator>syukyo_zhu</dc:creator>
      <dc:date>2014-09-23T13:51:21Z</dc:date>
    </item>
  </channel>
</rss>

