FastReactPlan_-_Data_Base_Shrinking
Article Public Number: KA-01545
Coats Digital Knowledge Article
Product: FastReactPlan
Purpose & Scope:
How to shrink an existing DB and how to set auto-shrinking
Solution:
Auto Shrink
The database MUST be set to Auto Shrink. This can be found by right clicking on the DB instance in SQL Server Management Studio and selecting Properties –> Options. This Auto Shrink setting must be set to TRUE. If it is set to False then correct this by hanging it to TRUE and saving it.
Auto Close
The next thing to check is that the Auto Close option is set to false. This can be found by right clicking on the DB instance in SQL Server Management Studio and selecting Properties –> Options:

Shrinking
Performance and data issues can occur when the TRANSACTION LOG file becomes excessively larger. This large log file can also inhibit the backing up and/or upload of the database to the FastReact Upload database site.
In order to correct this there are number of things that can be done on the SQL database:
Shrink the database Log File.
To do this right click on the DB instance in SQL Server Management Studio and select Tasks, then Shrink and finally Files:
This will display the Shrink File dialogue. From the File type drop down select Log:
Clicking on OK will free up this space.
The final stage is to Reorganise and Shrink the physical file to a more manageable size:
Shrink Database
The last step in the Shrinking exercise is to shrink the whole DB. With any luck, the shrinking and resizing of the Log file will already have shrunk and freed up any space on the database.
To check, right click on the DB instance in SQL Server Management Studio and go to TASKS – SHRINK – DATABASE


If, like the above screenshot the Available free space is 0.00MB (0%), then there is nothing to shrink. If there is a percentage to shrink then clicking on OK will initiate the shrinking.
Outcome:
Brief description of what should be possible once the task is completed/issue is addressed.
Further reading:
Links to related articles