<?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: How to prioritize inserts,update records in same table? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226967#M18705</link>
    <description>30' for 12,000 records, this means less than 7 per second - for sure you have a big problem.&lt;BR /&gt;What's your database engine?&lt;BR /&gt;What's an "expired" record?&lt;BR /&gt;Can you share your job design?</description>
    <pubDate>Tue, 21 Aug 2018 08:05:39 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-08-21T08:05:39Z</dc:date>
    <item>
      <title>How to prioritize inserts,update records in same table?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226965#M18703</link>
      <description>&lt;P&gt;Have tmap outputting rows which are new rows,&amp;nbsp; expiring rows and inserting new updated&amp;nbsp;rows.&amp;nbsp; It is taking more than 1/2 hour to load 12,000 records to the database.&amp;nbsp; How do we prioritize that it will insert new rows,expire rows then insert new updated rows.&amp;nbsp; It is using the same table to insert,expire and insert new updated rows rows.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 22:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226965#M18703</guid>
      <dc:creator>rp2018</dc:creator>
      <dc:date>2018-08-20T22:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to prioritize inserts,update records in same table?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226966#M18704</link>
      <description>split your job one for insert with a lookup, the second one with a lookup to update only unmatched row.
&lt;BR /&gt;
&lt;BR /&gt;good luck.</description>
      <pubDate>Tue, 21 Aug 2018 07:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226966#M18704</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-21T07:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to prioritize inserts,update records in same table?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226967#M18705</link>
      <description>30' for 12,000 records, this means less than 7 per second - for sure you have a big problem.&lt;BR /&gt;What's your database engine?&lt;BR /&gt;What's an "expired" record?&lt;BR /&gt;Can you share your job design?</description>
      <pubDate>Tue, 21 Aug 2018 08:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226967#M18705</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-08-21T08:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to prioritize inserts,update records in same table?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226968#M18706</link>
      <description>&lt;P&gt;Hello rp2018,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;you can change the tMap output links order using the context menu on the output connection. But I think that does not guarantee that really all new rows are inserted before all update rows are modified. If you definitely want to process the outputs in a certain order, please see the suggestion of&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKpMAAW"&gt;@fdenis&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Concerning the processing speed, have you tried to set the "extent insert size" or "batch size" of your database output components? Have you also tried to activate "parallel execution"? (Both settings are under the "advanced settings" tab.)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thomas&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 10:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226968#M18706</guid>
      <dc:creator>ThWabi</dc:creator>
      <dc:date>2018-08-21T10:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to prioritize inserts,update records in same table?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226969#M18707</link>
      <description>&lt;P&gt;Sounds like you are using a type 2 dimension, where you "update" a data item by setting an expiry date on the current row and insert a new version that has a "valid from" or "current version" flag. If so, separating the "expiry" and "update insert" is a bad idea as&amp;nbsp;you probably need those to be an atomic transacton.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 10:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226969#M18707</guid>
      <dc:creator>PhilHibbs</dc:creator>
      <dc:date>2018-08-21T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to prioritize inserts,update records in same table?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226970#M18708</link>
      <description>the best way to use historisation with from to date is db triggers.
&lt;BR /&gt;if it's the case use it.
&lt;BR /&gt;Regards,</description>
      <pubDate>Tue, 21 Aug 2018 10:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-prioritize-inserts-update-records-in-same-table/m-p/2226970#M18708</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-21T10:41:38Z</dc:date>
    </item>
  </channel>
</rss>

