SQL Profiler buffers the trace data in temporary files on the client machine, and if the drive on which these temporary files reside doesn't have ample free space, a Profiler trace (e.g. with the standard trace template) could deplete the drive of the free space rather quickly and end up disabling the trace.
System is low on disk space on drive 'C'. All SQL Server profiler functions are temporarily disabled.
The temporary files to buffer the profiler trace data were in directory C:\Documents and Settings\Siva\local settings\Temp\1, and the names of the temporary files had this pattern: Prf*.tmp. Upon exiting SQL Profiler, these temporary files would be removed automatically.
Work around:
To work around this problem, do not use SQL Profiler to perform a client-side trace of the events in the instance of SQL Server. Instead, use system stored procedures to perform a server-side trace of the events.
You can use the following system stored procedures:
* sp_trace_create
* sp_trace_setevent
* sp_trace_setfilter
* sp_trace_setstatus
For more information about these system stored procedures, search for the stored procedures in SQL Server 2000 Books Online or in SQL Server 2005 Books Online.
Reference:
An instance of SQL Server performs slowly when you use SQL Profiler to perform a client-side trace of the events in the instance
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment