Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««1234»»

Set Up And Schedule a Server Side Trace Expand / Collapse
Author
Message
Posted Friday, December 3, 2010 5:51 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 5:46 AM
Points: 13,752, Visits: 28,148
Jeff Moden (12/2/2010)
Good stuff as always, Grant! Thanks for taking the time to write articles like this. This one should be in every DBA's quick reference guide.


Thanks Jeff, but you & both know after you've done it once or twice, it's hard to forget. Hopefully it helps new people get a leg up a little quicker.


----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1029796
Posted Friday, December 3, 2010 5:52 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 5:46 AM
Points: 13,752, Visits: 28,148
CirquedeSQLeil (12/2/2010)
Great Stuff Grant.


Thanks Jason.


----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1029798
Posted Friday, December 3, 2010 7:07 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, May 20, 2013 11:01 AM
Points: 62, Visits: 308
I stand corrected everyone. Sorry about the incorrect information. I was told in a class that it had to be cleaned up, and never really tested it. It's great to know that it will auto cleanup.

Thanks to the peoples that did the testing!

Post #1029858
Posted Friday, December 3, 2010 7:29 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 2:42 PM
Points: 10,193, Visits: 13,120
jason.spangler (12/3/2010)
I stand corrected everyone. Sorry about the incorrect information. I was told in a class that it had to be cleaned up, and never really tested it. It's great to know that it will auto cleanup.

Thanks to the peoples that did the testing!



No worries. That's what SSC is all about , testing.




Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #1029875
Posted Friday, December 3, 2010 7:39 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:48 AM
Points: 6,726, Visits: 8,467
Jack Corbett (12/3/2010)
jason.spangler (12/3/2010)
I stand corrected everyone. Sorry about the incorrect information. I was told in a class that it had to be cleaned up, and never really tested it. It's great to know that it will auto cleanup.

Thanks to the peoples that did the testing!



No worries. That's what SSC is all about , testing.


Oh indeed ...

Don't just take anything for granted.
Test it - Test IT !


Johan


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


"press F1 for solution", "press shift+F1 for urgent solution"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1029882
Posted Friday, December 3, 2010 7:47 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 5:46 AM
Points: 13,752, Visits: 28,148
ALZDBA (12/3/2010)
Jack Corbett (12/3/2010)
jason.spangler (12/3/2010)
I stand corrected everyone. Sorry about the incorrect information. I was told in a class that it had to be cleaned up, and never really tested it. It's great to know that it will auto cleanup.

Thanks to the peoples that did the testing!



No worries. That's what SSC is all about , testing.


Oh indeed ...

Don't just take anything for granted.
Test it - Test IT !


Absolute 100% Agreement!


----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1029886
Posted Monday, January 31, 2011 9:58 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, September 4, 2014 11:13 PM
Points: 149, Visits: 563
great article, thanks.

what tweaks to this process are required to run a server-side trace on analysis services? when i export my Script Trace Definition, the 'For SQL...' options are greyed out. i am only able to export 'For Analysis Services...' which produces an xmla file.

what do i do with that xmla file to schedule the trace?

my task at hand is that i have to create an audit of access to a cube. any thoughts on whether this is a sufficiently robust mechanism to do this? if not, can anyone suggest alternatives?

thanks

rob



Post #1056584
Posted Tuesday, February 1, 2011 2:45 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, April 25, 2014 7:44 AM
Points: 109, Visits: 336
Hello,

Thanks for a great article.

I have a very intermittent problem, occurs only two or three times a month. Would there be any issues with running a server side trace all day, other than creating a lot of .trc files? I'm especially concerned about an all-day trace using too many resources and affecting server performance.
Post #1056669
Posted Tuesday, February 1, 2011 3:25 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Monday, June 23, 2014 6:03 AM
Points: 920, Visits: 702
Here is the another code snippest to write Server Side Trace

http://abhijitmore.wordpress.com/2010/03/11/creating-custom-trace/


Abhijit - http://abhijitmore.wordpress.com
Post #1056683
Posted Tuesday, February 1, 2011 4:09 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 5:46 AM
Points: 13,752, Visits: 28,148
rob mcnicol (1/31/2011)
great article, thanks.

what tweaks to this process are required to run a server-side trace on analysis services? when i export my Script Trace Definition, the 'For SQL...' options are greyed out. i am only able to export 'For Analysis Services...' which produces an xmla file.

what do i do with that xmla file to schedule the trace?

my task at hand is that i have to create an audit of access to a cube. any thoughts on whether this is a sufficiently robust mechanism to do this? if not, can anyone suggest alternatives?

thanks

rob





I am frankly unsure. I've never run a trace on SSAS, so I don't know exacty how it works.


----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1056711
« Prev Topic | Next Topic »

Add to briefcase «««1234»»

Permissions Expand / Collapse