<?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: MS SQL suspended queries + ASYNC_NETWORK_IO in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322789#M92701</link>
    <description>I mean it works great from Microsoft SQL Server Management Studio with no change on database settings but it doesn't from Talend ...&lt;BR /&gt;I will send you my job, maybe it can helps ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Didier</description>
    <pubDate>Mon, 14 May 2012 09:31:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-14T09:31:55Z</dc:date>
    <item>
      <title>MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322779#M92691</link>
      <description>I need to insert or update an MS SQL Server table with a lookup (the same table) of 2M rows (see screenshots), after 10,000 rows the job is "locked" and no more rows are read/inserted or updated. The only solution is to kill the job 
&lt;BR /&gt;There are more than 2M rows to read from table "X_PROFIL" 
&lt;BR /&gt;SQL Server activity monitor shows the transaction is in ASYNC_NETWORK_IO Wait Type 
&lt;BR /&gt;I'm aware of this post 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCkzsCAC" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Talend-SQL-queries-got-suspended-by-SQL-Server/td-p/76998&lt;/A&gt; but I wanted to know if somebody else got this issue and how to resolve it on the Talend side. 
&lt;BR /&gt; 
&lt;BR /&gt;regards, 
&lt;BR /&gt;Didier</description>
      <pubDate>Fri, 11 May 2012 07:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322779#M92691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T07:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322780#M92692</link>
      <description>Hi&lt;BR /&gt;ASYNC_NETWORK_IO just means that SQL Server is waiting for the client application to accept the results.&lt;BR /&gt;You might try to edit query with 'ROWLOCK'.&lt;BR /&gt;&lt;PRE&gt;SELECT * FROM table WITH (ROWLOCK)&lt;BR /&gt;or&lt;BR /&gt;SELECT * FROM table WITH (ROWLOCK, NOLOCK)&lt;/PRE&gt;&lt;BR /&gt;Besides, if you drop tMSSQLOutputBulkExec, change tMSSQLOuput instead.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 11 May 2012 09:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322780#M92692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T09:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322781#M92693</link>
      <description>Hi Pedro,&lt;BR /&gt;I can't figure out to use tMSSQLOutputBulkExec&lt;BR /&gt;do I need first :&lt;BR /&gt;&lt;BR /&gt;                tMSSqlImput2&lt;BR /&gt;                        |&lt;BR /&gt;                        |&lt;BR /&gt;tMSSqlInput1------tFileOutPutDelimited (/myFloder/file.csv)&lt;BR /&gt;and then :&lt;BR /&gt;tFileInputDelimited(/myFloder/file.csv)----------tMSSQLOutputBulkExec(/myFloder/file.csv)&lt;BR /&gt;???</description>
      <pubDate>Fri, 11 May 2012 13:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322781#M92693</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322782#M92694</link>
      <description>I've tryied to cut the job in two parts : 
&lt;BR /&gt;one for the insert 
&lt;BR /&gt;second for the update 
&lt;BR /&gt;the insert ran fine but the update flow stops when Batch Size is reached 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 11 May 2012 14:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322782#M92694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T14:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322783#M92695</link>
      <description>in fact the rows are updated but the number of rows are not updated and it takes a lot of time 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;so if you think tMSSQLOutputBulkExec can speed the job can you give me a sample job ? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Didier</description>
      <pubDate>Fri, 11 May 2012 15:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322783#M92695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T15:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322784#M92696</link>
      <description>Hi&lt;BR /&gt;Have you solved the rowlock issue?&lt;BR /&gt;Maybe you misunderstand what I mentioned. Sorry for confusing you.&lt;BR /&gt;I mean to solve rowlock issue, you'd better not use tOracleOutputBulkExec component. Use tOracleOutput instead.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Sat, 12 May 2012 03:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322784#M92696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-12T03:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322785#M92697</link>
      <description>Hi Pedro, 
&lt;BR /&gt;I'm using tOracleOutput and the row lock is still a problem 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;On monday I planned to use a tMSSqlRow to perform the update ... The classic way 
&lt;BR /&gt;Stay tuned ... 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Didier</description>
      <pubDate>Sun, 13 May 2012 15:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322785#M92697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-13T15:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322786#M92698</link>
      <description>Hi Didier
&lt;BR /&gt;Why don't you use tMSSQLRow to execute these statements?
&lt;BR /&gt;tMSSQLRow at the beginning of this job
&lt;BR /&gt;
&lt;PRE&gt;  ALTER DATABASE database&lt;BR /&gt;        SET ALLOW_SNAPSHOT_ISOLATION OFF&lt;/PRE&gt;
&lt;BR /&gt;tMSSQLRow at the end of this job
&lt;BR /&gt;
&lt;PRE&gt;ALTER DATABASE database&lt;BR /&gt;        SET READ_COMMITTED_SNAPSHOT ON&lt;/PRE&gt;
&lt;BR /&gt;Does it work? Wait for your feedback.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 14 May 2012 04:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322786#M92698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-14T04:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322787#M92699</link>
      <description>Hi Pedro, 
&lt;BR /&gt;the following request (which is what I'm trying to do with Talend) took 5 minutes (fast enough I think) with both ALLOW_SNAPSHOT_ISOLATION and READ_COMMITTED_SNAPSHOT OFF (no ALTER DATABASE done) 
&lt;BR /&gt; 
&lt;BR /&gt;use CRM 
&lt;BR /&gt;update CRM_PROFIL 
&lt;BR /&gt;set ID_SOURCE = imp_dol..X_PROFIL.ID_SOURCE, 
&lt;BR /&gt;CD_SOURCE = imp_dol..X_PROFIL.CD_SOURCE, 
&lt;BR /&gt;CD_MARQUE = imp_dol..X_PROFIL.CD_MARQUE, 
&lt;BR /&gt;CD_CIVILITE = imp_dol..X_PROFIL.CD_CIVILITE, 
&lt;BR /&gt;NOM = imp_dol..X_PROFIL.NOM, 
&lt;BR /&gt;PRENOM = imp_dol..X_PROFIL.PRENOM, 
&lt;BR /&gt;CD_SEXE_CIVILITE = imp_dol..X_PROFIL.CD_SEXE_CIVILITE, 
&lt;BR /&gt;DT_NAISS = imp_dol..X_PROFIL.DT_NAISS, 
&lt;BR /&gt;CD_PAYS = imp_dol..X_PROFIL.CD_PAYS, 
&lt;BR /&gt;ID_REGION = imp_dol..X_PROFIL.ID_REGION, 
&lt;BR /&gt;IS_DELETED = imp_dol..X_PROFIL.IS_DELETED, 
&lt;BR /&gt;CD_ZONEGEO_FRANCE = imp_dol..X_PROFIL.CD_ZONEGEO_FRANCE, 
&lt;BR /&gt;CD_ZONEGEO = imp_dol..X_PROFIL.CD_ZONEGEO 
&lt;BR /&gt;from CRM_PROFIL,imp_dol..X_PROFIL 
&lt;BR /&gt;where CRM_PROFIL.CD_SOURCE = 'DOL' 
&lt;BR /&gt;AND CRM_PROFIL.ID_SOURCE=IMP_DOL..X_PROFIL.ID_SOURCE 
&lt;BR /&gt;(2844734 row(s) affected) 
&lt;BR /&gt;So I don't undestand what's wrong with Talend 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;select snapshot_isolation_state,is_read_committed_snapshot_on from sys.databases where name = 'CRM' 
&lt;BR /&gt;snapshot_isolation_state = 0 
&lt;BR /&gt;is_read_commited_snapshot_on = 0</description>
      <pubDate>Mon, 14 May 2012 09:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322787#M92699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-14T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322788#M92700</link>
      <description>Hi&lt;BR /&gt;So what do you mean? It has been solved? Or the job still doesn't work?&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 14 May 2012 09:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322788#M92700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-14T09:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322789#M92701</link>
      <description>I mean it works great from Microsoft SQL Server Management Studio with no change on database settings but it doesn't from Talend ...&lt;BR /&gt;I will send you my job, maybe it can helps ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Didier</description>
      <pubDate>Mon, 14 May 2012 09:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322789#M92701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-14T09:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: MS SQL suspended queries + ASYNC_NETWORK_IO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322790#M92702</link>
      <description>Hi Didier&lt;BR /&gt;Since all solutions above I used can't solve this issue...&lt;BR /&gt;I hope I can point out the root reason. But I can't. &lt;BR /&gt;In fact, if you consider talend job as a Java application, you will find various topics online and various solutions.&lt;BR /&gt;To fix it, you'd better trace the entire environment, SQL Server, Talend, network...&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 14 May 2012 10:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MS-SQL-suspended-queries-ASYNC-NETWORK-IO/m-p/2322790#M92702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-14T10:47:34Z</dc:date>
    </item>
  </channel>
</rss>

