Re: linked server issue
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 12:12:28 +0200
MO
How much data do you update ? You can create a stored procedurea on S1 and
run it from S2
EXEC S1.dbname.dbo.sp
or if you are on SQL Server 2005 another method is
EXECUTE ('select......') AT S1
"MO" <MO@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:886A3F9C-633C-45F3-8829-CB7FA2779210@xxxxxxxxxxxxxxxx
Hi,
Server 1 is a linked server on server 2. I have a process that does a
bunch of selects/inserts on server 2 and also does an update to 1 table on
server 1 using the linked server. When this process runs, what we see is
that
95% of the time is spent in the update to 1 table on server 1 and all
other
operations on server 2 gets done quickly. When I run the update on server
1
as a local process it completes fast.
To solve this issue, I am thinking of setting up of a local proc on
server 1 that updates the table and making a call to server 1 form server
2.
Will this solve my problem ? If not what else can I try ?
TIA
MO
.
- Prev by Date: Re: Roles - Users
- Next by Date: Link Server Access Rights
- Previous by thread: ddl admin privilage
- Next by thread: Re: linked server issue
- Index(es):
Relevant Pages
|
|