Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS transfer sql server objects task RUNS more than TWICE AS SLOW AS A SQL AGENT JOB AS OPPOSED RUN FROM BIDS/SSDT

$
0
0

Hi

I have a dev and live server and I created a transfer sql server objects task in ssis that pull tables from a source server to the dev (destination) server and saved it as a package. I have then copied this package and changed the destination server to the LIVE server.

When I run the package in dev and live they both run successfully. Both servers have identical spec. But when run as  SQL AGENT JOB  from both servers, it takes more than twice as much time on the LIVE server than the dev server. I have traced the job on both servers and the actual copying of data seems to be pretty much the same but the LIVE server spends half of its time trying to get the connection or validation...….all I can say is that it works on both servers but more than twice as slow in the LIVE server. The 2 ssis jobs are exactly the same except that the smo connection for destination on both are different (each pointing to its own server).

So if I run the task from integrated services on the live server, it still takes nearly 3 times longer.....

While monitoring the LIVE server I can see the sql activity monitor showing the ssisdb database as a suspended task state with a wait type of sleep_task……..I can see this in the DEV server also, but in the dev server it begins the transfer object task  after seconds and it takes about 4 minutes before it kicks into action on the LIVE server

No other jobs are running against either servers while I am doing this.

Both servers are windows server 2012 R2 and sql server 2016

Can anyone help me understand why its much slower in one than the other...…and maybe suggest where I can go to resolve the issue...

Thanks for any help....


Regards David McGarry





Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>