Re: SQL Server very slow over internet...
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Thu, 26 Jan 2006 19:46:32 -0500
It doesn't actually send all the data at once. If you profile the event I
think you will find a series of 1000 calls to the database to do the updates
or inserts. That's a lot of network traffic. Is this .net? If so how are
the updates or inserts being done? Is it a sp? Do you have SET NOCOUNT ON
at the beginning of the SP?
--
Andrew J. Kelly SQL MVP
<hurricane_number_one@xxxxxxxxx> wrote in message
news:1138315553.781086.111300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I have an application that uses SQL Server and can be run on mutiple
> computers over a local area network. One of my clients has requested
> to have SQL Server running at their main office and have each client
> machine at a different location connecting to SQL Server over the
> internet. I have been able to set this up fine by just pointing the
> client machines to the main office PC by entering the server's IP in
> the client's DSN and opening up the SQL Server port on the main office
> computer's firewall but restricting access to only the IPs of the
> client computers. This all works fine except that when writing large
> number of records it's incredibly slow. If I'm writing 1000+ records
> in a LAN it wouldn't take very long but when I try the same over the
> internet it takes so long that I thought something was wrong and gave
> up waiting. I don't know how long it would take but I waited at least
> 30 mins and it didn't complete. I'm using disconnected recordsets so
> it should be sending all the data at once.
> Any idea why it would be running so slow? I would expect some slowdown
> over the internet but it is pratically non-functional. What can I try
> to speed it up??? I know the connection does work because it works fine
> for smaller number of records. Any suggestions?
>
.
- Follow-Ups:
- Re: SQL Server very slow over internet...
- From: hurricane_number_one
- Re: SQL Server very slow over internet...
- References:
- SQL Server very slow over internet...
- From: hurricane_number_one
- SQL Server very slow over internet...
- Prev by Date: remote connection possible ?
- Next by Date: Re: Remote connection to MSDE
- Previous by thread: SQL Server very slow over internet...
- Next by thread: Re: SQL Server very slow over internet...
- Index(es):
Relevant Pages
|