I've got two database servers ServerX and ServerY, each with a linked server object to the other. I want to move a database from one to the other to increase the performance of some queries across the linked servers. Some views in the to-be-moved database use the linked server.
How bad would it be to create a linked server on ServerX called [ServerX] and have it basically loop back to itself? I know it would work but can anyone foresee a performance improvement? I'm certain that our network is not saturated to the point that it's degrading performance of the queries - it's the use of the linked servers.
Thanks in advance!
EDIT: Correct, I'm not passing the query over as a string to be executed on the remote server. An example query that I'd run would be:
SELECT * FROM [LINKED_SERVER].[Database].dbo.[Table]