Author |
Topic |
Chap
Starting Member
30 Posts |
Posted - 2011-04-06 : 10:24:04
|
Can the SQL Server Profiler - trace data files be removed from the C:\Program Files\Microsoft SQL Server\MSSQL\LOG folder? Our company likes to keep minimul space on the C drive and we are running into a space issue.George |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
Chap
Starting Member
30 Posts |
Posted - 2011-04-06 : 13:30:31
|
Thanks Tara,They are actually taking up about 20,480 KB each trace. I was wanting to be sure that moving them would do no harm.ThanksGeorge |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2011-04-06 : 16:10:56
|
Those are the default trace files. There will be no more than 5 files of 20 MB each. They will always go into the error log directory. Leave them where SQL creates them, otherwise it won't be able to clean them up, and some of the SSMS built-in reports will start breaking.If you don't want them there, move the error log directory itself. It's very likely that the error log files will be bigger than the default trace is in total.--Gail ShawSQL Server MVP |
 |
|
Chap
Starting Member
30 Posts |
Posted - 2011-04-07 : 09:03:50
|
Yes move the entire directory. There are mdmp files which I think is where the problem lies. With that said if we move the directory to another dirve will this be ok?Sorry for the slow response, got tied up and couldn't get back yesterdayThanksGeorge |
 |
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2011-04-07 : 09:58:55
|
If you just move the directory, SQL will break spectacularly.You need to change where SQL writes the error logs. Have a look in Books Online for details on how to change the error log location.p.s. Mdmp files mean either data corruption or access violations. Either are serious problems that need to be investigated and resolved, not ignored.--Gail ShawSQL Server MVP |
 |
|
Chap
Starting Member
30 Posts |
Posted - 2011-04-07 : 10:56:21
|
Thanks Gail and Tara for all your help. I have checked into the Mdmp files and soon realized these are serious. We will be looking into this soon. In the meantime I will check books online about changing the error log location.Again thanks to you both for your help.George |
 |
|
|