<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SQL in Java: To batch or not to batch with Oracle JDBC</title>
	<atom:link href="http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sql-in-javal-to-batch-or-not-to-batch-with-oracle</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Emiel Paasschens</title>
		<link>http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/#comment-5076</link>
		<dc:creator>Emiel Paasschens</dc:creator>
		<pubDate>Sun, 16 Dec 2007 14:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2652#comment-5076</guid>
		<description><![CDATA[@TongucY: The uploading is part of a synchronization process. The synchronization is not straight forward, it involves also lots of extra tables (link, history and log tables) and also an Excel sheet has to exported with all the data changes (sheet per table). Because the incoming data is delivered as pure SQL insert statements into import tables, the fist option I used was adding these complete insert statements as JDBC batch statements and execute them.]]></description>
		<content:encoded><![CDATA[<p>@TongucY: The uploading is part of a synchronization process. The synchronization is not straight forward, it involves also lots of extra tables (link, history and log tables) and also an Excel sheet has to exported with all the data changes (sheet per table). Because the incoming data is delivered as pure SQL insert statements into import tables, the fist option I used was adding these complete insert statements as JDBC batch statements and execute them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TongucY</title>
		<link>http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/#comment-5075</link>
		<dc:creator>TongucY</dc:creator>
		<pubDate>Fri, 14 Dec 2007 13:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2652#comment-5075</guid>
		<description><![CDATA[If you need/want performance, he is my experience to share;

1. No &quot;SQL in Java&quot; -&gt; package your database calls on pl/sql, and just callable statements within java.

2. No &quot;To batch or not to batch with Oracle JDBC&quot; -&gt; pl/sql bulk operations for batches, and again just callable statements within java.

If you are doing data intensive operations finish the task within the kernel, database itself. And SQL is the native language of databases not Java.

Best regards.]]></description>
		<content:encoded><![CDATA[<p>If you need/want performance, he is my experience to share;</p>
<p>1. No &#8220;SQL in Java&#8221; -&gt; package your database calls on pl/sql, and just callable statements within java.</p>
<p>2. No &#8220;To batch or not to batch with Oracle JDBC&#8221; -&gt; pl/sql bulk operations for batches, and again just callable statements within java.</p>
<p>If you are doing data intensive operations finish the task within the kernel, database itself. And SQL is the native language of databases not Java.</p>
<p>Best regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeger Hendrikse</title>
		<link>http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/#comment-5074</link>
		<dc:creator>Zeger Hendrikse</dc:creator>
		<pubDate>Mon, 10 Dec 2007 15:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2652#comment-5074</guid>
		<description><![CDATA[Recently I had to do exactly the same: parse hundred thousands of records from file to a database. To keep the performance acceptable, we had to process the file as a stream and to apply JDBC batching, precisely in the way you described. However, we soon ran into java.lang.OutOfMemory errors, due to the PreparedStatement growing beyond bounds (containing the batch with hundred thousands of records). For those who are interested in our solution, see my post &lt;a href=&quot;http://it-essence.xs4all.nl/roller/technology/entry/tackling_jdbc_incurred_memory_problems&quot; rel=&quot;nofollow&quot;&gt;Tackling JDBC incurred memory problems using JMX&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Recently I had to do exactly the same: parse hundred thousands of records from file to a database. To keep the performance acceptable, we had to process the file as a stream and to apply JDBC batching, precisely in the way you described. However, we soon ran into java.lang.OutOfMemory errors, due to the PreparedStatement growing beyond bounds (containing the batch with hundred thousands of records). For those who are interested in our solution, see my post <a href="http://it-essence.xs4all.nl/roller/technology/entry/tackling_jdbc_incurred_memory_problems" rel="nofollow">Tackling JDBC incurred memory problems using JMX</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Gralike</title>
		<link>http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/#comment-5073</link>
		<dc:creator>Marco Gralike</dc:creator>
		<pubDate>Mon, 10 Dec 2007 15:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2652#comment-5073</guid>
		<description><![CDATA[Emiel kun je me een plezier doen en je font style aanpassen naar &quot;default&quot;. Alles (de site) gaat nu mee in jou fontstyle zoals je ziet...]]></description>
		<content:encoded><![CDATA[<p>Emiel kun je me een plezier doen en je font style aanpassen naar &#8220;default&#8221;. Alles (de site) gaat nu mee in jou fontstyle zoals je ziet&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Wolf</title>
		<link>http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/#comment-5072</link>
		<dc:creator>Patrick Wolf</dc:creator>
		<pubDate>Sun, 09 Dec 2007 18:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2652#comment-5072</guid>
		<description><![CDATA[Parameter binding rules ;-)

Patrick]]></description>
		<content:encoded><![CDATA[<p>Parameter binding rules <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rekounas</title>
		<link>http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/#comment-5071</link>
		<dc:creator>rekounas</dc:creator>
		<pubDate>Fri, 07 Dec 2007 20:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2652#comment-5071</guid>
		<description><![CDATA[For performance purposes, if you were repeating the same statement 200,000 times, you should have been using PreparedStatement from the start.

In general, I like the PreparedStatement object better because I just find it cleaner to use.]]></description>
		<content:encoded><![CDATA[<p>For performance purposes, if you were repeating the same statement 200,000 times, you should have been using PreparedStatement from the start.</p>
<p>In general, I like the PreparedStatement object better because I just find it cleaner to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emiel Paasschens</title>
		<link>http://technology.amis.nl/2007/12/07/sql-in-javal-to-batch-or-not-to-batch-with-oracle/#comment-5070</link>
		<dc:creator>Emiel Paasschens</dc:creator>
		<pubDate>Fri, 07 Dec 2007 17:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2652#comment-5070</guid>
		<description><![CDATA[Just as a final remark.
The rest of the article of O-Reilly is also quite interesting.]]></description>
		<content:encoded><![CDATA[<p>Just as a final remark.<br />
The rest of the article of O-Reilly is also quite interesting.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
