← Articles
MSSQLTips.com · April 05, 2022

SSIS Bad Habits: Using Sort and Merge Join Components

This article explains why combining SSIS Sort and Merge Join transformations can be expensive when processing large datasets. It examines blocking and semi-blocking transformations and compares three approaches: sorting and joining within SSIS, supplying ordered inputs through covering indexes, and performing the join in SQL Server.

Experiments using the StackOverflow2013 database demonstrate the impact of these choices. On the test machine, execution took approximately four days, one day and 17 minutes, respectively. The discussion also considers database resource availability and situations where some in-memory sorting remains necessary.

Visit original source ↗