Solved

ERRORLOG file too big

Posted on 2014-04-15
1
277 Views
Last Modified: 2014-04-15
The file @
 D:\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG
 file is 52 GB.
 
but the error log files for each reboot- they are small.
 D:\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG.1... D:\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG.6 are small (only few MBs or even less)

what is the big file.. and how can i reduce its space?

thanks.
0
Comment
Question by:25112
1 Comment
 
LVL 69

Accepted Solution

by:
Scott Pletcher earned 500 total points
ID: 40001979
EXEC sp_cycle_errorlog

will force SQL to archive that log and start a new one.
0

Featured Post

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql query with where clause 2 45
Disable TLS1.0 on Win 2012 server 7 55
SQL Server Shrink hurting performance? 4 37
Checking for column changes SQL 2014 4 16
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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