Solved

SQL 2008 Trace Logs - Change Retention and File Size

Posted on 2015-01-07
2
242 Views
Last Modified: 2015-01-13
I have a single SQL 2008 Standard Server. A lot of Auditrace files are being created. There is currently no retention policy and the files role over at 5MB.

How would I change the retention policy for my audittrace files?
0
Comment
Question by:First Last
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40537884
I don't think there's a retention policy for the files. You need to clean it manually or write a script and schedule it to do it automatically.
0
 
LVL 43

Accepted Solution

by:
Eugene Z earned 500 total points
ID: 40539278
are you sure they are audit?
if 'yes'  and you do not need them

you can disable C2 audit using this code:

EXEC sp_configure 'c2 audit mode', 0
go
reconfigure with override

--
see more
c2 audit mode Option
http://technet.microsoft.com/en-us/library/ms187634(v=sql.105).aspx

The C2 Audit trace for SQL server 2005 and SQL 2008 R2
http://www.experts-exchange.com/Database/MS-SQL-Server/Q_28071655.html
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question