-->
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.  [ 2 posts ] 
Author Message
 Post subject: how to increase the speed of hibernate??
PostPosted: Tue Feb 14, 2006 4:04 pm 
Newbie

Joined: Mon Feb 06, 2006 12:25 am
Posts: 17
HI All,

how to increase the speed of hibernate.

when i executes the hibernate query it takes so much of time to get the result.

for eg: if it returns 30+ rows it takes 1 min. and it shows those query in console since i have given <show sql=true>

is it because i am printing the queries..

how to increase the speed????

thanks in advance
balag


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 14, 2006 5:08 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
There's nothing in Hibernate that causes that much of a slowdown. I can produce about 50k/sec of show_sql="true" + "log4j.logger.org.hibernate.type=DEBUG, DBLog" log output, so long as the log output is going to a file and not the console. Are you doing queries/inserts to large unindexed tables? I'd definitely run some DB profiling before blaming Hibernate..


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

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.