December 8, 2010 at 10:58 am
Can any one help me in scheduling the never ending server side trace.I am able to write a server side trace but i need to start it once and it has to be never ending.....
December 8, 2010 at 11:09 am
Do you want files from it to roll over? Will you keep old trace files?
You'll need to set up a startup proc that will re-start it when the SQL service restarts, or the trace will stop if the server or service is restarted.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
December 8, 2010 at 12:27 pm
Look at sp_trace_create @options.
Dan
December 8, 2010 at 1:59 pm
I can have the roll over
December 9, 2010 at 3:25 am
Have a look at last weeks article regards defining a Server Side trace in profiler. This will create the required TSQL which you can then embed in a server startup proc.
http://www.sqlservercentral.com/articles/Performance/71549/%5B/url%5D
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply