-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate batch inserts with batch_size=50 most efficient ?
PostPosted: Sat Jun 02, 2012 9:19 am 
Newbie

Joined: Wed May 09, 2012 1:44 am
Posts: 3
Hello experts,

I had tested my applicaion with different batch_size values and for my case I found setting batch_size=50 was the most efficient in terms of time taken for batch inserts of 10 K records. My concern is would this scenario be the same for production environment ? Is batch_size=50 gives most efficient performance as compared to the other values for batch_size, for all cases regardless of underlying hardware and number of records to be inserted ?

Please put some light on this. Thanks in advance

Cheers


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.