<?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: DB Deadlock Problem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347319#M114594</link>
    <description>&lt;P&gt;Actually no, is this effective? does it matter?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jun 2021 13:15:08 GMT</pubDate>
    <dc:creator>AJadoo1617794336</dc:creator>
    <dc:date>2021-06-08T13:15:08Z</dc:date>
    <item>
      <title>DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347317#M114592</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using &lt;B&gt;Talend Open Studio For ESB 7.3.1&lt;/B&gt; and I created a job that reads from a message queue then insert/update into a database (MS SQL Server), the same job design will be used twice simultaneously, each one will read from it's own queue but both will insert/update into the same DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I executed the jobs a deadlock error messages occurred so many transactions failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used &lt;B&gt;tMomInput&lt;/B&gt; to read from the queue, &lt;B&gt;tDBOutput (tMSSqlOutput) &lt;/B&gt;to insert/update DB tables, &lt;B&gt;tXMLMapper&lt;/B&gt; to map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to modify the &lt;B&gt;Commit every&lt;/B&gt; value many times and I even changed it to &lt;B&gt;1&lt;/B&gt; and the deadlocks still occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to solve this using Talend itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347317#M114592</guid>
      <dc:creator>AJadoo1617794336</dc:creator>
      <dc:date>2024-11-16T00:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347318#M114593</link>
      <description>&lt;P&gt;Hi, it's because you try to send two high priority request to the database table, for security reason il will only take one at a time&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 13:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347318#M114593</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-06-08T13:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347319#M114594</link>
      <description>&lt;P&gt;Actually no, is this effective? does it matter?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 13:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347319#M114594</guid>
      <dc:creator>AJadoo1617794336</dc:creator>
      <dc:date>2021-06-08T13:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347320#M114595</link>
      <description>&lt;P&gt;So you think that the solution should be in the job design and the way it handles the DB, not in Talend component usage?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 14:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347320#M114595</guid>
      <dc:creator>AJadoo1617794336</dc:creator>
      <dc:date>2021-06-08T14:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347321#M114596</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You have committed your SQL output for each and every row in advanced setting of tMSSqlOutput component?&lt;/P&gt;&lt;P&gt;Could you post an image of your job?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 07:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347321#M114596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-09T07:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347322#M114597</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I committed row by row and still have a deadlock issue because the same job design is executed twice in parallel with different queues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Please check images below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated, Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 08:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347322#M114597</guid>
      <dc:creator>AJadoo1617794336</dc:creator>
      <dc:date>2021-06-09T08:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347323#M114598</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000G3rk7AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136618i868E434BD4A50174/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000G3rk7AAB.png" alt="0695b00000G3rk7AAB.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000G3rkMAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132942iE93AA08C4C8911F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000G3rkMAAR.png" alt="0695b00000G3rkMAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 08:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347323#M114598</guid>
      <dc:creator>AJadoo1617794336</dc:creator>
      <dc:date>2021-06-09T08:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347324#M114599</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We suspect that you have not committed some of the previous transaction and its going to a lock stage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check the details using the commands specified in the below link?&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/5836623/getting-lock-wait-timeout-exceeded-try-restarting-transaction-even-though-im" alt="https://stackoverflow.com/questions/5836623/getting-lock-wait-timeout-exceeded-try-restarting-transaction-even-though-im" target="_blank"&gt;https://stackoverflow.com/questions/5836623/getting-lock-wait-timeout-exceeded-try-restarting-transaction-even-though-im&lt;/A&gt;&lt;/P&gt;&lt;P&gt;https://stackoverflow.com/questions/2332768/how-to-avoid-mysql-deadlock-found-when-trying-to-get-lock-try-restarting-trans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition to that, would you mind posting your full error stack trace here?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 08:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347324#M114599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-10T08:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: DB Deadlock Problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347325#M114600</link>
      <description>&lt;P&gt;Here is the error message I got:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Transaction (Process ID 66) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 06:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-Deadlock-Problem/m-p/2347325#M114600</guid>
      <dc:creator>AJadoo1617794336</dc:creator>
      <dc:date>2021-06-13T06:53:55Z</dc:date>
    </item>
  </channel>
</rss>

