Solved

SSIS - How to test run a package "outside" of its normal Schedule?

Posted on 2014-02-06
5
437 Views
Last Modified: 2016-02-10
Experts,

I have a SSIS Pkg in Production that is schedule to run nightly. It takes on average 9.5 hours to process.

I would like to TEST this process outside of its normal schedule in my DEVELOPMENT environment. I have access via Visual Studio 2010 to the package in our Source Control.

Can someone please tell or explain to me the best / easiest way to RUN this package manually in my DEV Environment so that I can test the run time outside of PROD?

Is it as simple as clicking the RUN button and letting it run..?

Thanks
0
Comment
Question by:MIKE
  • 3
  • 2
5 Comments
 
LVL 65

Expert Comment

by:Jim Horn
ID: 39838949
Yes.

Keep in mind though that the PROD resources (number of threads, competing processes at the time it's run, etc.) is going to be different than your DEV box, so it's not exactly an apples-to-apples performance comparison.

>It takes on average 9.5 hours to process.
I'd look into optimizing this.  Divide it up into batches, optimize the SQL, determine if any blocking components can be removed, etc.

Also, are you logging to a local table the start/end times of each performance run?
0
 
LVL 17

Author Comment

by:MIKE
ID: 39838982
So, my understanding is that it will definitely process faster on DEV due to your comment above in paragraph 1. I understand

My project is to Optimize or Refactor/Rebuild it IF I'm able.

The package, in my opinion is very straight-forward,... one item of note is that this process deals with alot of TEXT fields. I have 3 separate sources pulling the same 50 or so fields then Merging these fields into my Data Warehouse. Each source pulls in about 500K rows per night...

Yes, I am logging start/end times into a local table and I use this to measure performance of all my ETL over time....
0
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 39839013
> I have 3 separate sources pulling the same 50 or so fields
Are the three separate, or is there a JOIN somewhere of these three?  Reason I ask is because JOINs require sorting, which is a blocking component, which will prevent streaming and slow down the feed.

>then Merging these fields into my Data Warehouse.
How is the MERGE happening?  A T-SQL Merge, Pragmatic Works' Upsert Destination, lots of ugly code...
0
 
LVL 17

Author Comment

by:MIKE
ID: 39839294
3 Separate sources. Not "joined", but rather pulled separately..(in-tandem?) via SQL Script

Overview of SSIS Process Steps
------------------------------------
1. Source1, Source2, Source3 PULLED via SQL Script
2. then Transformed with CAST of Text fields to DATE using a Function
3. then Merge Data into Data Warehouse...

Merged is done via "MERGE" command SQL statement using SQL TASK in SSIS
0
 
LVL 17

Author Comment

by:MIKE
ID: 39847310
Any additional,,.... ideas...?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
My client has a dictionary table. They're defining a list of standard naming convention. Now, they are requiring my team to provide us a mechanism how to match new incoming data with existing data in their system.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

713 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