I have some databases with corrupt mdf and my C dive on the SQL server is getting maxed out with error dump files,
I am not asking how to troubleshoot why these files are being created, I already know what the problem is, why they are being created and what I need to do to correct the underlying issue.
what I would like to know is how to prevent or limit the creation and retention of these dump files so they don't max out my C drive while I am doing repairs
thanks
Best Answer
You should limit your error log size. According to support, you can accomplish this by executing on the target instance the following script:
Another thing you might want to check is where you have your TempDB stored. If it's on C drive, than perhaps you should move it to another drive.
If you'te getting memory minidumps due to crashes of the database engine, than you should follow Dan Guzman's suggestion and create a script to move or delete them.