<?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 Inner join with tMap and Oracle extremely slow and then errored out with java out of heap space in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-with-tMap-and-Oracle-extremely-slow-and-then-errored/m-p/2335196#M103779</link>
    <description>&lt;P&gt;Hi, newbie here.&lt;/P&gt;&lt;P&gt;The table on the left id sql server and has a few hundred records in real life.  In my example it has 13. &lt;/P&gt;&lt;P&gt;The lookup table is Oracle and has a million and half records. I need to join them on a key, via tMap only that it's extremely slow and then it bombs out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only need to join theses table on those 13 records whose fields values are to be updated in the Oracle table. How do I speed this up? Is there any other way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fix this? Thanks so much.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:19:09 GMT</pubDate>
    <dc:creator>AGurau1639681093</dc:creator>
    <dc:date>2024-11-15T22:19:09Z</dc:date>
    <item>
      <title>Inner join with tMap and Oracle extremely slow and then errored out with java out of heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-with-tMap-and-Oracle-extremely-slow-and-then-errored/m-p/2335196#M103779</link>
      <description>&lt;P&gt;Hi, newbie here.&lt;/P&gt;&lt;P&gt;The table on the left id sql server and has a few hundred records in real life.  In my example it has 13. &lt;/P&gt;&lt;P&gt;The lookup table is Oracle and has a million and half records. I need to join them on a key, via tMap only that it's extremely slow and then it bombs out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only need to join theses table on those 13 records whose fields values are to be updated in the Oracle table. How do I speed this up? Is there any other way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fix this? Thanks so much.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-with-tMap-and-Oracle-extremely-slow-and-then-errored/m-p/2335196#M103779</guid>
      <dc:creator>AGurau1639681093</dc:creator>
      <dc:date>2024-11-15T22:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join with tMap and Oracle extremely slow and then errored out with java out of heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-with-tMap-and-Oracle-extremely-slow-and-then-errored/m-p/2335197#M103780</link>
      <description>&lt;P&gt;Hello @Adriana Gurau​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;When the main flow has few data, to speed this up, you can setup the Lookup Model to 'Reload at each row (cache)' for tMap&lt;/P&gt;&lt;P&gt;and setup a globalMap key, then setup the condition in the Query of tOracleInput component  like:&lt;/P&gt;&lt;P&gt;"select id, date1 from test where id='"+ globalMap.get("id")+"'"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDDdfAAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135063iE019CA5027141E06/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDDdfAAG.png" alt="0695b00000aDDdfAAG.png" /&gt;&lt;/span&gt;Also, to fix the java heap space error, you can increase the jvm memory by adding the below jvm parameter in the job Run/Advanced settings like&lt;/P&gt;&lt;P&gt;-Xmx4096m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 02:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-with-tMap-and-Oracle-extremely-slow-and-then-errored/m-p/2335197#M103780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-30T02:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join with tMap and Oracle extremely slow and then errored out with java out of heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-with-tMap-and-Oracle-extremely-slow-and-then-errored/m-p/2335198#M103781</link>
      <description>&lt;P&gt;Thank you so much. I am not familiar with GlobalMap Key but will look into it. Hopefully I could find a video on youtube. I was thinking if there was such a thing where I could keep all the keys of the records I need to inner join on for example (1, 100, 103, 55) and then the query to be more like select * from table_name where id in globalMap Key. Is this how it works?&lt;/P&gt;&lt;P&gt;I'll do the other things, lookup model and increase the jvm parameter, thanks SO much.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 16:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-with-tMap-and-Oracle-extremely-slow-and-then-errored/m-p/2335198#M103781</guid>
      <dc:creator>AGurau1639681093</dc:creator>
      <dc:date>2022-11-30T16:52:28Z</dc:date>
    </item>
  </channel>
</rss>

