February 8, 2013 at 2:58 am
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
February 8, 2013 at 4:15 am
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.
February 8, 2013 at 4:32 am
Thanks a lot. This helps. 🙂
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply