Query through linked server is very slow

Posted by Sergey Olontsev on Stack Overflow See other posts from Stack Overflow or by Sergey Olontsev
Published on 2009-11-01T17:38:18Z Indexed on 2010/04/19 18:03 UTC
Read the original article Hit count: 271

I have 2 SQL 2005 servers SRV1 and SRV2. SRV2 is the linked server on SRV1. I run a storep proc with params on SRV2 and it is completed immediately. But when I run the same proc through the linked server on SRV1, for example EXEC [SRV1].DB_TEST.dbo.p_sample_proc it takes about 8-10 minutes to complete. After restarting SRV2 the problem is gone. But some time later it returns. Does anyone have any ideas what it could be?

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about sql-server-2005