Solved

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

Posted on 2014-02-06
5
436 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tempdb log keep growing 7 33
Amazon RDS migrate to SQL Server 3 24
HTML <font style="color:red"> 9 30
SQL View / Qtry 3 9
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…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how the fundamental information of how to create a table.

840 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