-->
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.  [ 3 posts ] 
Author Message
 Post subject: Slow response
PostPosted: Thu Jul 19, 2007 4:06 pm 
Newbie

Joined: Thu Jul 19, 2007 3:53 pm
Posts: 7
I have a Log object which contains 10 page objects. Each page has 50 categories (columns) containing 24 rows which works out to about 12000 records per query. All objects are configured to lazy load. My fetch time for a Log is running around 15 minutes. Is there anyway to improve the performance? Just getting the Log object alone is taking over 5 mins?

Any help would be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 21, 2007 11:53 pm 
Newbie

Joined: Tue Jan 16, 2007 2:56 pm
Posts: 4
Have you turned on sql logging and see what is happening during your query? Make sure Hibernate is doing exactly (DB wise) what you need it to do.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 23, 2007 8:50 am 
Newbie

Joined: Thu Jul 19, 2007 3:53 pm
Posts: 7
Thanks for the reply. Turns out I had missed a fetch="subselect" in one of the configuration files. Changed it to lazy="true" and have much better performance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.