SQL Server linked server performance

前端 未结 6 2214
故里飘歌
故里飘歌 2021-02-13 00:16

I am using SQL Server 2008 Enterprise. And I am using Linked Server technologies to link another SQL Server 2008 Enterprise instance from another server. I write TSQL to manipul

6条回答
  •  忘了有多久
    2021-02-13 00:55

    I've found that if you're doing outer joins (left/right) the performance degrades fast. It's sometimes faster to select the data from the remote server into a temp table and index it rather than joining across the network. Mostly, the best strategy is to write the query the way it makes sense and then only tune it if performance is a real problem.

提交回复
热议问题