Solved

SQL 2008 Trace Logs - Change Retention and File Size

Posted on 2015-01-07
2
231 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
2 Comments
 
LVL 46

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 42

Accepted Solution

by:
EugeneZ 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to SQL Trace a SPECIFIC query 24 59
SQL Query 2 43
Need help debbuging stored procedure 21 34
Removing SQL Replication from Microsoft SQL Server 2008 R2 2 21
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now