<?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: Confused about tMysqlOutputBulkExec in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Confused-about-tMysqlOutputBulkExec/m-p/2207024#M6845</link>
    <description>This component reflects only the capabilities of the MySQL function bulk load, nothing else. You can use this bulk load but I would never try to write into a table with existing data. Bulk load has also a very weak error handling, you have to check log files and even the content in the table. 
&lt;BR /&gt;I suggest loading you data into a staging table with the replace records option and move these data with SQL methods into your target tables.</description>
    <pubDate>Fri, 31 Jan 2014 22:23:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-31T22:23:01Z</dc:date>
    <item>
      <title>Confused about tMysqlOutputBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Confused-about-tMysqlOutputBulkExec/m-p/2207023#M6844</link>
      <description>Hi all! 
&lt;BR /&gt;The 
&lt;B&gt;tMysqlOutputBulkExec&lt;/B&gt; has the following settings under advanced: 
&lt;BR /&gt;Action on data: 
&lt;BR /&gt;- Insert records into table 
&lt;BR /&gt;- Replace records in table 
&lt;BR /&gt;- Update records in table 
&lt;BR /&gt;- Ignore records in table 
&lt;BR /&gt;I came across this component to fill my fact tables, because tMysqlOutput's performance was not satisfying. I expected, that when I use "Update records in table", the component would do a Update or Insert like tMysqlOutput does. But it seems that it does not insert any data unless I use "Insert records into table". 
&lt;BR /&gt;Now my questions: 
&lt;BR /&gt;1. Is 
&lt;B&gt;tMysqlOutputBulkExec&lt;/B&gt; the right component at all for this job? Updates in fact-table are rare, but possible in our case... 
&lt;BR /&gt;2. What is the difference between these 
&lt;B&gt;tMysqlOutput&lt;/B&gt; modes: "Insert or Update", "Update or Insert", "Insert or Update on dublicated key or unique index"? 
&lt;BR /&gt;Kind regards</description>
      <pubDate>Fri, 31 Jan 2014 15:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Confused-about-tMysqlOutputBulkExec/m-p/2207023#M6844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-31T15:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Confused about tMysqlOutputBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Confused-about-tMysqlOutputBulkExec/m-p/2207024#M6845</link>
      <description>This component reflects only the capabilities of the MySQL function bulk load, nothing else. You can use this bulk load but I would never try to write into a table with existing data. Bulk load has also a very weak error handling, you have to check log files and even the content in the table. 
&lt;BR /&gt;I suggest loading you data into a staging table with the replace records option and move these data with SQL methods into your target tables.</description>
      <pubDate>Fri, 31 Jan 2014 22:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Confused-about-tMysqlOutputBulkExec/m-p/2207024#M6845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-31T22:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Confused about tMysqlOutputBulkExec</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Confused-about-tMysqlOutputBulkExec/m-p/2207025#M6846</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;This component reflects only the capabilities of the MySQL function bulk load, nothing else. You can use this bulk load but I would never try to write into a table with existing data. Bulk load has also a very weak error handling, you have to check log files and even the content in the table.&lt;BR /&gt;I suggest loading you data into a staging table with the replace records option and move these data with SQL methods into your target tables.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi jlolling, 
&lt;BR /&gt;thanks for your feedback. 
&lt;BR /&gt;Do you think using a MysqlOutput with UpdateOrInsert can be considered as "save"? It might be much slower but at least one does not has to implement the Loading-Step from a staging Table to the DWH. 
&lt;BR /&gt;So actually, one of my Jobs to fill a fact-table looks like this now: 
&lt;BR /&gt; 
&lt;A href="http://www.directupload.net/file/d/3522/pwff2uiy_png.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;IMG src="https://community.qlik.com/" /&gt;&lt;/A&gt; 
&lt;BR /&gt;I get all the data from a sybase table, then in each tMap component I replace some columns by joining against a dimension table until only the facts and dimension keys remain. These I load into a Facttable by using Update or Insert. 
&lt;BR /&gt;Do you think this is good practise?</description>
      <pubDate>Mon, 03 Feb 2014 10:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Confused-about-tMysqlOutputBulkExec/m-p/2207025#M6846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-03T10:48:17Z</dc:date>
    </item>
  </channel>
</rss>

