Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Query execution slow when executed from Remote

Author  Topic 

monty
Posting Yak Master

130 Posts

Posted - 2011-09-28 : 00:33:49
Hello,

Need your pointers to fix below issue.

We have a simple select statement if executed by logging on to the DB server takes about 1/10 of a second however if executed from a remote server is taking close to 10 seconds.

We have checked below.

1)n/w connections and data loss if any from remote server to db server
2)cpu are 4 and RAM is of 16GB and the usage is optimal
3)ran tracert

please let me know if i can look at any other things which may resolve this issue.

Regards,
Monty

its me monty

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-09-28 : 00:37:58
how are you executing it in remote server? using opendatasource or with linked server connection?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

monty
Posting Yak Master

130 Posts

Posted - 2011-09-28 : 00:43:05
Hi Visakh,

from remote as well i executed the same select statement from SSMS below is the illustration in case i confused you.

Case 1)DB server(Logging on to the db server)

Select * from table-- executed in 1/10 sec

Case 1)Log on to a remote server

register the db server in SSMS

Select * from table-- executed in 10 sec

I tried doing the same from few remote servers and the execution time is high i.e close to 10 sec.

Regards,
Monty






its me monty
Go to Top of Page
   

- Advertisement -