Large MSSQL Transaction Log

If your MSSQL database transaction log is several GB chances are you are running your database in Full recovery mode instead of Simple mode. This means that the transaction log can be used to restore the database if need be, so the transaction log will grow whenever the database is populated.  This article will show you how to move back to Simple mode and free up the space that the transaction log is using  if you are not planning on using the transaction log to restore the database

  1. Log into your server by connecting to the server via MSSQL Management tools.

  2. Locate the database you need to make the change to and right click on it and goto "Properties".

  3. Scroll down to "Options" and check the recovery mode option. Likely if your transaction log is very large, then the database is in "Full" mode. Change this to "Simple" and save the changes.

  4. Now MSSQL will only log changes to the transaction log instead of loggin everything to the transaction log. You can also truncate the log if you choose to or remove it and add a new transaction log file.