Unix Technical Forum

questions on SQL Profiler

This is a discussion on questions on SQL Profiler within the SQL Server forums, part of the Microsoft SQL Server category; --> I am using SQL Profiler to monitor one of my database. The temporary trace file is stored under C:\Documents ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 02:53 PM
akkha1234@gmail.com
 
Posts: n/a
Default questions on SQL Profiler

I am using SQL Profiler to monitor one of my database.
The temporary trace file is stored under C:\Documents and Settings\user
\Local Settings\Temp
by default. Is it possible to re-configure it to place to another
location as the file become huge after some time.

Thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 02:53 PM
WCMassey@gmail.com
 
Posts: n/a
Default Re: questions on SQL Profiler

On Apr 17, 2:26 pm, "akkha1...@gmail.com" <akkha1...@gmail.com> wrote:
> I am using SQL Profiler to monitor one of my database.
> The temporary trace file is stored under C:\Documents and Settings\user
> \Local Settings\Temp
> by default. Is it possible to re-configure it to place to another
> location as the file become huge after some time.
>
> Thanks


Are you using SQL 2k or SQL 2k5? In SQL 2005, in the New Trace dialog,
there is a "save to file" option, where you can specify the drive to
log trace data to.

Alternatively, if you're doing the trace programmatically, you can set
a param to denote location to save trace to.

Chadd

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 02:53 PM
Erland Sommarskog
 
Posts: n/a
Default Re: questions on SQL Profiler

akkha1234@gmail.com (akkha1234@gmail.com) writes:
> I am using SQL Profiler to monitor one of my database.
> The temporary trace file is stored under C:\Documents and Settings\user
> \Local Settings\Temp
> by default. Is it possible to re-configure it to place to another
> location as the file become huge after some time.


You can change the TEMP and TMP environment variables in the System
applet in the Control Panel. (Under the Advanced tab.)


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-01-2008, 02:53 PM
akkha1234@gmail.com
 
Posts: n/a
Default Re: questions on SQL Profiler

Changing the location of trace file does not serve the purposes.
Changing the TMP is the answer and you have to log off and then login
to make it to be effective for profiler.
Thanks for both of you anyway for the prompt response. Now I know a
bit more about the windows environment.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com