-->
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: Performance
PostPosted: Thu Jul 26, 2007 9:13 am 
Beginner
Beginner

Joined: Fri May 25, 2007 5:55 am
Posts: 26
Yes, I could. But that is not the question I am asking. I will be profiling mainly hibernate code and I cant optimise that.

The question I am asking is : are there any other ways I can get more performance from this example. Has anyone anything else to add on experiences with performance tuning in similar situations.

This query is taking me 35 seconds or so now. Same as ADO.NET. I am trying to get the retrieval of 100,000 rows down to 10 seconds if I can. Not sure if its possible.

I have tried since to use Enumerable to see if its better, buts its actually much much worse.

I also tried IQuery but its roughly the same performance.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 26, 2007 9:58 am 
Beginner
Beginner

Joined: Wed Oct 04, 2006 8:57 am
Posts: 25
Quote:
This query is taking me 35 seconds or so now. Same as ADO.NET. I am trying to get the retrieval of 100,000 rows down to 10 seconds if I can. Not sure if its possible.


NHibernate uses ado.net to get the data so as far as I am aware you will never get it to run faster than ado.net.


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.