<?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: parallel execution of serial statements in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252629#M36220</link>
    <description>&lt;P&gt;Thanks nikhil&amp;nbsp; it worked for me.. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Oct 2018 09:34:12 GMT</pubDate>
    <dc:creator>sunny3</dc:creator>
    <dc:date>2018-10-12T09:34:12Z</dc:date>
    <item>
      <title>parallel execution of serial statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252624#M36215</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm working on a job that needs to execute in parallel two statements serial.&lt;/P&gt; 
&lt;P&gt;Assume the following&lt;/P&gt; 
&lt;P&gt;I have two target tables order and invoice and i have 4 statements&lt;/P&gt; 
&lt;P&gt;target_table, execution order, code&lt;/P&gt; 
&lt;P&gt;orders 1. truncate table stg.orders;&lt;/P&gt; 
&lt;P&gt;orders 2. insert into stg.orders select * from src.orders&lt;/P&gt; 
&lt;P&gt;invoice 1. truncate table stg.invoice&lt;/P&gt; 
&lt;P&gt;invoice 2. insert into stg.invoice select * from src.invoices&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now I want target_table to be executed in parallel, but code in serial&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In a way that the following is executed:&lt;/P&gt; 
&lt;P&gt;thread 1: truncate table stg.orders; insert into stg.orders select * from orders;&lt;/P&gt; 
&lt;P&gt;thread 2: truncate table stg.invoice; insert into stg.invoice select * from invoice;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm using enterprise edition Talend data services platform 6.3.1.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any help is very much appreciated.&lt;/P&gt; 
&lt;P&gt;Regards Gilles&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 15:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252624#M36215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-10T15:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: parallel execution of serial statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252625#M36216</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;There are multiple ways to complete this scenario. A quick way is as below where you can send the control in parallel manner to two child jobs. In each child job, you can run the statements using&amp;nbsp;multiple tDBrow.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 478px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0Ql.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144683i278AB8639FB4CE94/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0Ql.png" alt="0683p000009M0Ql.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please try and if the logic has helped, please mark the topic as resolved.&amp;nbsp; Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 05:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252625#M36216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-11T05:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: parallel execution of serial statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252626#M36217</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-header"&gt; 
 &lt;BLOCKQUOTE&gt; 
  &lt;HR /&gt; 
  &lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;wrote: 
  &lt;BR /&gt; 
  &lt;P&gt;Hi,&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;There are multiple ways to complete this scenario. A quick way is as below where you can send the control in parallel manner to two child jobs. In each child job, you can run the statements using&amp;nbsp;multiple tDBrow.&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 478px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0Ql.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144683i278AB8639FB4CE94/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0Ql.png" alt="0683p000009M0Ql.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;Could you please try and if the logic has helped, please mark the topic as resolved.&amp;nbsp; Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;Warm Regards,&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;Nikhil Thampi&lt;/P&gt; 
  &lt;HR /&gt; 
 &lt;/BLOCKQUOTE&gt; 
 &lt;BR /&gt;&amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt; 
 &lt;DIV class="lia-quilt-column lia-quilt-column-18 lia-quilt-column-left lia-quilt-column-main-left"&gt; 
  &lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt; 
   &lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
     &amp;nbsp; 
   &lt;/DIV&gt; 
   &lt;DIV class="lia-message-body lia-component-body-signature-highlight-escalation"&gt; 
    &lt;DIV class="lia-message-body-content"&gt; 
     &lt;P&gt;Hi,&lt;/P&gt; 
     &lt;P&gt;i want to create a talend job&amp;nbsp; where&amp;nbsp; my database table has 100,00000 plus records and&amp;nbsp; i want to load all the records to a file .&lt;/P&gt; 
     &lt;P&gt;below approach takes 5-6 hours.&lt;/P&gt; 
     &lt;P&gt;&amp;nbsp;toracleinput--&amp;gt;tfileinputdelimited&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
     &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
     &lt;P&gt;can anybody please help me to load the data faster?&lt;/P&gt; 
     &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
     &lt;P&gt;can i run the job to load 100 or 1000&amp;nbsp; rows at a time so that it will be loaded&amp;nbsp; fast? i have also used tflowto iterate --&amp;gt;tfixedflowinput and configured to iterate 100&amp;nbsp;executions &amp;nbsp;but&amp;nbsp; the job is running very slow after a certain time.&lt;/P&gt; 
    &lt;/DIV&gt; 
   &lt;/DIV&gt; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Oct 2018 09:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252626#M36217</guid>
      <dc:creator>sunny3</dc:creator>
      <dc:date>2018-10-11T09:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: parallel execution of serial statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252627#M36218</link>
      <description>&lt;P&gt;Thanks, i know about the tparallelize option, but it's a little more complex.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;orders 1. truncate table stg.orders;&lt;/P&gt;
&lt;P&gt;orders 2. insert into stg.orders select * from src.orders&lt;/P&gt;
&lt;P&gt;invoice 1. truncate table stg.invoice&lt;/P&gt;
&lt;P&gt;invoice 2. insert into stg.invoice select * from src.invoices&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want orders and invoice executed in parallel, so how do i force that, and then i want 1,2 executed serial, parallel by targettable, serial by order&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 14:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252627#M36218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-11T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: parallel execution of serial statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252628#M36219</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLBtAAO"&gt;@gillesp&lt;/A&gt;&amp;nbsp;- You can easily do it using tparallelize mode as shown in screen shots in my previous posts.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LNW7AAO"&gt;@pati.pranati&lt;/A&gt;&amp;nbsp;- You do not have to use tflowtoiterate as it will serialize the flow further. There are multiple ways to do data extraction for your problem.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;a) In same job, use tparallelize to create multiple parallel flows where each parallel flow should extract specific time frame data from source database. Please increase your memory resources for your job to handle the extra data volume.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;b) You can parallelize further by scheduling multiple jobs having same logic where each job is having tparallelize option to pick data from different time frame of source table. If you do it this way, the advantage is that in case of any error, you do not have to run the entire job once again. You need to run only the specific job which has failure.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope the answer has helped both of you and if it resolves your query, could you please mark the topic as resolved? Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 06:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252628#M36219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-12T06:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: parallel execution of serial statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252629#M36220</link>
      <description>&lt;P&gt;Thanks nikhil&amp;nbsp; it worked for me.. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 09:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/parallel-execution-of-serial-statements/m-p/2252629#M36220</guid>
      <dc:creator>sunny3</dc:creator>
      <dc:date>2018-10-12T09:34:12Z</dc:date>
    </item>
  </channel>
</rss>

