Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 how to Avoid Blocks in Sql server Agent

Author  Topic 

kond.mohan
Posting Yak Master

213 Posts

Posted - 2013-03-31 : 03:09:28

hi
we are loading the Data from ORACLE to Sql server using SSIS Packges.packges will execute on every moring on Regular basis.i have observer performance issue of this Sql agent job schduler.
one day package execution took 4 hrs for completion of process.
in some times it took more than 7hrs (Still Execution Mode)
i have executed SP_WHO2 command in SSMS . i found few of process has been Blocked(Blk BY) .which is Related to My ssis packes.if i kill the process my packges execution get failed. this blocks are running various tables.how to avoid these blocks in sql server ssis package exeution

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-03-31 : 03:12:36
see what all are the processes blocking package execution. Are all of then spawn by package themselves? give more specifics on them like what steps, which objects they affect etc. then somebody might be able to suggest an alternative.

Also whats the package doing? is it straight pull or having too many transformations in b/w?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -