<?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 How to parallelise a db input in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-parallelise-a-db-input/m-p/2467918#M140915</link>
    <description>&lt;P&gt;Hi, i've got a fairly simple job (see below). I get some data out of redshift via sql, use that data to construct a json body string then pass that data to a tRunJob which essentially just does a REST API call in a loop. The problem is the sql brings back around 8000 rows a day and calling each one in sequence takes a number of hours so i want to parallelise the output of the tDBInput component.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168882i332F960E31CAA09F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried to use the iterate row out of&amp;nbsp;tDBInput but then i don't know how to reference the row data as you would usually do something like rownumber.fieldname but there is no row number for the iterate output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168884i178303864BFBA6F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 08:15:17 GMT</pubDate>
    <dc:creator>MattE</dc:creator>
    <dc:date>2024-07-04T08:15:17Z</dc:date>
    <item>
      <title>How to parallelise a db input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-parallelise-a-db-input/m-p/2467918#M140915</link>
      <description>&lt;P&gt;Hi, i've got a fairly simple job (see below). I get some data out of redshift via sql, use that data to construct a json body string then pass that data to a tRunJob which essentially just does a REST API call in a loop. The problem is the sql brings back around 8000 rows a day and calling each one in sequence takes a number of hours so i want to parallelise the output of the tDBInput component.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168882i332F960E31CAA09F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried to use the iterate row out of&amp;nbsp;tDBInput but then i don't know how to reference the row data as you would usually do something like rownumber.fieldname but there is no row number for the iterate output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168884i178303864BFBA6F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 08:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-parallelise-a-db-input/m-p/2467918#M140915</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2024-07-04T08:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to parallelise a db input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-parallelise-a-db-input/m-p/2468215#M140920</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;You need a tFlowToIterate component to iterate input rows, then you can access the current column on other component like this:&lt;/P&gt;
&lt;P&gt;rowNumber.columnName&lt;/P&gt;
&lt;P&gt;(eg: row1.name)&lt;/P&gt;
&lt;P&gt;Click Iterate connector and check the '&lt;STRONG&gt;Enable parallel execution&lt;/STRONG&gt;' checkbox in the basic setting panel if you want to&amp;nbsp;&lt;SPAN&gt;parallelise the input rows.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shicong_Hong_0-1720165555105.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168949i1805F6739AE5AB4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shicong_Hong_0-1720165555105.png" alt="Shicong_Hong_0-1720165555105.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 07:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-parallelise-a-db-input/m-p/2468215#M140920</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-07-05T07:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to parallelise a db input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-parallelise-a-db-input/m-p/2473493#M141056</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;Shicong this worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 09:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-parallelise-a-db-input/m-p/2473493#M141056</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2024-07-29T09:16:59Z</dc:date>
    </item>
  </channel>
</rss>

