<?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: HOW TO:  Use JDBC Batching for 7-8X throughput gains</title>
	<atom:link href="http://blog.markturansky.com/archives/87/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.markturansky.com/archives/87</link>
	<description>software architecture &#38; engineering, code hints, sometimes philosophy, photography, life, etc.</description>
	<lastBuildDate>Thu, 19 Jan 2012 14:26:50 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daily del.icio.us for June 1st through June 4th &#8212; Vinny Carpenter&#8217;s blog</title>
		<link>http://blog.markturansky.com/archives/87/comment-page-1#comment-752</link>
		<dc:creator>Daily del.icio.us for June 1st through June 4th &#8212; Vinny Carpenter&#8217;s blog</dc:creator>
		<pubDate>Thu, 05 Jun 2008 03:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markturansky.com/archives/87#comment-752</guid>
		<description>[...] &#187; HOW TO: Use JDBC Batching for 7-8X throughput gains - Using the batched statement capability of your JDBC driver can give you 7-8X throughput gains. Not only is batching significantly faster, it&#8217;ll save database CPU cycles and be easier on the network, too [...]</description>
		<content:encoded><![CDATA[<p>[...] &raquo; HOW TO: Use JDBC Batching for 7-8X throughput gains &#8211; Using the batched statement capability of your JDBC driver can give you 7-8X throughput gains. Not only is batching significantly faster, it&rsquo;ll save database CPU cycles and be easier on the network, too [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Turansky</title>
		<link>http://blog.markturansky.com/archives/87/comment-page-1#comment-751</link>
		<dc:creator>Mark Turansky</dc:creator>
		<pubDate>Tue, 03 Jun 2008 15:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markturansky.com/archives/87#comment-751</guid>
		<description>bhaskar,

A prepared statement should, in theory, be parsed and compiled only once... unless you are not reusing that same prepared statement.

The JDBC driver can cache prepared statements to achieve the perf savings you allude to.  But I can tell you that WebLogic, for example, has the default statement cache set to 10!  That means if you have 20 tables in your database, you&#039;ll always be parsing half your statements.

In our case, we&#039;ve got 350+ tables, meaning we&#039;re parsing new statements 97% of the time because our Config Management guys haven&#039;t upped the statement cache beyond 10!</description>
		<content:encoded><![CDATA[<p>bhaskar,</p>
<p>A prepared statement should, in theory, be parsed and compiled only once&#8230; unless you are not reusing that same prepared statement.</p>
<p>The JDBC driver can cache prepared statements to achieve the perf savings you allude to.  But I can tell you that WebLogic, for example, has the default statement cache set to 10!  That means if you have 20 tables in your database, you&#8217;ll always be parsing half your statements.</p>
<p>In our case, we&#8217;ve got 350+ tables, meaning we&#8217;re parsing new statements 97% of the time because our Config Management guys haven&#8217;t upped the statement cache beyond 10!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhaskar</title>
		<link>http://blog.markturansky.com/archives/87/comment-page-1#comment-750</link>
		<dc:creator>bhaskar</dc:creator>
		<pubDate>Tue, 03 Jun 2008 15:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markturansky.com/archives/87#comment-750</guid>
		<description>One thing I couldn&#039;t get, is the claim that JDBC prepared statement is compiled every time when not using batch.
I thought the whole point of a prepared statement is that it is compiled once, and bind parameters can change as much as they want, the statement is not compiled again.</description>
		<content:encoded><![CDATA[<p>One thing I couldn&#8217;t get, is the claim that JDBC prepared statement is compiled every time when not using batch.<br />
I thought the whole point of a prepared statement is that it is compiled once, and bind parameters can change as much as they want, the statement is not compiled again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

