-->
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: Ssh tunnel and hibernate extremely slow
PostPosted: Thu Dec 17, 2009 10:18 am 
Newbie

Joined: Fri Dec 26, 2008 1:13 am
Posts: 8
Hi,

I set up an SSH tunnel from my Linux box in Japan to a MySQL server on Linux that is running in Holland. It works as expected from the command line and I get speeds up to 2 MB/sec. When I start my Java Servlet that uses Hibernate to connect to the remote MySQL server through the tunnel it works, but EXTREMELY SLOW. I get speeds in bytes per second. Eventually I get all the results I need, but for large result sets I have to wait several minutes! Is there any special thing I need to carry out for Hibernate to make this work faster?

Thank yoU!
Andrej


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.