Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How can I track the Processing times for my ETL/SSIS packages?

Posted on 2014-01-29
3
Medium Priority
?
335 Views
Last Modified: 2016-02-10
I'm using SQL Server 2012, what is the best way to analyze the different processing times for my different ETL/SSIS packages?

I'm interested in seeing perhaps a comparison of PROCESSING times campared against each other for a nightly ETL Jobs Run..

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

Accepted Solution

by:
Jim Horn earned 1500 total points
ID: 39819003
Most developers I know, pre-2012, created their own 'logging' table for SSIS package runs, with an id identity columns, and columns for the name, any variables passed, whatever.

When a package starts, an SQL Task in the beginning writes a row to this table, returns the id value, and then stores that value in an SSIS variable.

When a package ends, a SQL Task at the end updates that row based on the id = @id, and adding whatever other values you wish to track such as number of files processed, number of rows inserted-updated-deleted, etc.

Then, just query the table to view all history.
0
 
LVL 17

Author Comment

by:MIKE
ID: 39819036
I was wondering if there was some kind of module or app in SQL Server 2012 that would help in this regard. I wonder if some SYS table automatically tracks the actual processing time spent in seconds or whatever,...?
0
 
LVL 66

Assisted Solution

by:Jim Horn
Jim Horn earned 1500 total points
ID: 39819047
Built-in Reporting shows some promise, but I haven't worked with it so can't give you a definitive answer.

I'll step back to encourage other experts to respond.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

877 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