<?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: [resolved] Mysqloutput locks table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216801#M12665</link>
    <description>First try removing the "onComponentOK" link to your commit, and replacing it with a "OnSubJobOK" link from the "tmp_addresse" component. 
&lt;BR /&gt;=&amp;gt; Done but didn't solve the problem. 
&lt;BR /&gt;I have two data sources in the same table (an "external" handled by talend and an "internal" created by my own program). 
&lt;BR /&gt;I wan't to perform inserts from my application while Talend synchornises data from an other application. 
&lt;BR /&gt;I tried to insert/update data in mysql and perform inserts with my application there is no problem. The problem seems to come from Talend not Innodb. 
&lt;BR /&gt;I cant change batch size to 1 because my job is a transaction (many tables an one commit or rollback). I provided a simple test case to describe my problem.</description>
    <pubDate>Tue, 01 Mar 2011 17:48:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-01T17:48:03Z</dc:date>
    <item>
      <title>[resolved] Mysqloutput locks table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216797#M12661</link>
      <description>Hello
&lt;BR /&gt;I use Mysqloutput component with Insert or update action on data followed by a mysqlcommit.
&lt;BR /&gt;During job's execution the output table is locked (if i run an sql insert it waits the end of the job to complete). 
&lt;BR /&gt;Is there an option to not lock the table during job's execution ? 
&lt;BR /&gt;Regards
&lt;BR /&gt;
&lt;BR /&gt;Mysql version 5.5.9 
&lt;BR /&gt;Storage engine InnoDB
&lt;BR /&gt;Talend version 4.1.0M4</description>
      <pubDate>Sat, 16 Nov 2024 13:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216797#M12661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mysqloutput locks table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216798#M12662</link>
      <description>Mysql is locking your table-- not Talend-- and for a good reason 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;if you want to do other inserts to the table in the same session, you will need to configure your db input/outputs to use a shared connection-- use the tMysqlConncetion/tMysqlCommit components to do this.</description>
      <pubDate>Mon, 28 Feb 2011 16:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216798#M12662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-28T16:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mysqloutput locks table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216799#M12663</link>
      <description>I already use shared connection (see picture of my job).
&lt;BR /&gt;I tried to truncate the table run the job and perform inserts during job execution it works. If i run the job a second time (table is no more empty) insert statement waits the end of the job to complete.
&lt;BR /&gt;There is certainly a good reason but i need to perform inserts during job execution.
&lt;BR /&gt;Thanksfor your help.</description>
      <pubDate>Tue, 01 Mar 2011 07:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216799#M12663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-01T07:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mysqloutput locks table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216800#M12664</link>
      <description>Im not sure I understand your problem. It seems like everything is working the way its supposto. 
&lt;BR /&gt;First try removing the "onComponentOK" link to your commit, and replacing it with a "OnSubJobOK" link from the "tmp_addresse" component. 
&lt;BR /&gt;InnoDB should only do row-level locking by default-- This means that if you are doing plain inserts ( Action on Data==Insert ) You will still be able to select rows that have already been committed and are not being modified by another session. When your current session commits, inserts done within it will become available. 
&lt;BR /&gt;If you'd like to do insert-commit-insert-commit, set your output component to use its own connection and change the batch size to 1 
&lt;BR /&gt;This will be really slow, but data will be available to other sessions immediately.</description>
      <pubDate>Tue, 01 Mar 2011 15:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216800#M12664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-01T15:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mysqloutput locks table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216801#M12665</link>
      <description>First try removing the "onComponentOK" link to your commit, and replacing it with a "OnSubJobOK" link from the "tmp_addresse" component. 
&lt;BR /&gt;=&amp;gt; Done but didn't solve the problem. 
&lt;BR /&gt;I have two data sources in the same table (an "external" handled by talend and an "internal" created by my own program). 
&lt;BR /&gt;I wan't to perform inserts from my application while Talend synchornises data from an other application. 
&lt;BR /&gt;I tried to insert/update data in mysql and perform inserts with my application there is no problem. The problem seems to come from Talend not Innodb. 
&lt;BR /&gt;I cant change batch size to 1 because my job is a transaction (many tables an one commit or rollback). I provided a simple test case to describe my problem.</description>
      <pubDate>Tue, 01 Mar 2011 17:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216801#M12665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-01T17:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mysqloutput locks table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216802#M12666</link>
      <description>setting mysql tx_isolation to READ-COMMITTED solved the problem</description>
      <pubDate>Wed, 02 Mar 2011 11:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216802#M12666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-02T11:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mysqloutput locks table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216803#M12667</link>
      <description>Hi , i have the same issue but i am using tMSSQLoutput component. Does reducing batch size helps?</description>
      <pubDate>Mon, 14 May 2018 11:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mysqloutput-locks-table/m-p/2216803#M12667</guid>
      <dc:creator>ShastriV</dc:creator>
      <dc:date>2018-05-14T11:42:35Z</dc:date>
    </item>
  </channel>
</rss>

