User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS SQL section within the Web Development category of DaniWeb, a massive community of 455,985 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,789 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS SQL advertiser: Programming Forums
Views: 979 | Replies: 1
Reply
Join Date: Dec 2007
Posts: 1
Reputation: reneeklo is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
reneeklo reneeklo is offline Offline
Newbie Poster

Help Slow SQL performance over internet

  #1  
Dec 4th, 2007
We have a SQL server on a DL380 with 8GB of RAM and 2 processors. This should be enough to host a couple of databases.

When I'm on the same LAN as the server (on the outside of the firewall) a select * from [tablename] returning 12000 records takes less than 3 seconds. When I run the same query from a different location (connected over the internet) it take 43 seconds.

Moving the server to a different locaction and switching off the firewall makes no difference. Connecting to the server over a VPN connection is even a bit slower (45 secs).

Any idea what's happening here?

To summarize:
Query returning 12000 records:
- On same machine as the server < 1 sec
- On the same LAN 2 secs
- Just behind the firewall just over 3 secs
- Over the internet (port 1433) 43 seconds
- Over the internet (VPN tunnel) 45 seconds
Last edited by reneeklo : Dec 4th, 2007 at 11:15 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2006
Location: Egypt
Posts: 763
Reputation: RamyMahrous is on a distinguished road 
Rep Power: 4
Solved Threads: 59
Featured Poster
RamyMahrous's Avatar
RamyMahrous RamyMahrous is offline Offline
Master Poster

Re: Slow SQL performance over internet

  #2  
Dec 5th, 2007
bandwidth problem, try to return fewer rows or in another meaning the most needed!! SQL Server not responsible for such lack in performance
B.Sc Computer Science, Helwan University
Microsoft Student Partner
Personal blog http://ramymahrous.blogspot.com/
Arabic technical blog http://fci-h-ar.blogspot.com/
English technical blog http://fci-h.blogspot.com/
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MS SQL Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the MS SQL Forum

All times are GMT -4. The time now is 9:26 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC