+1.604.807.7068 Vancover, Canada | +1.206.923.9676 Seattle, USA | +44.020.3239.8686 London, UK | +86.1358.161.6375 Beijing, China   
Home  info@primeobjects.com   
Products & Features Consulting Partners Blog and Communitiy About Us
Products & Features Consulting Partners Blog & Community About Us Sign up, 14 days free Login >>
Developer Updates

PrimeObjects is an advanced web-based business operation system. It works like a web based Windows 7 and provides all fundamental platform features needed by any web based enterprise applications such web based desktop, web based form, web based list, web based file explorer, enterprise level security, content management, document management, record management, workflow and many more. Built on comprehensive enterprise web application platform, PrimeObjects CRM, e-commerce, web 2.0 and other business solutions maintain consistent user experience and highest level of information integration. The all-in-one solution sharing the common data structure and common user interface promises the best information management practices.


Subscribe to Current Posts [RSS Feed]
Subscribe to Latest Posts [RSS Feed]

Bookmark and Share

Sunday, December 06, 2009

SQL Server Trace File may eat up more than 300GB hard drive space

Source: Developer Updates
Tags: 

I noticed that my SQL Server box ran out of space today. And the Microsoft SQL Server folder is as big as 350GB, however I know I have no my database files saved there. So what is using up more that 300GB space in this folder? Eventually I found tons of audittrace**.trc files in the folder below. After deleting them all, more than 300GB space came back. 

C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA

Now the question is how can we disable this auditing feature in SQL Server? I ran the following script but it did not help.

Exec sp_configure 'show advanced options', 1
GO
RECONFIGURE;
GO
Exec sp_configure 'default trace enabled',0
GO
RECONFIGURE;

Then I went to the Server property dialog ->Security Setting, noticed the Login Auditing has Both Failed & Success Login turned on, change it back to only audit failed logins. and unchecked Enable C2 Audit Tracing. They were both not on the default settings. And the above two changes finally helped.

posted by Gary Zhang @ 08:35:36 PM   0 Comments
Email the article to a friend
Add comment to the article.


Favorite Links


    © Copyright 2009 PrimeObjects.com. All Rights Reserved. | Security Statement | Privacy Statement