• Home
        • Database Development

          Database development is designing, creating a database or data model, and analyzing requirements and their intents as raw data.

          Learn More
        • Architecture & Design

          Software architecture refers to the fundamental structures of a software system and the discipline of creating such structures and systems.

          Learn More
        • Programming

          Computer programming is the process of performing a particular computation or more generally, accomplishing a specific result.

          Learn More
        • Cloud Computing

          Cloud computing is the on-demand availability of computer system resources, especially data storage and computing power.

          Learn More
        • ETL Development

          ETL provides the foundation for data analytics and machine learning workstreams. Through a series of business rules, ETL cleanses and organizes data.

          Learn More
        • Data Visualization & Reports

          Data and information visualization is an interdisciplinary field that deals with the graphic representation of data and information.

          Learn More
  • Blog
  • Contact

Parallelism in SSIS Using Execute Package Task

The concept of parallel processing is not an alien one in the world of computing. It usually refers to the execution of programs (or computer commands) in multiple threads. Thus, it’s not surprising to discover that SQL Server Integration conveniently supports package parallel processing via the Execute Package Task. In this article, I will take you through a demo on how to implement parallel processing using SSIS’s Execute Package Task.
Demo
Although my demo is quite elementary – it can still adopt the approach in your complicated ETL scenarios (in fact, I often use it during my data warehouse dimensional load).
Assuming that you have setup an Integration Services Project, let’s start off by adding a new package as Package A.
report main dataset
"PackageAExpression3"

report main dataset
"PackageAExpression1"
The definition of Package A is simple – it uses an expression task to return package name as shown below.
report main dataset
"PackageAExpression2"

report main dataset
"PackageAExpression"
Add another package as Package B with a similar definition as Package A – meaning it should also have an expression task that returns package name.
report main dataset
"PackageAExpression4"
At this point we should have successfully added two SSIS packages as Package A and Package B, respectively – as shown above. Both packages use an expression task that returns package name through System variable @[System::PackageName].
Let’s move on to implementing parallelism by adding another package as Master Package. This Package will be used to execute both Package A and Package B at the same time. This will be achieved by adding two sequence containers as Process 1 and Process 2, respectively.
report main dataset
"PackageAExpression5"

report main dataset
"PackageAExpression6"

report main dataset
"PackageAExpression7"

report main dataset
"PackageAExpression8"

report main dataset
"PackageAExpression9"

ADW_Catalog_Logging

Conclusion
That’s it, folks. Till next time.
Cheers,
Sifiso.
CodeProject

Loading

Sifiso

October 10, 2022
Sifiso is Data Architect and Technical Lead at SELECT SIFISO – a technology consulting firm focusing on cloud migrations, data ingestion, DevOps, reporting and analytics. Sifiso has over 15 years of across private and public business sectors, helping businesses implement Microsoft, AWS and open-source technology solutions. He is the member of the Johannesburg SQL User Group and also hold a Master’s Degree in MCom IT Management from the University of Johannesburg.

Meet Our Experts

We are proud to have a team of experts who are passionate about delivering the best possible solutions to you. Our team members are highly skilled and experienced in a diverse range of IT technologies, and are committed to staying up-to-date with the latest industry trends and best practices to deliver you the best results.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Join Our Newsletter

Subscribe to get our latest and best thinking on the most definitive workforce topics affecting HR leaders and organizations today.