Stairway to Server-side Tracing - Step 7: How to Automate SQL Traces using SQL Jobs and SSIS

  • Dan Guzman

    Default port

    Points: 1467

    Comments posted to this topic are about the item Stairway to Server-side Tracing - Step 7: How to Automate SQL Traces using SQL Jobs and SSIS

  • Divine Flame

    SSCoach

    Points: 15940

    Dan Guzman-481633 (2/14/2011)


    Comments posted to this topic are about the item <A HREF="/articles/Stairway+Series/72467/">Stairway to Server-side Tracing - Step 7: How to Automate SQL Traces using SQL Jobs and SSIS</A>

    Hey Dan,

    I don't see any content in the article !!! It just says that it is the part of Stairway series, thats it. Am I missing something here :hehe:??


    Sujeet Singh

  • CanIKickIT

    Old Hand

    Points: 359

    I'm not seeing any content either?

  • Gazareth

    One Orange Chip

    Points: 27737

    I do, it's "Con tent" right? :hehe:

  • Dan Guzman

    Default port

    Points: 1467

    Hi, Sujeet.

    Sorry for the confusion but I'm in the process of making some last minute changes to Level 7 of this Stairway. My day job sometimes gets in the way of meeting deadlines:(

  • Divine Flame

    SSCoach

    Points: 15940

    Dan Guzman-481633 (1/18/2012)


    Hi, Sujeet.

    Sorry for the confusion but I'm in the process of making some last minute changes to Level 7 of this Stairway. My day job sometimes gets in the way of meeting deadlines:(

    No problem Dan 🙂


    Sujeet Singh

  • NixIsTheNameSQLIsTheGame

    SSC Eights!

    Points: 886

    Dan, I have enjoyed this series greatly. Any plans for a step 8 to build the ssis packages to finish off the project? After you getting us this far it seems criminal for me to finish it off as best I can. I am sure it wouldn't be as elegant as your work.

    I got to the end of #7 only to see..... in my next article.... 😀

    GREAT STUFF and thanks for giving back!

    'nix

    'nix

  • Dan Guzman

    Default port

    Points: 1467

    Level 8 is in the pipeline. I just submitted a draft for technical review so hopefully I won't keep you waiting much longer 🙂

  • Sfarha

    SSC Rookie

    Points: 33

    Hi,

    I tried to create a server side trace and record its data into a table using the fn_trace_gettable but it denies acces to the file. For every new trace file that is created I have to change the permissions manually for the trace file, changing permissions for folder on the whole is also no use.

  • Dan Guzman

    Default port

    Points: 1467

    Directory permissions are not inherited for SQL trace files. SQL Server sets permissions such that only the service account, local administrators, and the owner can access the file because the trace may contain sensitive data. This isn't an issue to use fn_trace_gettable against local trace files since that is done under the context of the local SQL Server service account but is problematic when trying to access the file remotely from a SQL instance running under a different service account or one that is not a member of the local Administrators group on the remote server.

    A workaround is to either add the SQL Server service account to the remote Administrators group or use the same service account.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic. Login to reply