dbTalk Databases Forums  

sql profiler writing on an unused partition?

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


Discuss sql profiler writing on an unused partition? in the microsoft.public.sqlserver.tools forum.



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

Default sql profiler writing on an unused partition? - 01-26-2009 , 03:16 AM






hi,

i am running sql server 2005 profiler on a system, where not much space is
left on c:\. that way i have configured profiler to write all files on d:\,
which is more suitable here. however i clearly can see that c: is somehow
affected as space is getting less and less here. as soon as the profiler is
stopped and restarted - space is facing the same size as in the beginning on
c:\.

i am wondering, why it is like this in order to "disable" it. errorlog is
facing the same size; the same for eventlogs...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss


Reply With Quote
  #2  
Old   
Carlos Sacristan
 
Posts: n/a

Default RE: sql profiler writing on an unused partition? - 01-26-2009 , 03:54 AM







Are you sure that the problem is SQL Profiler? How do you create the trace
files (with sp_trace_create or maybe Profiler is running?)


--
--
Un saludo
-------------------------------
www.navento.com
Servicios de Localización GPS


"Fritz Theiss" wrote:

Quote:
hi,

i am running sql server 2005 profiler on a system, where not much space is
left on c:\. that way i have configured profiler to write all files on d:\,
which is more suitable here. however i clearly can see that c: is somehow
affected as space is getting less and less here. as soon as the profiler is
stopped and restarted - space is facing the same size as in the beginning on
c:\.

i am wondering, why it is like this in order to "disable" it. errorlog is
facing the same size; the same for eventlogs...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss


Reply With Quote
  #3  
Old   
Fritz Theiss
 
Posts: n/a

Default RE: sql profiler writing on an unused partition? - 01-26-2009 , 04:09 AM



thx so far.

to answer the questions:

1) well, i do run sql profiler, nothing with sp_trace_create.
2) yes, i am sure - as soon as profiler is stopped, space on c:\ gets freed.

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss



"Carlos Sacristan" wrote:

Quote:
Are you sure that the problem is SQL Profiler? How do you create the trace
files (with sp_trace_create or maybe Profiler is running?)


--
--
Un saludo
-------------------------------
www.navento.com
Servicios de Localización GPS


"Fritz Theiss" wrote:

hi,

i am running sql server 2005 profiler on a system, where not much space is
left on c:\. that way i have configured profiler to write all files on d:\,
which is more suitable here. however i clearly can see that c: is somehow
affected as space is getting less and less here. as soon as the profiler is
stopped and restarted - space is facing the same size as in the beginning on
c:\.

i am wondering, why it is like this in order to "disable" it. errorlog is
facing the same size; the same for eventlogs...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss


Reply With Quote
  #4  
Old   
LeoPasta
 
Posts: n/a

Default Re: sql profiler writing on an unused partition? - 01-26-2009 , 04:25 AM



Have you modified the %TEMP% and %TMP% environment variable to point to D:?
If not, might be worth a try.
Right Click in My Computer -> Properties -> Advanced -> Environment
Variables

--
Regards,
LeoPasta - http://sqlblogcasts.com/blogs/leopasta/default.aspx

"Fritz Theiss" <FritzTheiss (AT) discussions (DOT) microsoft.com> wrote

Quote:
hi,

i am running sql server 2005 profiler on a system, where not much space is
left on c:\. that way i have configured profiler to write all files on
d:\,
which is more suitable here. however i clearly can see that c: is somehow
affected as space is getting less and less here. as soon as the profiler
is
stopped and restarted - space is facing the same size as in the beginning
on
c:\.

i am wondering, why it is like this in order to "disable" it. errorlog is
facing the same size; the same for eventlogs...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss




Reply With Quote
  #5  
Old   
Fritz Theiss
 
Posts: n/a

Default Re: sql profiler writing on an unused partition? - 01-26-2009 , 04:36 AM



no, i did not as it was not necessary: two files are in %tmp% and %temp%
(both sharing the same physical location), but they are of size 0 bytes.

this does not seem to be the problem...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss



"LeoPasta" wrote:

Quote:
Have you modified the %TEMP% and %TMP% environment variable to point to D:?
If not, might be worth a try.
Right Click in My Computer -> Properties -> Advanced -> Environment
Variables

--
Regards,
LeoPasta - http://sqlblogcasts.com/blogs/leopasta/default.aspx

"Fritz Theiss" <FritzTheiss (AT) discussions (DOT) microsoft.com> wrote in message
newsC2C67A0-9CFF-4404-8D24-49F019C8D40D (AT) microsoft (DOT) com...
hi,

i am running sql server 2005 profiler on a system, where not much space is
left on c:\. that way i have configured profiler to write all files on
d:\,
which is more suitable here. however i clearly can see that c: is somehow
affected as space is getting less and less here. as soon as the profiler
is
stopped and restarted - space is facing the same size as in the beginning
on
c:\.

i am wondering, why it is like this in order to "disable" it. errorlog is
facing the same size; the same for eventlogs...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss





Reply With Quote
  #6  
Old   
Tibor Karaszi
 
Posts: n/a

Default Re: sql profiler writing on an unused partition? - 01-26-2009 , 06:26 AM



Profiler uses some temp directory. AFAIK, this is the same as where
you point Windows TMP or TEMP to. I strongly encourage you to do
server side tracing instead of profiler.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Fritz Theiss" <FritzTheiss (AT) discussions (DOT) microsoft.com> wrote in
message newsC2C67A0-9CFF-4404-8D24-49F019C8D40D (AT) microsoft (DOT) com...
Quote:
hi,

i am running sql server 2005 profiler on a system, where not much
space is
left on c:\. that way i have configured profiler to write all files
on d:\,
which is more suitable here. however i clearly can see that c: is
somehow
affected as space is getting less and less here. as soon as the
profiler is
stopped and restarted - space is facing the same size as in the
beginning on
c:\.

i am wondering, why it is like this in order to "disable" it.
errorlog is
facing the same size; the same for eventlogs...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss




Reply With Quote
  #7  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: sql profiler writing on an unused partition? - 01-26-2009 , 04:54 PM



Fritz Theiss (FritzTheiss (AT) discussions (DOT) microsoft.com) writes:
Quote:
no, i did not as it was not necessary: two files are in %tmp% and %temp%
(both sharing the same physical location), but they are of size 0 bytes.

this does not seem to be the problem...
That may be because they are open for writing, so the real size does not
display.

If you are short on space on C, you should change TEMP and TMP anyway.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #8  
Old   
Dan Guzman
 
Posts: n/a

Default Re: sql profiler writing on an unused partition? - 01-27-2009 , 07:03 AM



Quote:
1) well, i do run sql profiler, nothing with sp_trace_create.
OMHO, you *should* use a server side trace and manage with the sp_trace_*
stored procedures if you have a lot of data being traced. You can use the
Profiler GUI to script the trace and/or to display the trace data afterward.
See
http://weblogs.sqlteam.com/dang/arch...-Profiler.aspx
for more information.

--
Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Fritz Theiss" <FritzTheiss (AT) discussions (DOT) microsoft.com> wrote

Quote:
thx so far.

to answer the questions:

1) well, i do run sql profiler, nothing with sp_trace_create.
2) yes, i am sure - as soon as profiler is stopped, space on c:\ gets
freed.

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss



"Carlos Sacristan" wrote:


Are you sure that the problem is SQL Profiler? How do you create the
trace
files (with sp_trace_create or maybe Profiler is running?)


--
--
Un saludo
-------------------------------
www.navento.com
Servicios de Localización GPS


"Fritz Theiss" wrote:

hi,

i am running sql server 2005 profiler on a system, where not much space
is
left on c:\. that way i have configured profiler to write all files on
d:\,
which is more suitable here. however i clearly can see that c: is
somehow
affected as space is getting less and less here. as soon as the
profiler is
stopped and restarted - space is facing the same size as in the
beginning on
c:\.

i am wondering, why it is like this in order to "disable" it. errorlog
is
facing the same size; the same for eventlogs...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss



Reply With Quote
  #9  
Old   
Fritz Theiss
 
Posts: n/a

Default Re: sql profiler writing on an unused partition? - 01-27-2009 , 11:04 AM



i figured the problem out:

the environment variables of the user pointed to c:\. here i could find
..tmp-files with a size of more than 4 gb. as soon as profiler was ended these
files passed by.

i now configured these user environment variables to another partition...

--
thanks in advance / danke im voraus, fritz
--
Fritz Theiss



"Erland Sommarskog" wrote:

Quote:
Fritz Theiss (FritzTheiss (AT) discussions (DOT) microsoft.com) writes:
no, i did not as it was not necessary: two files are in %tmp% and %temp%
(both sharing the same physical location), but they are of size 0 bytes.

this does not seem to be the problem...

That may be because they are open for writing, so the real size does not
display.

If you are short on space on C, you should change TEMP and TMP anyway.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



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.