<?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: Convert XMLType to String in Oracle Input Component With Optimisation in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231319#M21653</link>
    <description>yes it has same type of binary code.&amp;nbsp;&lt;BR /&gt;I tries several ways but no luck.</description>
    <pubDate>Thu, 06 Nov 2014 07:33:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-06T07:33:03Z</dc:date>
    <item>
      <title>Convert XMLType to String in Oracle Input Component With Optimisation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231315#M21649</link>
      <description>Hi All,&amp;nbsp; 
&lt;BR /&gt;I am having source with XMLType column in Oracle. i am using below configuration and My job design is having batch processing and that is as follows.&amp;nbsp; 
&lt;BR /&gt;tOracleConnection1, tOracleConnection2 for source and target.&amp;nbsp; 
&lt;BR /&gt;tOracleInput----&amp;gt;Main---&amp;gt;tMap--&amp;gt;main--&amp;gt;tOracleOutput. 
&lt;BR /&gt;tOracleCommit. 
&lt;BR /&gt;tOracleInput Configuration( sorry i can not post actual picture but it is as good as job design) 
&lt;BR /&gt; 
&lt;BR /&gt;Selecting only 2 Columns. on is ID and another one XMLType xmls 
&lt;BR /&gt;Advance setting: Convert XMLType to java type is checked. 
&lt;BR /&gt;and xmls column provided for conversion.&amp;nbsp; 
&lt;BR /&gt;Advance setting: Use cursor Option is checked. with 10,000 value.&amp;nbsp; 
&lt;BR /&gt;Advance setting: Trim All also Checked.&amp;nbsp; 
&lt;BR /&gt;tMap Configuration:&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;converting xmls to string using String.ValueOf(xmls) to string.&amp;nbsp; 
&lt;BR /&gt;tOracleOutput Configuration: 
&lt;BR /&gt; 
&lt;BR /&gt;Advance setting: enable parallel execution with 10x executions.&amp;nbsp; 
&lt;BR /&gt;Job Setting configuration: 
&lt;BR /&gt; 
&lt;BR /&gt;Extra Tab: multi-threading enabled. 
&lt;BR /&gt;parallelize Buffer units Size to 500000. 
&lt;BR /&gt;JVM Parameters min-1Gb and Max-4 GB.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;Now the Problem:&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;I am having more than 250000 rows in source and I have to process them in Target.&amp;nbsp; 
&lt;BR /&gt;It is taking more than 19 hours to complete the process. 
&lt;BR /&gt;Source XML must be parse and then store into target table as XMLType data type column. 
&lt;BR /&gt; 
&lt;BR /&gt;Anyone suggest how can I optimise this job for performance? I know it is taking too much time for 2L records but I tried every Sort of solution but still no improvement. 
&lt;BR /&gt;Note: before posting answer please read all the configuration above.&amp;nbsp;</description>
      <pubDate>Tue, 04 Nov 2014 13:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231315#M21649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T13:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Convert XMLType to String in Oracle Input Component With Optimisation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231316#M21650</link>
      <description>hi, 
&lt;BR /&gt;where is the 'traffic jam' ? 
&lt;BR /&gt;I guess it's on reading XMLTYPE&amp;nbsp; 
&lt;BR /&gt;try to read XMLTYPE as byte [] (array] and convert in String (just new String(row1.yourField). 
&lt;BR /&gt;read data with advanced setting &amp;amp; extract could be slow depending on your Xml. 
&lt;BR /&gt;I haven't done any workbench 
&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;&amp;nbsp;but read in byte[] is 'always' faster. 
&lt;BR /&gt;Don't use shared connection and defined it in your output Oracle component. 
&lt;BR /&gt;try bach size + commit every xxxxxx rows (try 1000 10000). with no parralelize. 
&lt;BR /&gt;add parralelize depending on core's number if necessary. 
&lt;BR /&gt;hope it helps 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Tue, 04 Nov 2014 14:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231316#M21650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Convert XMLType to String in Oracle Input Component With Optimisation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231317#M21651</link>
      <description>it seems to be we are close to our solution but problem is how to convert source XMLType to binary array in Oracle SQL select?&amp;nbsp;
&lt;BR /&gt;i have changed input java type to Byte[] but it is giving me wrong result after converting back to string please suggest.&amp;nbsp;
&lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Tue, 04 Nov 2014 14:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231317#M21651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T14:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Convert XMLType to String in Oracle Input Component With Optimisation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231318#M21652</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;it is giving me wrong result after converting back to string please suggest&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;what sort of problem ?  still binary in your converted String ? &lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 05 Nov 2014 09:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231318#M21652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-05T09:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert XMLType to String in Oracle Input Component With Optimisation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231319#M21653</link>
      <description>yes it has same type of binary code.&amp;nbsp;&lt;BR /&gt;I tries several ways but no luck.</description>
      <pubDate>Thu, 06 Nov 2014 07:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231319#M21653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T07:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Convert XMLType to String in Oracle Input Component With Optimisation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231320#M21654</link>
      <description>i've encountered same 'problem' and remove them in the flow. 
&lt;BR /&gt;but for my purpose it was (very more) faster than using XMLTYPE &amp;nbsp;and extracting Oracle method. 
&lt;BR /&gt;so still a workaround but &amp;nbsp;looking for a proper&amp;amp;fast solution 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;regards</description>
      <pubDate>Thu, 06 Nov 2014 09:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231320#M21654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T09:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Convert XMLType to String in Oracle Input Component With Optimisation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231321#M21655</link>
      <description>Yes i have check several option, Extracting using SQL is faster but i need source XML along with records. that thing is taking time. if we are able to convert buyt[] array to String then it is faster than this.&amp;nbsp;</description>
      <pubDate>Thu, 06 Nov 2014 09:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231321#M21655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T09:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Convert XMLType to String in Oracle Input Component With Optimisation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231322#M21656</link>
      <description>let us know if you find pretty solution 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;i'll do the same 
&lt;BR /&gt;regards</description>
      <pubDate>Thu, 06 Nov 2014 09:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-XMLType-to-String-in-Oracle-Input-Component-With/m-p/2231322#M21656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T09:29:07Z</dc:date>
    </item>
  </channel>
</rss>

