?
Solved

ERRORLOG file too big

Posted on 2014-04-15
1
Medium Priority
?
284 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 70

Accepted Solution

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

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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

750 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