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.
Author |
Topic |
kond.mohan
Posting Yak Master
213 Posts |
Posted - 2013-03-09 : 03:41:51
|
hi We are Pulling the Data from Oracle to Sql server(Staging Area).using SSIS Packages in MSSQL 2008.SSIS PACKGES ARE exectuing throug Schduler packages.ETL Package Execution Avg time is 4 hrs. from last 3 days onwards jobexection is more than 7 hrs.we have followed data loading is this manner1)drop indexes2)loading data3)creating indexes.few tables having huge volume of data.we have identified at the time of Jobexecution few process has been blocked.(either data loading or Index creation time)we need to DO the optimistion on dataloading and create index issuesand how to AVOID THE LOCKS(BLOCKED BY)IN sql server Agent. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-03-09 : 03:45:13
|
which are processes blocking them? are there multiple data creation/indexing dropping step which overlap?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
kond.mohan
Posting Yak Master
213 Posts |
Posted - 2013-03-09 : 04:15:28
|
HI, data loading time and index creation time locking happening.data loading using ssis packgage we have created ssis packges based on ONCE COMPLETION OF LOADING THE TABLE(completion line) THEN only PRCOCESS Should go to the NEXT container.this is the way of the Exettion of data loaidng .in the case of indexes we have created Stored procedures.each procedure have 3to 4 index.in this case also same once completion of the Stored procedure(Execute Sql task) then only shold to the next Execute sql task. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-03-09 : 04:19:49
|
why not add the index creation as a different step altogether in sql job and remove it from current package?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|