dbTalk Databases Forums  

SQL server side tracing

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss SQL server side tracing in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yba
 
Posts: n/a

Default SQL server side tracing - 03-05-2010 , 02:20 AM






Hello all,
This is for SQL 2000.
A trace is being configured (through a service) with filters to monitor
UPDATE, DELETE or INSERT commands in a particular database. What is weird is
that the system seems to be buffering entries, rather than immediately commit
them to the trace. Only when SQL service is stopped (or the service is
restarted) does the system writes the data to the trace.
Is this something known about SQL 2000?

Regards
Yba

Reply With Quote
  #2  
Old   
Kalen Delaney
 
Posts: n/a

Default Re: SQL server side tracing - 03-05-2010 , 09:51 AM






Hi Yba

Yes, this is by design.

The events are buffered until you have 128K, and then they are written to
disk. The alternative, to write each event one row at a time as they occur,
would require so much overhead that tracing could not ever be done on a
production system.

--
HTH
Kalen
----------------------------------------
Kalen Delaney
SQL Server MVP
www.SQLServerInternals.com

"Yba" <Yba (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello all,
This is for SQL 2000.
A trace is being configured (through a service) with filters to monitor
UPDATE, DELETE or INSERT commands in a particular database. What is weird
is
that the system seems to be buffering entries, rather than immediately
commit
them to the trace. Only when SQL service is stopped (or the service is
restarted) does the system writes the data to the trace.
Is this something known about SQL 2000?

Regards
Yba

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.