SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

SSIS - Event Handler Performance

Event handlers are a great tool for managing errors and other events that occur during the execution of a package run.  Using event handlers can however add additional time to the run of a package.  Depending on the event that is selected it could cause more performance issues than others. 

For example, if you have the OnInformation event selected then the package could fire off the event dozens of times during one run, but when you have the OnError event selected you will only see the event fire off on the failure of a package or task.  So be very careful with event handler usage. 

A side note on event handlers is they can be disabled.  From the event handler tab you can open the properties menu and change the Disable property to true, which will disable the selected event handler.  To disable event handlers all together in a package change the package level property called DisableEventHandlers to true.  Try it out by using the OnInformation event before and after disabling to see the performance hit.

Devin Knight

Devin is a BI consultant at Pragmatic Works Consulting. Previously, he has tech edited the book Professional Microsoft SQL Server 2008 Integration Services and was an author in the book Knight's 24-Hour Trainer: Microsoft SQL Server 2008 Integration Services. Devin has spoken at past conferences like PASS and at several SQL Saturday events. He is a contributing member to the Business Intelligence Special Interest Group (SIG) for PASS as a leader in the SSIS Focus Group. Making his home in Jacksonville, FL, Devin is a participating member of the local users’ group (JSSUG).


No comments.

Leave a Comment

Please register or log in to leave a comment.