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

  • 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

  • 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

  • I'm not seeing any content either?

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

  • 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:(

  • 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

  • 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

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

  • 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.

  • 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 9 (of 9 total)

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