views:

132

answers:

2

When running a very simple query in SQL Server 2000.

SELECT getDate()

Most queries are sub second, but one query randomally in 10 takes about five seconds.

I am running these queries from SQL Server 2008 Management studio, but it occurs in other clients and on other machines as well, so it is not client specific.

The query is running to a server which is on the same network and there is no significant load on the server.

Can anyone tell me why this might be happening?

A: 

The two things I would suspect without more information right off the bat are network latency and server load. Do you get this behavior when running the query from the database server machine itself? Do you get this behavior when running in single-user mode?

Lee
If running it directly from the server machine is fine, then it almost certainly is latency.
Lee
+1  A: 

Sounds like network issues. We had the same thing happen when I worked for a large bank. Due to politics, it was out of our control.

You can do a few things to confirm this, like try running the queries from the server, etc.

alchemical
+1 most likely a network issue.
Sam Saffron
Currently thinking it might be a problem with the network card in the machine. Thanks.
GordyII