-->
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: Multiple time the same mysql query shows up on Hibernate
PostPosted: Tue Jun 14, 2016 4:45 am 
Newbie

Joined: Tue Jun 14, 2016 4:38 am
Posts: 1
I recently encountered by activating setShowSql(true) shows me many mysql queries repeadly several times(mostly 3 times) while testing on development mode where i have just one user session.And that is the main cause of my website slowdown during high traffic and by monitoring my website on new relic monitoring system, it shows me always DataSource.getConnection holding so much time.

Please go to this post which has full details along with screenshots.

http://stackoverflow.com/questions/3780 ... h-probably

Many thanks in advance..

Tim


Top
 Profile  
 
 Post subject: Re: Multiple time the same mysql query shows up on Hibernate
PostPosted: Tue Jun 14, 2016 9:26 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
Check out my answer.


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.