-->
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.  [ 4 posts ] 
Author Message
 Post subject: Performance issue with Hibernate upgraded to 3.6.4.Final
PostPosted: Fri Jun 03, 2011 6:04 am 
Newbie

Joined: Wed Sep 15, 2010 9:08 am
Posts: 1
Hi There,
We are facing some performance issue with our new upgraded application. We recently upgraded our application platform
from :
    Hibernate : 3.2.6.ga
    Oracle : 10g
    Weblogic :10.0
to :
    Hibernate : 3.6.4.Final
    Oracle :11g RAC
    Weblogic : 10.3.4

The only reason why we upgraded hibernate is the Oracle 11g Dialect support. But there has been serious performance issues identified with this upgrade.Multi-datasource is configured with RAC instances in weblogic, i guess this should not be a problem. Whenever I start JMeter, in few seconds the datasource were going Overloaded in weblogic, and hibernate complains that
Quote:
There are no good connections available

Well, before posting the performance issue, I've made some analysis with different hibernate versions. Since the Oracle 11g dialect support was added in
Quote:
[HHH-3159] - Oracle 11g - desupport of oracle.jdbc.driver
3.3.2 GA, i've grabbed the fixed class and patched my original version which is 3.2.6.g.
So i have two application, one with Patched 3.2.6.ga and one with 3.6.4.Final.

My application is working without any problem with patched 3.2.6.ga but 3.6.4.Final makes the weblogic datasource to overload.

Cracking my head to find out why it is behaving so.. Do you guys have any idea how to check and where. Or is there any real issues with Hibernate 3.6.4.Final as mentioned here

I appreciate your pointers.
Many thanks,
Mohan


Top
 Profile  
 
 Post subject: Re: Performance issue with Hibernate upgraded to 3.6.4.Final
PostPosted: Fri Jun 03, 2011 8:12 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
I don't think HHH-5790 should have such an effect, unless you're massively hit by it in a very specific use case. Anyway, issue is solved now.

There is no known performance problem, especially comparing to 3.2.x there should be only many improvements. I'd suggest to enable logging on the connection pool and verify that you don't have unclosed sessions / self opened stale connections?

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Performance issue with Hibernate upgraded to 3.6.4.Final
PostPosted: Sun Jan 01, 2012 11:02 am 
Newbie

Joined: Sun Jan 01, 2012 10:54 am
Posts: 1
Hi,
Sorry for latching on to this thread, but it seems relevant, so I thought I'd ask before opening a new thread.
I'm a hibernate novice, and I was wondering if something like Jmeter cloud testing (see example in link, that's what I found so far) would work with hibernate?
Thanks for any input, Suzanne


Top
 Profile  
 
 Post subject: Re: Performance issue with Hibernate upgraded to 3.6.4.Final
PostPosted: Sun Jan 01, 2012 2:33 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Suzanne,
it depends on what you would like to test. It would certainly work, but you would be testing much more than the Hibernate operations only, as JMeter works on top of an HTTP interface you would need to make at least some very light servlet layer, and even then you could have bottlenecks or slowdowns in the HTTP network or servlets which would make it pretty hard to spot differences in different data structures used by Hibernate.
It could be useful if the goal is to test for example the performance of Hibernate applications in a cluster, measuring the full stack from session and second level cache distribution, but that would likely be out of scope from our usual interest in making sure the (Hibernate) core routines are optimised and make optimal use of databases, JDBC drivers and connections; the clustering performance issues should be addressed by the projects providing that layer of functionality, and the same logic should apply obviously to who provides the HTTP layer.

This is of course in the assumption that Hibernate is far faster than the other layers, which is usually the case; I've occasionally experienced customers needing help as Hibernate was the performance bottleneck and JMeter was being useful, but it usually boils down to incorrect configuration or wrong usage of the tool; so it might still be useful to spot significant configuration/design issues, but not of much use for us to spot performance regressions in the core code.

_________________
Sanne
http://in.relation.to/


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