Re: trace file created but not populated

From: Jacco Schalkwijk (jacco.please.reply_at_to.newsgroups.mvps.org.invalid)
Date: 11/26/04


Date: Fri, 26 Nov 2004 14:34:52 -0000

The trace is kept in memory until it has reached a certain size (128 KB if I
remember correctly) or until the trace is stopped. Only then is it actually
written to disk.

-- 
Jacco Schalkwijk
SQL Server MVP
"Zarko Jovanovic" <mind_less_NOSPAM_@bigfoot.com> wrote in message 
news:1101478848.859745@internet.fina.hr...
>I created the trace in profiler and it runs ok in the profiler. When I
> transfered it as a script and run it, it is running, it did create the 
> file,
> but the file size stays 0 and it's empty. what happened?
>
> btw, I even removed filters to see if file gets populated but nothing
> happened. Trace is catching rpc completed and sql batch completed
>
> tia
>
> Zarko
>
> 


Relevant Pages

  • Re: Profiler Bug viewing trace flat file?
    ... The TextData column is definitely populated when I query resulting trace ... selected in Profiler and run from Profiler. ... declare @TraceID int ...
    (microsoft.public.sqlserver.tools)
  • Re: Profiler Bug viewing trace flat file?
    ... exec PostAvailableContractsCache_sp ... The TextData column is definitely populated when I query resulting trace ... selected in Profiler and run from Profiler. ...
    (microsoft.public.sqlserver.tools)
  • Re: Application Trace Profiler
    ... I have my debug event handling loop in a background thread, ... I tried this article and I was able to profile the Trace messages from my ... there any way to detach from the application so that the profiler can exit ... intercept the Trace statements of another running .NET application. ...
    (microsoft.public.dotnet.general)
  • Re: Profiler temp file
    ... Yes you are missing the whole point. ... Trace to a file without running profiler at all. ... shows how to create a script from scratch but if you follow my instructions ...
    (microsoft.public.sqlserver.tools)
  • Re: Application Trace Profiler
    ... I have my debug event handling loop in a background thread, ... I tried this article and I was able to profile the Trace messages from my ... there any way to detach from the application so that the profiler can exit ... intercept the Trace statements of another running .NET application. ...
    (microsoft.public.dotnet.general)