hi all, sql 2012 standard edititon. i have one primary view that contian 2 view lets say view 1 contain view a and view b : view a and view b contain same table sturcure ( same index ,column ) view a point to tables on local server. view b point to tables on linked server. also i create synom that point to the primary view on the local server. problem is : when i do select from synom via proc seek opertion done which is expectd :) on table in view a, but tables on view b ( on link server ) a scan oprtion done .... some point :1) tables in links server with no fragmention .2) same table sturcture. ( index , column).3) link server user is db owner. ( i try this :)4) with recompile didnt help.5) join in column type big int . ( exlude collation problem :))5) when i look at sql xml plan i see : index scan on all table in view via profiler on link server . at same time i see index seek on profiler on local server . (its mean same quary diffrent plan )6) tables on link server came for sql 2008 r2 ( dtach and atach to sql 2012)7) maybe synom is the issues.... ( but i check without synom same problem...) i will be happy to get any other suggestion link to articles and so on. ( i think most of search on google in last 8 hours was " slow performance link server") thanks alot sharon when proc accsess to table in view that point to local server the indexseek opretion is done which its good :).
↧