<?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: Tmap usage during insert/update in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324135#M93881</link>
    <description>&lt;BLOCKQUOTE&gt;
  silverhand wrote: 
 &lt;BR /&gt;Hi Rathi. 
 &lt;BR /&gt;The lookup is used when you want to "merge" to different tables linked togheter with external key. 
 &lt;BR /&gt;The Catch lookup inner join reject will able you to catch all data that are in the first column but not in second one (if you linked correctly the the table). 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Just for add: 
&lt;BR /&gt;Sometime (You always must test different ways), sometime You can - load data from both servers in Talend, and with tMap make lookup and split records for NEW and UPDATE flows, then use 2 tMySQLOutput components - one make batch INSERT, 2nd batch UPDATE 
&lt;BR /&gt;The benefits it is speed 
&lt;BR /&gt;- tMap in memory lookup - is fast if You have adequate resources (You may need adjust JVM parameters for BIG tables) 
&lt;BR /&gt;- 2 separate flow with INSERT and UPDATE could work 100+ times faster than INSERT with UPDATE on duplicate keys</description>
    <pubDate>Tue, 31 Jan 2017 20:45:43 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2017-01-31T20:45:43Z</dc:date>
    <item>
      <title>Tmap usage during insert/update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324130#M93876</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a job wherein the source is sql server and destination is mysql. Table with same columns and data types exist in both the databases. The job has to insert rows that are not present in mysql and update rows that are already present in mysql.&lt;BR /&gt;&lt;BR /&gt;The current implementation is tmssqlinput -- tmap -- tmysqloutput. I have set "Insert or Update" in the tmysqloutput component. Will this work for my requirement?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What I do not understand is, when must I use a tmap and use mysql as &lt;STRONG&gt;lookup &lt;/STRONG&gt;and sqlserver as main input? When is the scenario to use "&lt;STRONG&gt;Catch lookup inner join reject&lt;/STRONG&gt;"?&lt;BR /&gt;&lt;BR /&gt;Any ideas on this would be of great help&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Rathi&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 11:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324130#M93876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T11:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap usage during insert/update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324131#M93877</link>
      <description>If you want extract data from the sql serve and insert into mysql server you don't need the tmap component. 
&lt;BR /&gt; 
&lt;BR /&gt;use tmssqlinput --&amp;gt; tmysqloutput&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;remember to use insert or update.</description>
      <pubDate>Tue, 31 Jan 2017 11:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324131#M93877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T11:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap usage during insert/update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324132#M93878</link>
      <description>Thanks silverhand.
&lt;BR /&gt;Will you also please explain when must I use lookup to update a destination table?&amp;nbsp;When is the scenario to use "[color=#5b5b5d][font=Verdana, Helvetica, Arial, sans-serif]
&lt;FONT size="1"&gt;Catch lookup inner join reject&lt;/FONT&gt;[/font][/color]"?&amp;nbsp;I am unable to understand its usage.
&lt;BR /&gt;Thanks in advance
&lt;BR /&gt;Rathi</description>
      <pubDate>Tue, 31 Jan 2017 11:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324132#M93878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T11:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap usage during insert/update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324133#M93879</link>
      <description>Hi Rathi.
&lt;BR /&gt;The lookup is used when you want to "merge" to different tables linked togheter with external key.
&lt;BR /&gt;The Catch lookup inner join reject will able you to catch all data that are in the first column but not in second one (if you linked correctly the the table).</description>
      <pubDate>Tue, 31 Jan 2017 11:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324133#M93879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T11:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap usage during insert/update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324134#M93880</link>
      <description>That explains. Thanks silverhand.</description>
      <pubDate>Tue, 31 Jan 2017 12:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324134#M93880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T12:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap usage during insert/update</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324135#M93881</link>
      <description>&lt;BLOCKQUOTE&gt;
  silverhand wrote: 
 &lt;BR /&gt;Hi Rathi. 
 &lt;BR /&gt;The lookup is used when you want to "merge" to different tables linked togheter with external key. 
 &lt;BR /&gt;The Catch lookup inner join reject will able you to catch all data that are in the first column but not in second one (if you linked correctly the the table). 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Just for add: 
&lt;BR /&gt;Sometime (You always must test different ways), sometime You can - load data from both servers in Talend, and with tMap make lookup and split records for NEW and UPDATE flows, then use 2 tMySQLOutput components - one make batch INSERT, 2nd batch UPDATE 
&lt;BR /&gt;The benefits it is speed 
&lt;BR /&gt;- tMap in memory lookup - is fast if You have adequate resources (You may need adjust JVM parameters for BIG tables) 
&lt;BR /&gt;- 2 separate flow with INSERT and UPDATE could work 100+ times faster than INSERT with UPDATE on duplicate keys</description>
      <pubDate>Tue, 31 Jan 2017 20:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-usage-during-insert-update/m-p/2324135#M93881</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-01-31T20:45:43Z</dc:date>
    </item>
  </channel>
</rss>

