I’m using SQL Server 2000 and i’m trying to run an update query to a linked server but it is really slow.
It seems that it may be an indexing issue but i’m yet to figure out how to add indexes to linked servers
Does anyone know if this is possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Indexes are not, properly speaking, part of linked servers.
You would use a linked server to “locate” the tables you wish to work with, on this server or another, but whether or not those tables have indexes to optimize the queries (or, as @JNK points out, to perhaps slow them down) is outside the scope or mandate of the linked server. If the tables are appropriately indexed, those indexes will be used; if not, then they won’t.
(If you’re referring to optimization issues when joining tables “across” a linked server, that’s an advanced topic that I am not familiar with.)