If the servers are on their own subnet with a 1GB link, then you should not have to worry a great deal. I would be concerned if the two servers are connected by a shared, slow link. Both servers are in same subnet with a 1GB link and both servers are SQL 64 bit in windows server 64 bit.
Try a look at this KB article here. May be you can relate it to your problem. What rights does the login have that has been used to set up the linked server, if it has limited rights it might not be able to read statistics and may not be choosing the best plan, just a guess.
Ignacio A. Salom Rangel. I was reading it and it seems to be the same problem you have, so I thing adding a unique constraint or a primary key constraint must help you to solve the problem. My blog. I had a similar problem, although back in SQL Server If you can't find the root cause of your problem, a bit of pragmatism may be in order and use an alternative solution that does work.
Use an set-based approach, thus update the existing rows first, then insert the missing ones. Sign in. United States English. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums.
Microsoft Enterprise. Browse All Community Hubs. Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for. Show only Search instead for. Did you mean:. Sign In. Techniques to enhance Linked Server performance.
Tariq Rasheed Al-Qaralleh. Published Oct 21 AM Add a comment. Active Oldest Votes. Arvo Arvo 9, 1 1 gold badge 27 27 silver badges 32 32 bronze badges. No- still same problem. The join could contain filters to cut down the records it needs to visit in the remote db. As I said, running the exact query you posted, takes exactly the same amount of time to execute. How often is this table being used? It his case, you may be waiting for some other process to unlock the table.
Marcela Rocha Marcela Rocha 79 2 2 silver badges 12 12 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook.
0コメント