<?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 [resolved] Help with Tmap Lookup table optimization in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215260#M11749</link>
    <description>I have a job that fetches data from a table in batches for example if a batch is of 1000 Records. I have a Table A which will fetch all the 1000 records this is then joined to Tables B , C , D , E , F , G , H and more (30+ tables) using TMap. I would like to filter the lookup tables such that data relevant to this batch job are fetched from the database when the job is run. Currently when I join using Tmap it fetches all the records from the lookup tables which is highly inefficient when dealing with millions of records in each lookup table joined. 
&lt;BR /&gt;Is there some way I can store the ID’s in tHashmapInput and pass it as a parameter to each of the lookup tables and then using the IN clause of the SQL query I can fetch only those records that are relevant to the current batch? 
&lt;BR /&gt;The only solution that I can think of right now is to first store all the ID’s fetched in a batch to a temporary table and join the temp table in my query for the input tables. 
&lt;BR /&gt;Any suggestions how this can be done in a better way in Talend Studio will be much appreciated. 
&lt;BR /&gt;I have already configured all my lookup tables to store temp data. 
&lt;BR /&gt;Talend 
&lt;FONT size="1"&gt;&lt;FONT face="'Segoe UI', sans-serif"&gt;Version: 5.6.1&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="'Segoe UI', sans-serif"&gt;Build id: 20141207_1530&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Sat, 16 Nov 2024 11:19:10 GMT</pubDate>
    <dc:creator>Abhishek9</dc:creator>
    <dc:date>2024-11-16T11:19:10Z</dc:date>
    <item>
      <title>[resolved] Help with Tmap Lookup table optimization</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215260#M11749</link>
      <description>I have a job that fetches data from a table in batches for example if a batch is of 1000 Records. I have a Table A which will fetch all the 1000 records this is then joined to Tables B , C , D , E , F , G , H and more (30+ tables) using TMap. I would like to filter the lookup tables such that data relevant to this batch job are fetched from the database when the job is run. Currently when I join using Tmap it fetches all the records from the lookup tables which is highly inefficient when dealing with millions of records in each lookup table joined. 
&lt;BR /&gt;Is there some way I can store the ID’s in tHashmapInput and pass it as a parameter to each of the lookup tables and then using the IN clause of the SQL query I can fetch only those records that are relevant to the current batch? 
&lt;BR /&gt;The only solution that I can think of right now is to first store all the ID’s fetched in a batch to a temporary table and join the temp table in my query for the input tables. 
&lt;BR /&gt;Any suggestions how this can be done in a better way in Talend Studio will be much appreciated. 
&lt;BR /&gt;I have already configured all my lookup tables to store temp data. 
&lt;BR /&gt;Talend 
&lt;FONT size="1"&gt;&lt;FONT face="'Segoe UI', sans-serif"&gt;Version: 5.6.1&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="'Segoe UI', sans-serif"&gt;Build id: 20141207_1530&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215260#M11749</guid>
      <dc:creator>Abhishek9</dc:creator>
      <dc:date>2024-11-16T11:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Help with Tmap Lookup table optimization</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215261#M11750</link>
      <description>Your idea of creating a temporary table and joining is how I would do it.&amp;nbsp; Is there a reason you do not like this design?&amp;nbsp; Very large IN () clauses can cause troubles of their own.&amp;nbsp;</description>
      <pubDate>Thu, 19 Feb 2015 14:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215261#M11750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-19T14:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Help with Tmap Lookup table optimization</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215262#M11751</link>
      <description>For a bigger batch size of say 100000 records it takes about 70-75 secs to commit before the job starts hence I was looking for a better way to do this to speed up the overall job time.</description>
      <pubDate>Mon, 09 Mar 2015 14:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215262#M11751</guid>
      <dc:creator>Abhishek9</dc:creator>
      <dc:date>2015-03-09T14:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Help with Tmap Lookup table optimization</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215263#M11752</link>
      <description>It sounds like the lookup and primary table are all on the same database. &amp;nbsp;Is doing the transformation on the database an option? &amp;nbsp;Have you considered using one of the tELTmap components? &amp;nbsp;</description>
      <pubDate>Mon, 23 Mar 2015 20:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Help-with-Tmap-Lookup-table-optimization/m-p/2215263#M11752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T20:23:53Z</dc:date>
    </item>
  </channel>
</rss>

