<?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: Update to Postgresql table takes more than 9hrs for 100000 records in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Update-to-Postgresql-table-takes-more-than-9hrs-for-100000/m-p/2257994#M39931</link>
    <description>&lt;P&gt;Thank you Jeoste,&lt;/P&gt; 
&lt;P&gt;i tried with&amp;nbsp;&lt;SPAN&gt;tDBOutputBulkExec for 1millians records to update in PostgreSQL database but it is failing and the error is below.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tdboutputbulkexec _1_ tpbe org.postgresql.util.psqlexception: an i/o error occurred while sending to the backend.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;but for 100000 records it went fine and updated.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Mar 2020 17:02:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-21T17:02:13Z</dc:date>
    <item>
      <title>Update to Postgresql table takes more than 9hrs for 100000 records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-to-Postgresql-table-takes-more-than-9hrs-for-100000/m-p/2257992#M39929</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt; 
&lt;P&gt;I have a situation as below but the updates takes more than 9hrs to update one single column.&lt;/P&gt; 
&lt;P&gt;Source: MS SQL table&lt;/P&gt; 
&lt;P&gt;Destination: PostgreSQL table&lt;/P&gt; 
&lt;P&gt;Transformation: tMap (to check the new and old records using id)&lt;/P&gt; 
&lt;P&gt;Use case: source table contains 100000 records with 5 columns, i inserted those records with 4 columns already in destination table, now business wants 5th column too, so i have created the 5th column in destination table and added in source schema and mapped and configured in tMap too. and introduced one more output component and configured only update and selected the new column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;when i ran the job it takes more than 9hrs but not completed.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2020-03-20 at 9.18.20 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9mG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131964iDA131744880B22F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9mG.png" alt="0683p000009M9mG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 03:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-to-Postgresql-table-takes-more-than-9hrs-for-100000/m-p/2257992#M39929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-20T03:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Update to Postgresql table takes more than 9hrs for 100000 records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-to-Postgresql-table-takes-more-than-9hrs-for-100000/m-p/2257993#M39930</link>
      <description>Can you show us your mapping, inside the tMap ? 
&lt;BR /&gt;100 000 rows is not big, maybe you can try to : 
&lt;BR /&gt;- insert all your data 
&lt;BR /&gt;- after the insert, update all the data you need 
&lt;BR /&gt; 
&lt;BR /&gt;You can try to make only one output but with the "action on data" -&amp;gt; Insert or update 
&lt;BR /&gt; 
&lt;BR /&gt;Another test can be the modify the output and put a tDBOutputBulkExec (which is the same as tDBOutputBulk + tDBBulkExec), it creates plain file to insert or update into your database, so it takes less time than a tDBOutput. 
&lt;BR /&gt; 
&lt;BR /&gt;I'm not sure about everything, you have to test different ways and share the result here for more investigation if it don't work...</description>
      <pubDate>Sat, 21 Mar 2020 11:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-to-Postgresql-table-takes-more-than-9hrs-for-100000/m-p/2257993#M39930</guid>
      <dc:creator>jeoste</dc:creator>
      <dc:date>2020-03-21T11:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update to Postgresql table takes more than 9hrs for 100000 records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-to-Postgresql-table-takes-more-than-9hrs-for-100000/m-p/2257994#M39931</link>
      <description>&lt;P&gt;Thank you Jeoste,&lt;/P&gt; 
&lt;P&gt;i tried with&amp;nbsp;&lt;SPAN&gt;tDBOutputBulkExec for 1millians records to update in PostgreSQL database but it is failing and the error is below.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tdboutputbulkexec _1_ tpbe org.postgresql.util.psqlexception: an i/o error occurred while sending to the backend.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;but for 100000 records it went fine and updated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 17:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-to-Postgresql-table-takes-more-than-9hrs-for-100000/m-p/2257994#M39931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-21T17:02:13Z</dc:date>
    </item>
  </channel>
</rss>

