-->
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: Identifying DB performance problems
PostPosted: Thu Jul 30, 2009 5:21 am 
Newbie

Joined: Fri Jan 23, 2009 8:30 am
Posts: 2
I've been working on an application that exhibits inconsistent performance under load. There is a suspicion that the database is causing some of the performance problems, however I need to categorically prove that.

Is there a way that I can get hibernate to identify exactly how much time is taken for each SQL statement that it executes on the database? Obviously I can put code around my HQL calls, but this doesn't tell me whether the inconsistencies aren't occurring in Hibernate's Java code (as a result say, of poor app-server configuration or garbage collection).

I'm hoping that this is a common question with a simple answer?


Top
 Profile  
 
 Post subject: Re: Identifying DB performance problems
PostPosted: Thu Jul 30, 2009 6:36 am 
Beginner
Beginner

Joined: Wed Dec 10, 2008 5:59 am
Posts: 47
Have you had a look at Statistics? You will have to do some manual work for it though...

http://www.javalobby.org/java/forums/t19807.html


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.