<?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 slow tDBOutput when loading bigdecimals with decimal point value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/slow-tDBOutput-when-loading-bigdecimals-with-decimal-point-value/m-p/2320272#M90433</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;we have the following strange behavior while loading from Oracle to MSSQLServer. Using a simple tDBInput--&amp;gt;tDBOutput. Loading Data with Datatyp &amp;lt;&amp;gt; bigdecimal columns, we have a fast Load (11000 rows/s). Loading with bigdecimal columns but with integer values (like 10,000) , we are fast too. But as soon we have values behind the comma like 10,123 the performance is realy weak (120 rows/s).&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;Price is a column i the table with values like: 99,90&lt;/P&gt;&lt;P&gt;Amount is a number column too, but with no value behind the decimal point like 10,00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load:&lt;/P&gt;&lt;P&gt;Statement -&amp;gt; Schema_in(Oracle)-&amp;gt;Talend_intern-&amp;gt;Schema_out-&amp;gt;DBTableColumn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Slow processing:&lt;/P&gt;&lt;P&gt;Select Price from table -&amp;gt;NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;Select cast(Price as decimal(20,10)) as Price from table -&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fast processing:&lt;/P&gt;&lt;P&gt;Select amount from table -&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;Select cast(amount as decimal(20,10)) as amount from table -&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;Select cast(1 as decimal(20,10)) as Preis-&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;Select cast(123.456 as decimal(20,10)) as Preis-&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant understand this behavior? What is the solution? How can i load the price fast too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Dominik&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:46:38 GMT</pubDate>
    <dc:creator>dominik4</dc:creator>
    <dc:date>2024-11-16T00:46:38Z</dc:date>
    <item>
      <title>slow tDBOutput when loading bigdecimals with decimal point value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/slow-tDBOutput-when-loading-bigdecimals-with-decimal-point-value/m-p/2320272#M90433</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;we have the following strange behavior while loading from Oracle to MSSQLServer. Using a simple tDBInput--&amp;gt;tDBOutput. Loading Data with Datatyp &amp;lt;&amp;gt; bigdecimal columns, we have a fast Load (11000 rows/s). Loading with bigdecimal columns but with integer values (like 10,000) , we are fast too. But as soon we have values behind the comma like 10,123 the performance is realy weak (120 rows/s).&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;Price is a column i the table with values like: 99,90&lt;/P&gt;&lt;P&gt;Amount is a number column too, but with no value behind the decimal point like 10,00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load:&lt;/P&gt;&lt;P&gt;Statement -&amp;gt; Schema_in(Oracle)-&amp;gt;Talend_intern-&amp;gt;Schema_out-&amp;gt;DBTableColumn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Slow processing:&lt;/P&gt;&lt;P&gt;Select Price from table -&amp;gt;NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;Select cast(Price as decimal(20,10)) as Price from table -&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fast processing:&lt;/P&gt;&lt;P&gt;Select amount from table -&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;Select cast(amount as decimal(20,10)) as amount from table -&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;Select cast(1 as decimal(20,10)) as Preis-&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;Select cast(123.456 as decimal(20,10)) as Preis-&amp;gt; NUMBER(20,10) -&amp;gt; BigDecimal(20,10) -&amp;gt; DECIMAL(20,10) -&amp;gt; DECIMAL(20,10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant understand this behavior? What is the solution? How can i load the price fast too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Dominik&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/slow-tDBOutput-when-loading-bigdecimals-with-decimal-point-value/m-p/2320272#M90433</guid>
      <dc:creator>dominik4</dc:creator>
      <dc:date>2024-11-16T00:46:38Z</dc:date>
    </item>
  </channel>
</rss>

