• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java-MySQL performance over wan

 
Paul Celona
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running mysql 4.0.18 on Windows 2003 server which also hosts my apache tomcat server. My applet makes a connection to the mysql database on the server as well as a socket connection to a service on the same server. In the lab with only a hub between the client and server, the application performs well and data is transferred quickly. In the deployed environment with a pair of gateways in between, socket performance is not affected much, but the application gui bogs down on the database queries. Performance is so slow that some simple GUI updates take up to 5-7 seconds with only a simple 1 table update occurring. The database updates are small (1 column) updates.

Does anyone have experience with this and/or can provide some insight?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul,
There could be contention on the table. If someone has a write lock, nobody else will be able to access the table. Or there could be a network problem or you could be low on disk space or...

You are giong to need to do some performance monitoring to see where the problem is in terms of physical resources.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic