Re: remote query

From: Hari (hari_prasad_k_at_hotmail.com)
Date: 05/04/04


Date: Tue, 4 May 2004 08:38:01 +0530

Hi,

Did you meant tuning the "Query" in remote server (linked server). If is the
case then the tuning remains the same as local server query tuning. Connect
to the remote machine using Query analyzer . How to do that:-

1. Using client network utility create an alias name for the remote server
using the ip and port number
2. Connect to remote server using query analyzer selecting the Alias
created, user name and password
3. Open the query and execute using "Execution Plan'
4. Check query is using the indexes
5. Check query is written in optimized way

Thanks
Hari
MCDBA

"Ricardo De Val Borges" <rdeval@pop.com.br> wrote in message
news:#4kwFxTMEHA.3380@TK2MSFTNGP11.phx.gbl...
> Hi ,
>
> Somebody know how to optimize a remote query??
>
>



Relevant Pages

  • troubleshooting no response to wmi query on remote server
    ... I've written a perl script to query the event logs on remote servers. ... In checking the wbemcore.log on a problematic remote server, ...
    (microsoft.public.win32.programmer.wmi)
  • Re: missing indexes
    ... My sql version is: Microsoft SQL Server ... >I've simplified the query a little, but it's still causing the error in my ...
    (microsoft.public.sqlserver.programming)
  • WMI Mystery
    ... I have a remote server somewhere, ... Accessing it through WMI Explorer works just fine with a user id + ... I can connect and execute queries correctly. ... Query for operating system name failed. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Distributed Query Problems
    ... EXEC (@TSQL) ... When I look at the query plan, ... > is actually fetching all 2,000,000 records from the remote server. ...
    (microsoft.public.sqlserver.programming)
  • Re: Views
    ... discarded by examining the query plan. ... Thank you for using the Microsoft MSDN Managed Newsgroup. ... Based on the above the execution plan of the view query should be as same ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.clients)