|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Tuesday, April 09, 2013 4:50 AM
Points: 75,
Visits: 173
|
|
Hi,
In our SSIS package we have a lot of stored procedures which get called via a SQL task. These SP's sometimes have a union all or joins between lots of tables before inserting into a final table.
If I change the entire flow into merge,merge join and other tasks, will it improve my performance in any way? Or would SQL tasks be better and faster?
Thanks, Namrata
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: 2 days ago @ 5:12 AM
Points: 4,226,
Visits: 9,458
|
|
namrata.dhanawade-1143388 (2/8/2013) Hi,
In our SSIS package we have a lot of stored procedures which get called via a SQL task. These SP's sometimes have a union all or joins between lots of tables before inserting into a final table.
If I change the entire flow into merge,merge join and other tasks, will it improve my performance in any way? Or would SQL tasks be better and faster?
Thanks, Namrata
SQL Server is better at set-based operations like JOIN, ORDER BY and any form of aggregation 99% of the time - it's what it was designed to do. The final INSERT, however, may be faster in SSIS, which is optimised for large, fast inserts.
____________________________________________________________________________________________
Help us to help you. For better, quicker and more focused answers to your questions, consider following the advice in this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
If you are asking for help and your post does not contain a question, you should expect responses which do not contain any answers. Put a question mark in there somewhere - it's not rocket science.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Tuesday, April 09, 2013 4:50 AM
Points: 75,
Visits: 173
|
|
| Thanks a lot. This helps. :)
|
|
|
|