Author |
Topic |
dewacorp.alliances
452 Posts |
Posted - 2006-10-12 : 00:10:27
|
Does any one know whether that TRC file (trace file) has a limitation on the size of rows?I run a server trace from http://vyaskn.tripod.com/server_side_tracing_in_sql_server.htmRun on SQL Job on specific job for quote: DECLARE @TraceID intEXEC usp_CreateTrace 'C:\_SYSTEAM\SQL_Trace\Start Trace Job', @OutputTraceID = @TraceID OUTEXEC usp_AddEvent @TraceID, 'Database File Auto Grow, Log File Auto Grow, ErrorLog, EventLog, Exception, Lock:Deadlock, Lock:Deadlock Chain, RPC:Completed, RPC:Starting, SP:CacheHit, SP:CacheInsert, SP:CacheMiss, SP:CacheRemove, SP:Completed, SP:ExecContextHit, SP:Recompile, SP:Starting, SP:StmtCompleted, SQL:BatchCompleted, SQL:BatchStarting, SQL:StmtCompleted', 'SQLSecurityLoginname, ClientHostname, ApplicationName, CPU, SPID, DatabaseName, Duration, EndTime, Error, EventSubClass, HostName, IntegerData, LoginName, NTUserName, ObjectName, StartTime, TextData' EXEC usp_StartTrace @TraceIDGO
Also, run a separe job for stopping: quote: EXEC usp_StopTrace 1GOEXEC usp_ClearTrace 1GO
But what I found is actually generating multiple trace files every 10 minutes or so. It's kind a pain cause need to save this trc file into table one by one and join into one.My question is: Is this a limitation on trace file? If it does ... is there any way to join this multiple trace file into one efficiently.Thanks |
|
sponguru_dba
Yak Posting Veteran
93 Posts |
Posted - 2006-10-12 : 05:19:35
|
Profiler Can Only Capture 1 GB File SizeSreenivasaRao"Every Thought is Possible" |
|
|
sponguru_dba
Yak Posting Veteran
93 Posts |
Posted - 2006-10-12 : 05:24:20
|
In fact there is no such limitation on size or Rows,but GUI having limitation that is around 1G.B we can 1 G.BSreenivasaRaoCell:09342196319 |
|
|
dewacorp.alliances
452 Posts |
Posted - 2006-10-12 : 18:52:42
|
quote: Profiler Can Only Capture 1 GB File Size
Not sure why? The size of my trace files are 5,020 KB only. How do I increase this?Thanks |
|
|
|
|
|