ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lamey <cla...@localmatters.com>
Subject Re: Performance question
Date Thu, 10 Jan 2008 22:04:43 GMT
On 1/10/08 2:52 PM, "Brian Parkinson" <parki@avaning.com> wrote:

> I wasn't quite sure in your answer whether the startBatch/executeBatch
> should work properly under the setup I have now - I was assuming that
> the performance problems I encountered were related (in part at least)
> to the fact that the statements weren't being batched, but run
> sequentially and so making many calls to the db. I'm just a little
> confused on this point.

Yes, it sounds to me like you haven't been batching up until now, so you
should see some performance improvement with the new setup.  Keep in mind
that too many inserts in a batch can actually be slower than no batch at


View raw message