<?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: Close SQL Connections in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Close-SQL-Connections/m-p/2376600#M138715</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a tMSSQLClose Component which you can use to close connections you've opened with tMSSQLConnection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'suggest doing this over closing a connection on commit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jun 2018 13:17:10 GMT</pubDate>
    <dc:creator>David_Beaty</dc:creator>
    <dc:date>2018-06-12T13:17:10Z</dc:date>
    <item>
      <title>Close SQL Connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Close-SQL-Connections/m-p/2376599#M138714</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;The component tMSSqlConnection creates a new connection to a database. I had been using this component without closing it with the component tMSSQlCommit and I eventually had an error from the sql azure database:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;12:58:49;xt8Pui;xt8Pui;xt8Pui;LOCAL_PROJECT;IPayment_CommitTransaction;Default;6;Java Exception;tMSSqlInput_2;java.sql.SQLException:Resource ID : 1. The request limit for the database is 120 and has been reached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked this error and it was generated because I had a lot of sessions at the same time(This is what I think). I don't want this to happen, so I have to resolve this problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix the problem I don't know if I should delete the component that creates&lt;/P&gt;&lt;P&gt;that create the sessions and&amp;nbsp; use components like tMSSqlInput or tMSSqlOutput. Because with those components you are still creating sessions and closing them after the input, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or the best option is to close the connection with tMSSqlCommit. I have to say that I am woking with a webservice which is receiving a lot of requests all the time. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Close-SQL-Connections/m-p/2376599#M138714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Close SQL Connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Close-SQL-Connections/m-p/2376600#M138715</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a tMSSQLClose Component which you can use to close connections you've opened with tMSSQLConnection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'suggest doing this over closing a connection on commit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 13:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Close-SQL-Connections/m-p/2376600#M138715</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2018-06-12T13:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Close SQL Connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Close-SQL-Connections/m-p/2376601#M138716</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLqyAAG"&gt;@dferre&lt;/A&gt;&amp;nbsp;- the error message means&amp;nbsp;&lt;SPAN&gt;that you have reached a limit of concurrent logins allowed for that database on that service tier. In your case 120 is the number and I am guessing you are on&amp;nbsp;Standard/S2 (&lt;STRONG&gt;Service Tier) &lt;/STRONG&gt;which supports 120&amp;nbsp;Max Concurrent Requests.&lt;BR /&gt;When you are using&amp;nbsp;tMSSqlCommit you have the option to "Close connection" which is selected by default and would allow you to close the database connection once the commit is done. Otherwise you need&amp;nbsp;&lt;SPAN class="emphasis"&gt;tMssqlClose&lt;/SPAN&gt;&amp;nbsp;to close the transaction committed in the connected DB.&lt;BR /&gt;Related to the&amp;nbsp;components like tMSSqlInput or tMSSqlOutput, yes they closes the respective connection they are using once the task is completed but the catch here is&amp;nbsp;tMSSqlOutput wouldn't be able to commit the data that is being written to database (though as per documentations there is an option for "Advanced settings -- Commit every" which would be committing batches of rows together into the DB but sadly not able to verify the same when using TOS -DI community edition), for which we need&amp;nbsp;tMSSqlCommit.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 13:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Close-SQL-Connections/m-p/2376601#M138716</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-06-13T13:39:56Z</dc:date>
    </item>
  </channel>
</rss>

