-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate generating a lot of ad hoc traffic
PostPosted: Thu May 25, 2006 3:29 am 
Newbie

Joined: Thu May 25, 2006 2:55 am
Posts: 2
The setup is Hibernate 3.1 / MySQL 4 / Spring. MySQL Monitor shows about 100 queries/second, and everything works just fine. However, I've noticed that the network traffic has increased tremendously, following a very weird pattern. While my application server is receiving about 1.5MB/s of traffic from the database, it is sending in excess of 10MB/s of traffice to the database.

This is weird because there is very little writing going on for the dataset, and I'd say 99% of the time data is being read rather than written. To find out what's going on, I run tcpdump and sniff around. And much to my surprise, I've found out that most of the outgoing traffice form the application server isn't SQL queries at all, but more like a lot of environmental queries and setting going on, things like setting AUTO_COMMIT=on, setting the character set and so on and so forth.

I am wondering if I have set anything wrong.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.