SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Master and child packages performance issue


Master and child packages performance issue

Author
Message
Susan.Campher
Susan.Campher
Valued Member
Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)

Group: General Forum Members
Points: 67 Visits: 104
Hi, we have run into a performance issue with a master package calling child packages and would really appreciate some advice.

We have three SSIS projects, each consisting of a set of child packages and a master package that performs some admin tasks and then call all the child packages. All of the child packages are executed with ExecuteOutOfProcess=false.
Master1: admin task -> execute package1.1 -> execute package1.2 …-> execute package1.n-> admin task;
Master2: admin task -> execute package2.1 -> execute package2.2 …-> execute package2.m-> admin task;
Master3: admin task -> execute package3.1 -> execute package3.2 …-> execute package3.k-> admin task;

When executed separately using the Execute Package Utility, the execution times for these packages are (mm:ss)
Master1 05:27
Master2 25:42
Master3 11:50

We want to schedule these packages and add some additional conditions, however, simply creating a new Master package that calls these 3 packages sequentially (obviously using the same data sets), increases the execution times to
Master1 05:29 = an increase of 0.5%
Master2 32:33 = an increase of 27 %
Master3 36:28 = an increase of 208% !!.

We have tried to set ExecuteOutOfProcess=true on the Execute Package tasks but that only increased the execution time further.
I’m not sure what causes this and was not able to find anything similar on the forums.
Any help would be appreciated.
Thanks
Phil Parkin
Phil Parkin
SSC Guru
SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)

Group: General Forum Members
Points: 54756 Visits: 21216
It would be useful background if you would explain a bit about what the packages are doing - what is Master3 doing that the other 2 are not?


Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
Susan.Campher
Susan.Campher
Valued Member
Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)

Group: General Forum Members
Points: 67 Visits: 104
The packages all perform the same type of tasks - reading from database tables, performing transformations and loading data into tables. There are no significant differences.
Phil Parkin
Phil Parkin
SSC Guru
SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)SSC Guru (54K reputation)

Group: General Forum Members
Points: 54756 Visits: 21216
Then there is a suggestion that the time increase gets worse as each package runs.

Can you swap, say, Master1 and Master3 to confirm this?

It would be useful to know whether it's a general degradation, as the numbers suggest, or a package-specific degradation.


Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
Susan.Campher
Susan.Campher
Valued Member
Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)Valued Member (67 reputation)

Group: General Forum Members
Points: 67 Visits: 104
OK, so I have set up a test package that calls master1 4 times in a row while resetting things like target database tables to their original state in between calls. These are the results:

Master1 call1: 04:40
Master1 call2: 05:42 = increase of 22%
Master1 call3: 06:44 = increase of 44%
Master1 call4: 08:29 = increase of 82%

There has to be some sort of resource problem
sabyasm
sabyasm
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1124 Visits: 524

Yes ... I am using 3 level of package hierarchy and performancewise it has been absolutely fine...



--
Sabya

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search