PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > log_nnn.trc, who runs this profiler
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
log_nnn.trc, who runs this profiler

Réponse
 
LinkBack Outils de la discussion
Vieux 27/03/2008, 17h17   #1
Donald
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut log_nnn.trc, who runs this profiler

Hello everyone,

I notice a bunch of log_nnn.trc files on my C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\LOG folder. The file size keeps increasing. However,
I cannot find any instance of SQL Server Profiler is running. And nobody
ran profiler at all. I notice the same on other SQL Servers.

Anyone know how these traces initiated? How to disable them?

Thank you in advance!

Donald


  Réponse avec citation
Vieux 27/03/2008, 17h25   #2
Aaron Bertrand [SQL Server MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: log_nnn.trc, who runs this profiler

If this is SQL Server 2005, there is a default "black box" trace that runs
in the background by default. Here are some blog posts about it (including
how to turn it off, and some of the consequences of doing so):

http://blogs.technet.com/vipulshah/a...rver-2005.aspx

http://www.sqljunkies.com/WebLog/mz1.../09/20962.aspx

http://sqlblog.com/blogs/tibor_karas...ult-trace.aspx





"Donald" <donaldi@gmail.com> wrote in message
news:OJjrJYCkIHA.4356@TK2MSFTNGP02.phx.gbl...
> Hello everyone,
>
> I notice a bunch of log_nnn.trc files on my C:\Program Files\Microsoft SQL
> Server\MSSQL.1\MSSQL\LOG folder. The file size keeps increasing.
> However, I cannot find any instance of SQL Server Profiler is running.
> And nobody ran profiler at all. I notice the same on other SQL Servers.
>
> Anyone know how these traces initiated? How to disable them?
>
> Thank you in advance!
>
> Donald
>



  Réponse avec citation
Vieux 27/03/2008, 18h58   #3
Ben Nevarez
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: log_nnn.trc, who runs this profiler


Just to add to Aaron 's answer, this default trace is a lightweight trace
and, to avoid name confusion, it is not the blackbox trace.

The blackbox trace is heavier than the default trace and needs to be enabled
manually by using @options set to 8 (TRACE_PRODUCE_BLACKBOX) on
sp_trace_create.

Hope this s,

Ben Nevarez




"Aaron Bertrand [SQL Server MVP]" wrote:

> If this is SQL Server 2005, there is a default "black box" trace that runs
> in the background by default. Here are some blog posts about it (including
> how to turn it off, and some of the consequences of doing so):
>
> http://blogs.technet.com/vipulshah/a...rver-2005.aspx
>
> http://www.sqljunkies.com/WebLog/mz1.../09/20962.aspx
>
> http://sqlblog.com/blogs/tibor_karas...ult-trace.aspx
>
>
>
>
>
> "Donald" <donaldi@gmail.com> wrote in message
> news:OJjrJYCkIHA.4356@TK2MSFTNGP02.phx.gbl...
> > Hello everyone,
> >
> > I notice a bunch of log_nnn.trc files on my C:\Program Files\Microsoft SQL
> > Server\MSSQL.1\MSSQL\LOG folder. The file size keeps increasing.
> > However, I cannot find any instance of SQL Server Profiler is running.
> > And nobody ran profiler at all. I notice the same on other SQL Servers.
> >
> > Anyone know how these traces initiated? How to disable them?
> >
> > Thank you in advance!
> >
> > Donald
> >

>
>
>

  Réponse avec citation
Vieux 27/03/2008, 18h59   #4
Aaron Bertrand [SQL Server MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: log_nnn.trc, who runs this profiler

> Just to add to Aaron 's answer, this default trace is a lightweight trace
> and, to avoid name confusion, it is not the blackbox trace.


Yes, sorry about the confusion, bad choice of words on my part.


  Réponse avec citation
Vieux 27/03/2008, 19h49   #5
Donald
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: log_nnn.trc, who runs this profiler

Thank you all.
"Aaron Bertrand [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in message
news:ujsEmSDkIHA.4536@TK2MSFTNGP06.phx.gbl...
>> Just to add to Aaron 's answer, this default trace is a lightweight trace
>> and, to avoid name confusion, it is not the blackbox trace.

>
> Yes, sorry about the confusion, bad choice of words on my part.
>
>



  Réponse avec citation
Vieux 28/03/2008, 03h12   #6
Kalen Delaney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: log_nnn.trc, who runs this profiler

Also, to add to the other answers, keep in mind that Profiler is just one
way to run a trace. Not only do the default system trace and blackbox traces
NOT need profiler, you can create your own server side traces that do not
need Profiler. Profiler is just a GUI, the real tracing is done on the SQL
Server itself. For a production server, it is recommended that you don't
trace using Profiler, because the overhead is too high. You should always
use server-side traces for production systems.

--
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://DVD.kalendelaney.com


"Ben Nevarez" <bnevarez@no.spam.please.sunamerica.com> wrote in message
news:CB370269-08C2-4471-AD39-1BE7E305C00D@microsoft.com...
>
> Just to add to Aaron 's answer, this default trace is a lightweight trace
> and, to avoid name confusion, it is not the blackbox trace.
>
> The blackbox trace is heavier than the default trace and needs to be
> enabled
> manually by using @options set to 8 (TRACE_PRODUCE_BLACKBOX) on
> sp_trace_create.
>
> Hope this s,
>
> Ben Nevarez
>
>
>
>
> "Aaron Bertrand [SQL Server MVP]" wrote:
>
>> If this is SQL Server 2005, there is a default "black box" trace that
>> runs
>> in the background by default. Here are some blog posts about it
>> (including
>> how to turn it off, and some of the consequences of doing so):
>>
>> http://blogs.technet.com/vipulshah/a...rver-2005.aspx
>>
>> http://www.sqljunkies.com/WebLog/mz1.../09/20962.aspx
>>
>> http://sqlblog.com/blogs/tibor_karas...ult-trace.aspx
>>
>>
>>
>>
>>
>> "Donald" <donaldi@gmail.com> wrote in message
>> news:OJjrJYCkIHA.4356@TK2MSFTNGP02.phx.gbl...
>> > Hello everyone,
>> >
>> > I notice a bunch of log_nnn.trc files on my C:\Program Files\Microsoft
>> > SQL
>> > Server\MSSQL.1\MSSQL\LOG folder. The file size keeps increasing.
>> > However, I cannot find any instance of SQL Server Profiler is running.
>> > And nobody ran profiler at all. I notice the same on other SQL
>> > Servers.
>> >
>> > Anyone know how these traces initiated? How to disable them?
>> >
>> > Thank you in advance!
>> >
>> > Donald
>> >

>>
>>
>>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h16.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11599 seconds with 14 queries