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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Logging ETL run
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nelsont
Starting Member

USA
25 Posts

Posted - 11/15/2013 :  16:38:59  Show Profile  Reply with Quote
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

India
52326 Posts

Posted - 11/16/2013 :  01:13:02  Show Profile  Reply with Quote
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

USA
25 Posts

Posted - 11/18/2013 :  16:18:31  Show Profile  Reply with Quote
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

India
52326 Posts

Posted - 11/19/2013 :  01:40:57  Show Profile  Reply with Quote
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

USA
25 Posts

Posted - 11/19/2013 :  19:15:41  Show Profile  Reply with Quote
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

India
52326 Posts

Posted - 11/20/2013 :  02:22:12  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000