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


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


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

Author
Message
Dan Guzman-481633
Dan Guzman-481633
Mr or Mrs. 500
Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)

Group: General Forum Members
Points: 579 Visits: 415
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
Divine Flame
SSCrazy Eights
SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)

Group: General Forum Members
Points: 8011 Visits: 2816
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
CanIKickit
SSC-Enthusiastic
SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)SSC-Enthusiastic (144 reputation)

Group: General Forum Members
Points: 144 Visits: 180
I'm not seeing any content either?
Gazareth
Gazareth
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13592 Visits: 6074
I do, it's "Con tent" right? Hehe
Dan Guzman-481633
Dan Guzman-481633
Mr or Mrs. 500
Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)

Group: General Forum Members
Points: 579 Visits: 415
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 deadlinesSad
Divine Flame
Divine Flame
SSCrazy Eights
SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)

Group: General Forum Members
Points: 8011 Visits: 2816
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 deadlinesSad


No problem Dan :-)


Sujeet Singh
NixIsTheNameSQLIsTheGame
NixIsTheNameSQLIsTheGame
SSC-Addicted
SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)

Group: General Forum Members
Points: 464 Visits: 519
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.... :-D


GREAT STUFF and thanks for giving back!

'nix

'nix
Dan Guzman-481633
Dan Guzman-481633
Mr or Mrs. 500
Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)

Group: General Forum Members
Points: 579 Visits: 415
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
Sfarha
Grasshopper
Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)

Group: General Forum Members
Points: 13 Visits: 64
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-481633
Dan Guzman-481633
Mr or Mrs. 500
Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)

Group: General Forum Members
Points: 579 Visits: 415
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search