CodeGarden 10: The sixth annual Umbraco Developer Conference
June 23-25th 2010 - free ASP.NET MVC pre-conference. Register today!

remote database speed

7/2/2009 7:06:12 PMAvatarHendy RacherLocation: llandoveryposts: 78Karma: 136

Hi, does anyone have any tips as to how a local Umbraco install to a remote database can be sped up ? Connections via SQL Management studio to the remote server are fine, but from local IIS (using same connection details, same packet sizes etc) are very sluggish.

Does anyone else develop against a remote db ?

TIA,

Hendy

7/3/2009 12:15:54 AMAvatarPaul SterlingLocation: Bellingham, WashingtonMVP.Core.posts: 399Karma: 245
Comment with ID: 8483

Hendy -

We had a client use a remote MySQL instance (at Amazon EC2) and didn't notice any significant latency for DB-specific actions.  I'd expect MS SQL to perform as good or better.  The likely suspect is a firewall or routing issue, IMO.

Can you do a trace to see if you're dropping connections that have to be re-established?

-Paul

7/4/2009 11:49:40 AMAvatarHendy RacherLocation: llandoveryposts: 78Karma: 136
Comment with ID: 8557

Hi Paul,

Thanks for the suggestion. I'm using SQL Express so don't have the profiler tool, but have used wireshark to have a quick look at the traffic - lots of "Reassembled PDU"... and then lots of TDS query / response packets. Not sure what to try next !

TIA,
Hendy

Please login or Sign up To post replies