Parallel ssis execution

Jawaher Khemakhem 1 Reputation point
2021-04-12T18:00:38.55+00:00

I have about 112 packages. Actually these packages are executing sequentially using package master.

I need to execute these packages parallel. I create package master and add all these packages manually but it's not easy for support and maintenance. Is there a way or an idea how to extract all packages names from table parameter for example, then execute them in parallel automatically and not add packages manually?

SQL Server Integration Services
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Monalv-MSFT 5,926 Reputation points
    2021-04-13T03:14:46.357+00:00

    Hi @Jawaher Khemakhem ,

    1.Please store the package name in sql table firstly.
    2.Use the following sql query in Execute SQL Task:
    SELECT PackageName FROM Package;

    3.Then drag Foreach Loop Container and drag Execute Package Task in the container.

    Please refer to the following pictures:
    87210-t-sql.png
    87251-parentpackage.png
    87252-est-general.png
    87166-est-resultset.png
    87167-fl-collection.png
    87129-fl-variablemappings.png
    87168-ept-package.png
    87104-ept-expressions.png

    Best regards,
    Mona


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Olaf Helper 47,581 Reputation points
    2021-04-13T09:44:39.067+00:00

    Actually these packages are executing sequentially using package master.

    Make a copy of that package, edit it and remove all flow arrows/connecting lines, then all child packages will be executed in parallel.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.