<?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 tXmlMap buffering in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320308#M90460</link>
    <description>Hi,
&lt;BR /&gt;We have a table with one column being an entire xml document.
&lt;BR /&gt;In this case we want to extract part of the xml and write it to an Oracle table.
&lt;BR /&gt;So we use an tOracleInput -&amp;gt; tConvertType -&amp;gt; tXmlMap -&amp;gt; tOracleOutput.
&lt;BR /&gt;Everything works fine.
&lt;BR /&gt;But if we run the job with a larger number of records ( +- 150 000) it takes a long time because 
&lt;BR /&gt;before the tXmlMap all xml's are buffered/cached before they go the insert section.
&lt;BR /&gt;Is there a possibility to let this run in parallel or without buffering.
&lt;BR /&gt;So read xml and immediately insert in oracle and then the next record instead of buffering all the xml's and then process all the inserts.
&lt;BR /&gt;Grtz,
&lt;BR /&gt;Bart</description>
    <pubDate>Mon, 30 Jun 2014 08:40:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-30T08:40:43Z</dc:date>
    <item>
      <title>tXmlMap buffering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320308#M90460</link>
      <description>Hi,
&lt;BR /&gt;We have a table with one column being an entire xml document.
&lt;BR /&gt;In this case we want to extract part of the xml and write it to an Oracle table.
&lt;BR /&gt;So we use an tOracleInput -&amp;gt; tConvertType -&amp;gt; tXmlMap -&amp;gt; tOracleOutput.
&lt;BR /&gt;Everything works fine.
&lt;BR /&gt;But if we run the job with a larger number of records ( +- 150 000) it takes a long time because 
&lt;BR /&gt;before the tXmlMap all xml's are buffered/cached before they go the insert section.
&lt;BR /&gt;Is there a possibility to let this run in parallel or without buffering.
&lt;BR /&gt;So read xml and immediately insert in oracle and then the next record instead of buffering all the xml's and then process all the inserts.
&lt;BR /&gt;Grtz,
&lt;BR /&gt;Bart</description>
      <pubDate>Mon, 30 Jun 2014 08:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320308#M90460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-30T08:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: tXmlMap buffering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320309#M90461</link>
      <description>Hi, 
&lt;BR /&gt;Did you set option "Commit every" in 
&lt;A href="https://help.talend.com/search/all?query=tOracleOutput&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tOracleOutPut&lt;/A&gt; on which you can nter the number of rows to be completed before committing batches of rows together into the DB. This option ensures transaction quality (but not rollback) and, above all, better performance at execution.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 02 Jul 2014 07:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320309#M90461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-02T07:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: tXmlMap buffering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320310#M90462</link>
      <description>Yes.&lt;BR /&gt;'Commit every' is set to 1000.&lt;BR /&gt;Even if we don't use an OracleOutput and just send the output to a tLogRow the buffering/caching stays.</description>
      <pubDate>Wed, 02 Jul 2014 09:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320310#M90462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-02T09:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: tXmlMap buffering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320311#M90463</link>
      <description>Hi, 
&lt;BR /&gt;So far, there is no "store the data on disk" option in tXMLMap(it's available in tMap). 
&lt;BR /&gt;It's welcome to open a feature jira issue. 
&lt;BR /&gt;Here is a jira issue of tXMLMap doesn't work with more data 
&lt;A href="https://jira.talendforge.org/browse/TDI-29958" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-29958&lt;/A&gt;. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 02 Jul 2014 09:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320311#M90463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-02T09:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: tXmlMap buffering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320312#M90464</link>
      <description>I don't know if that would be the solution.
&lt;BR /&gt;What we actually would want is that the records are processed one by one.
&lt;BR /&gt;ex.: read record from OracleInput -&amp;gt; tXmlMap -&amp;gt; tLogRow or OracleOutput
&lt;BR /&gt;What we have now is that all records are read + buffered.
&lt;BR /&gt;After every record is buffered the further processing runs.
&lt;BR /&gt;So the tXmlMap doesn't give any output until everything is buffered.
&lt;BR /&gt;I guess "store data on disk" will only prevent from memory issues.</description>
      <pubDate>Wed, 02 Jul 2014 10:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320312#M90464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-02T10:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: tXmlMap buffering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320313#M90465</link>
      <description>I too have the same problem 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;.. Can anyone please help.</description>
      <pubDate>Wed, 12 Nov 2014 17:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320313#M90465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-12T17:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: tXmlMap buffering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320314#M90466</link>
      <description>As a workaround, you could iterate over your records which would force single-row operations. In general this will be much slower than processing records as a batch, but it should prevent the unwanted buffering behavior from tXMLMap. 
&lt;BR /&gt;please see screenshot below for reference.&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME6q.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155713i2E43F95A7C48E524/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME6q.png" alt="0683p000009ME6q.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 12 Nov 2014 18:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXmlMap-buffering/m-p/2320314#M90466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-12T18:29:04Z</dc:date>
    </item>
  </channel>
</rss>

