Groups | Blog | Home
all groups > sql server connect > november 2003 >

sql server connect : link server and openquery


Yuling
11/20/2003 11:46:28 AM
Hi,

We have SQL 7 and 2000 servers and I create link server
on each machine respectively.

I use openquery to get data from each machine by creating
a view. Somehow, I will get timeout frequently by query
the view at SQL 7 (which use openquery to get data from
SQL 2000). But, I don't have this issue at SQL 2000
(using openquery to get data from SQL 7).

There is no timeout setting on both machines and the link
server setting is about the same at both machine. How
can I solve this issue in SQL 7? (We use those view to
run some report).

Thank you for your help.
Sue Hoegemeier
11/20/2003 6:50:32 PM
Did you check the remote query timeout settings? The default
is 600 (on 2000 anyway, can't remember what it is with 7)
which is 10 mins. You could try increasing that value.

-Sue

On Thu, 20 Nov 2003 11:46:28 -0800, "Yuling"
[quoted text, click to view]
Yuling
11/21/2003 10:03:41 AM
Sue,

Thank you for your response. The remote query timeout is
0 which means unlimited. Usually, the timeout message
pops up within 1 minutes when I or user run the query.
Thanks.

Yuling
[quoted text, click to view]
Sue Hoegemeier
11/23/2003 7:38:54 PM
Is it a query timeout or a login timeout? If the remote
query timeout is 0, it could be a login timeout and you
could try adjusting the value for remote login timeout. You
may want to run sp_configure to check the running values of
both of the settings.

-Sue

On Fri, 21 Nov 2003 10:03:41 -0800, "Yuling"
[quoted text, click to view]
Yuling
11/25/2003 11:16:08 AM
Sue,

Thank you. I adjust the remote login time out from 5 to 20. And, it looks like the issue has been fixed.

Thank you for all of your help.
Sue Hoegemeier
11/25/2003 12:28:56 PM
Your welcome Yuling and thanks for posting back the results!

-Sue

On Tue, 25 Nov 2003 11:16:08 -0800, Yuling
[quoted text, click to view]
AddThis Social Bookmark Button