SSISDB Analysis Script on Gist

Posted by Davide Mauri on SQL Blog See other posts from SQL Blog or by Davide Mauri
Published on Wed, 23 Jul 2014 14:13:00 GMT Indexed on 2014/08/18 16:39 UTC
Read the original article Hit count: 265

Filed under:
|

I've created two simple, yet very useful, script to extract some useful data to quickly monitor SSIS packages execution in SQL Server 2012 and after.

I've started to use gist since it comes very handy, for this "quick'n'dirty" scripts and snippets, and you can find the above scripts and others (hopefully the number will increase over time...I plan to use gist to store all the code snippet I used to store in a dedicated folder on my machine) there.

Now, back to the aforementioned scripts. The first one ("get-ssis-execution-status") returns a list of all executed and executing packages along with

  • latest successful and running executions (so that on can have an idea of the expected run time)
  • error messages
  • warning messages related to duplicate rows found in lookups

the second one ("get-ssis-data-pumped-rows") returns information on DataFlows status. Here there's something interesting, IMHO. Nothing exceptional, let it be clear, but nonetheless useful: the script extract information on destinations and row sent to destinations right from the messages produced by the DataFlow component. This helps to quickly understand how many rows as been sent and where...without having to increase the logging level.

Enjoy! 

PS
I haven't tested it with SQL Server 2014, but AFAIK they should work without problems. Of course any feedback on this is welcome. 

© SQL Blog or respective owner

Related posts about 2012

Related posts about ssis