<?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: MySQL and bulk in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244808#M30843</link>
    <description>Hi &lt;BR /&gt;Any suggestions on reducing time of execution of job while loading into mysql table</description>
    <pubDate>Wed, 19 Jun 2013 07:24:40 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2013-06-19T07:24:40Z</dc:date>
    <item>
      <title>MySQL and bulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244802#M30837</link>
      <description>Hello,
&lt;BR /&gt;i've got some troubles with Mysql in talend 5.0.1 Data integration Professional Edition.
&lt;BR /&gt;I would like to insert or update my database. The 
&lt;B&gt;tMySQLOutput&lt;/B&gt; components is awesome for that. But when you've got 100 k lines to "update or insert" (or "insert or update") it's kinda slow. I tried wit "Replace" and it duplicate lines :/
&lt;BR /&gt;So i tried tMySQLOutputBulk and then tMySQLBulkExec. Faster!
&lt;BR /&gt;But in "
&lt;B&gt;Advanced settings&lt;/B&gt; &amp;gt; 
&lt;B&gt;Action on data&lt;/B&gt;" we have a set of intresting choices and... still no good.
&lt;BR /&gt;- When i use a 
&lt;B&gt;replace&lt;/B&gt; it act like an simple insert and duplicate lines
&lt;BR /&gt;- When i use an 
&lt;B&gt;update&lt;/B&gt;, it only update existing lines and ignores new ones
&lt;BR /&gt;Any advices for speeding up that process?</description>
      <pubDate>Tue, 16 Oct 2012 13:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244802#M30837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-16T13:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL and bulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244803#M30838</link>
      <description>Hi
&lt;BR /&gt;tMysqlBulkExec component don't support the insert and update action at the same time, if you stick to use tMysqlBulkExec component, as a workaround, you can read the source file and do an inner join with target table on primary key, get the rows which need to be insert, and the rows which need to updated, and use two tMysqlBulkExec components for each action. For example:
&lt;BR /&gt;tFileInputDelimited(read source file)--main--tMap--main--tMysqlBulkExec_1(for inserting)
&lt;BR /&gt; | --main--tMysqlBulkExec_1(for updating)
&lt;BR /&gt; lookup
&lt;BR /&gt; | 
&lt;BR /&gt; tMysqlInput(read primary key from target table)
&lt;BR /&gt;on tMap component, do an inner join on primary key, get the matched rows that need to be updated, get the unmatched rows that need to be inserted.</description>
      <pubDate>Wed, 17 Oct 2012 13:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244803#M30838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-17T13:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL and bulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244804#M30839</link>
      <description>Thank you!&lt;BR /&gt;That's a good idea. I'm going to try this.&lt;BR /&gt;I was thinking of that... Thanks to you it's a bit clear now.</description>
      <pubDate>Wed, 17 Oct 2012 13:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244804#M30839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-17T13:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL and bulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244805#M30840</link>
      <description>Hi ,&lt;BR /&gt;The job which i have configured has to load 6 crore  and contains 43 col into a mysql table ,the flow is as follows&lt;BR /&gt;tFileInputDelimited---&amp;gt;tmap---&amp;gt;tSort---&amp;gt;tUniq----&amp;gt;tMysqlOutputBulkExec&lt;BR /&gt;The job takes around 3 and half hours to load into table . Can anyone tell how to speed up the job and reduce time of execution.</description>
      <pubDate>Fri, 14 Jun 2013 12:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244805#M30840</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-06-14T12:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL and bulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244806#M30841</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi ,&lt;BR /&gt;The job which i have configured has to load 6 crore and contains 43 col into a mysql table ,the flow is as follows&lt;BR /&gt;tFileInputDelimited---&amp;gt;tmap---&amp;gt;tSort---&amp;gt;tUniq----&amp;gt;tMysqlOutputBulkExec&lt;BR /&gt;The job takes around 3 and half hours to load into table . Can anyone tell how to speed up the job and reduce time of execution.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;A quick question, what about the performance if you remove tSort---&amp;gt;tUniq from your job? 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 14 Jun 2013 18:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244806#M30841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-14T18:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL and bulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244807#M30842</link>
      <description>hi shong, 
&lt;BR /&gt; 
&lt;BR /&gt;The time it took to load is almost same without tSort and tUniq</description>
      <pubDate>Mon, 17 Jun 2013 06:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244807#M30842</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-06-17T06:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL and bulk</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244808#M30843</link>
      <description>Hi &lt;BR /&gt;Any suggestions on reducing time of execution of job while loading into mysql table</description>
      <pubDate>Wed, 19 Jun 2013 07:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-and-bulk/m-p/2244808#M30843</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-06-19T07:24:40Z</dc:date>
    </item>
  </channel>
</rss>

