How to change the SOLIDWORKS PDM Database Recovery Model
Article by Justin Williams updated March 20, 2020
Article
With SOLIDWORKS PDM Professional, SOLIDWORKS PDM Standard, and SQL Management Studio by default within Microsoft SQL, the recovery model option for any new databases is set to full. In some instances this can cause problems later as the full recovery model; causes the transaction log to grow exponentially as regular database backups are captured. We have seen instances in the past where the transaction log continually grows to a point where it’s consumed all the available disk space and causes performance issues within SQL and the vault. If you are backing up the vault DB daily we recommend the recovery model is set to simple, to prevent the transaction log from getting too large.
How to verify and change the Recovery Model option of the DB
- Log in to the SQL Server Management Studio using the sa (system administrator) account;
- Expand the Databases folder
- Select the vault DB
- Right-click > Properties;
- Select the vault DB
- Select Options and the Recovery Model should be listed;
- And if necessary, we can switch it from Full to Simple via the drop-down, then hit OK;
NOTE: These recommendations are based on the SOLIDWORKS PDM uses of SQL when regular backups are performed. More information regarding the Recovery Model and transaction log options can be found within the SQL documentation.
If your Recovery Model has been set to full for some time, and you’d like to clear up some storage space; a shrink of the transaction log may be required.
Related Links
Want to do more with SOLIDWORKS PDM?
Our Certified SOLIDWORKS PDM Experts can help you to: