How to shrink the MSSQL transaction log

In this guide I’m going to go through the process of shrinking an MSSQL database transaction log.

Shrinking your transaction log will allow you to make more space within your database without removing any of the data stored within the tables.

Another handy guide is changing the MSSQL quota


Steps

    • First open MSSQL Server Management Studio and connect with the appropriate hostname, username and password for the database you wish to shrink.
    • Then expand Databases.
    • Then right click the database and navigate to Tasks > Shrink > Files
    • Select OK and that should shrink your transaction log. If your log is big please allow a few seconds for this to complete.

Rate this post 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

This entry was posted in Databases, General, MS SQL, Tips & Tricks, Tutorials. Bookmark the permalink.

Leave a Reply

Please DO NOT use this form to submit support requests, all information submitted will be PUBLICLY VISIBLE.

Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.