SSIS Package Organization - Best Practices

Posted on 2008-11-14
Last Modified: 2013-11-10
I am currently using SSIS to load an ODS.  Each SSIS package contains the code to load one ODS table and none of the packages are dependent on each other.  What would be the best approach to maximize re-usability reduce development and maintenance time?  Should I keep the packages in their own separate solutions file or move all of the packages into one solution file?  I have about 60 ODS packages in total.
Question by:liv2007
    LVL 17

    Accepted Solution

    For maintability, putting them in one package is clean and neat. However, most of the time I keep all of the packages independent and create a master package to call the "child" packages using the Execute Package Task.
    In the end, personal preference.
    If you are asking whether to keep all of the files in BIDS project solution, definately - assuming they are related.
    LVL 17

    Assisted Solution

    SSIS is so call you could load the name of all your child packages into a database table. Read the data into a recordset, (object variable), put the recordset as the object for a Foreach Loop Container. Put a single Execute Package Task in the Foreach Loop Container and define the Package to run using an expression that is read from the loop of your table. For 60 packages that could change in number over time, this would be a very dynamic solution and not too difficult.

    Author Closing Comment

    Thanks HoggZilla.  I like your technique of calling the independent packages from a master package.  I'll try that.
    LVL 17

    Expert Comment

    Very welcome. Let me know if you need any help.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Viewers will learn how the fundamental information of how to create a table.
    Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now