Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Logging ETL run

Author  Topic 

nelsont
Starting Member

25 Posts

Posted - 2013-11-15 : 16:38:59
I have an ETL on our production server that is running slowly. I want to know if there is a way to get the type of results that you can get when you run a package with the Dtexec utility. Due to restrictions on the production server I am only allowed to run the ETL as a scheduled job, otherwise I would just use that utility to get detailed results for each step.

So, is there a way to log that dtexec utility level of detail when my ETL runs as a scheduled job? Thanks.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-11-16 : 01:13:02
If you're asking about logging in dtexec then use /L switch
http://technet.microsoft.com/en-us/library/ms162810(v=sql.105).aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

nelsont
Starting Member

25 Posts

Posted - 2013-11-18 : 16:18:31
No - I'm not allowed to use dtexec on my production server. I have a scheduled job that runs the ETL. I want to see if I can get a good description of how long each package is taking to run during the ETL so I can see where my problem is.

I know when you use dtexec you get a really detailed list of each task and how long each task took to complete. Can I get that without using DTexec?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-11-19 : 01:40:57
quote:
Originally posted by nelsont

No - I'm not allowed to use dtexec on my production server. I have a scheduled job that runs the ETL. I want to see if I can get a good description of how long each package is taking to run during the ETL so I can see where my problem is.

I know when you use dtexec you get a really detailed list of each task and how long each task took to complete. Can I get that without using DTexec?


You can if you've enabled logging inside the SSIS package. You can also implement custom logging using event handlers

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

nelsont
Starting Member

25 Posts

Posted - 2013-11-19 : 19:15:41
Thanks visakh, I will investigate logging. I've never used it before but it looks pretty straightforward.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-11-20 : 02:22:12
It is. see this article
http://www.bidn.com/blogs/ShawnHarrison/ssis/2436/basics-of-ssis-logging-part-1-enabling-and-using-sql-server-provider

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -