<?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: Performance improvement - lookup with tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261991#M42591</link>
    <description>&lt;P&gt;OK, your problem is the reload at each row. I suspect that your query being fired is looking through a lot of data and you are firing it a million times. That is guaranteed to be slow. From your diagram it looks like the main source of data and the lookup query are from the same database. If that is the case, do the lookup in the main query. There is absolutely no point joining in Talend if your data starts off in the same database. If it is not in the same database it might make sense to add the lookup data to your main data's database somehow.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You will not get round this with simple tweaks I'm afraid. 1 million queries is a lot of queries. You have to deal with the latency of building, sending and receiving the data for every single row in your main source.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Nov 2018 13:30:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-21T13:30:40Z</dc:date>
    <item>
      <title>Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261982#M42582</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am using tmap to lookup two dfferent databases and using exp i am narrowing the lookup values however i am getting a performance of just 7-8 rows per sec.&lt;/P&gt; 
&lt;P&gt;I want to process around 1 Million records.&lt;/P&gt; 
&lt;P&gt;Attached is the design, is there anything more than can be done to improve performance.&lt;/P&gt; 
&lt;P&gt;Note: All indexes are in place.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Vidya&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 11:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261982#M42582</guid>
      <dc:creator>vidya821</dc:creator>
      <dc:date>2018-11-20T11:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261983#M42583</link>
      <description>&lt;P&gt;It looks like your Main row is quite slow. Can you test this by removing the other components and testing with just a tLogRow. Also, can you show us your DB component configuration, both Basic and Advanced.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 12:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261983#M42583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-20T12:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261984#M42584</link>
      <description>&lt;P&gt;There's quite a few things that can cause a job like this to be slow. You might try creating a test job with just the database connection and a tLogRow (no tMap) and see if it is significantly faster. If it isn't, then tMap isn't the issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If tMap is likely the issue, try rewriting your select query so you don't need to use an expression filter. You can include the context variable from globalmap() in a query statement; that way, the db's query engine is doing the work, rather than tMap (which is necessarily going to be slower, because it processes one row at a time, similar to a cursor).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 13:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261984#M42584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-20T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261985#M42585</link>
      <description>&lt;P&gt;Hi Rhall,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is the job with just logrow and db connection and also basic and Advanced settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuLF"&gt;Performace issue1.png&lt;/A&gt;</description>
      <pubDate>Tue, 20 Nov 2018 13:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261985#M42585</guid>
      <dc:creator>vidya821</dc:creator>
      <dc:date>2018-11-20T13:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261986#M42586</link>
      <description>db connection with tlogrow is quite faster.&lt;BR /&gt;cannot use globalmap in db because it takes input from one db and use it another db to limit the rows for lookup..this is because the filter constraint for second db changes wrt each row from first db..&lt;BR /&gt;i need to use tmap in this case&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Nov 2018 13:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261986#M42586</guid>
      <dc:creator>vidya821</dc:creator>
      <dc:date>2018-11-20T13:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261987#M42587</link>
      <description>&lt;P&gt;Go back to your original job and switch on the "Use Cursor" tick box. I think you will see an improvement.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 15:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261987#M42587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-20T15:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261988#M42588</link>
      <description>&lt;P&gt;Hi, ticking "Use Cursor" had no impact on performance, its still the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you recommend any Cursor Size, i tried from the range 100- 10000&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 13:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261988#M42588</guid>
      <dc:creator>vidya821</dc:creator>
      <dc:date>2018-11-21T13:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261989#M42589</link>
      <description>&lt;P&gt;How is your tMap configured? Can you show us a screenshot of this configuration please?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 13:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261989#M42589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-21T13:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261990#M42590</link>
      <description>&lt;P&gt;here is the tmap config and db query&lt;/P&gt; 
&lt;P&gt;With cursor size of 100, the performance was slightly improved from 7 rws/s to 11 rws/s.&lt;/P&gt; 
&lt;P&gt;Can it be imporved more ?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuAJ"&gt;Performace issue.png&lt;/A&gt;</description>
      <pubDate>Wed, 21 Nov 2018 13:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261990#M42590</guid>
      <dc:creator>vidya821</dc:creator>
      <dc:date>2018-11-21T13:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261991#M42591</link>
      <description>&lt;P&gt;OK, your problem is the reload at each row. I suspect that your query being fired is looking through a lot of data and you are firing it a million times. That is guaranteed to be slow. From your diagram it looks like the main source of data and the lookup query are from the same database. If that is the case, do the lookup in the main query. There is absolutely no point joining in Talend if your data starts off in the same database. If it is not in the same database it might make sense to add the lookup data to your main data's database somehow.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You will not get round this with simple tweaks I'm afraid. 1 million queries is a lot of queries. You have to deal with the latency of building, sending and receiving the data for every single row in your main source.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 13:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261991#M42591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-21T13:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement - lookup with tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261992#M42592</link>
      <description>Thanks Rhall,
&lt;BR /&gt;Yes indeed its same db tables in the job as of now, but the lookup table is going to change in future, the table is gonna be from diff db. Will see the workaround..</description>
      <pubDate>Wed, 21 Nov 2018 13:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Performance-improvement-lookup-with-tmap/m-p/2261992#M42592</guid>
      <dc:creator>vidya821</dc:creator>
      <dc:date>2018-11-21T13:40:04Z</dc:date>
    </item>
  </channel>
</rss>

