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
|