Overview
GFI LanGuard enables you to work with Microsoft SQL Server as database back end. At times your database can grow and take up a large amount of storage space on the server's hard disk. This article provides steps to adjust the database limit for each SQL Server Express version.
Note
- Using the free Express edition of SQL Server can limit how large your database files can be. SQL Server Standard Edition has an upper limit of 524 Petabytes, but it is not free.
- If your database reaches the limit of your SQL Server Express version, you will begin to experience errors due to the inability of the database tables to accept new data.
The following is a list of SQL Server Express versions and their size limits:
- Microsoft SQL Server 2000 Desktop - 2 GB
- Microsoft SQL Server 2005 Express edition has a database size limit to 4GB
- Microsoft SQL Server 2008 Express edition has a database size limit to 4GB
- Microsoft SQL Server 2008 R2 Express edition has a database size limit to 10GB
- Microsoft SQL Server 2012 Express edition has a database size limit to 10GB
- Microsoft SQL Server 2014 Express edition has a database size limit to 10GB
- Microsoft SQL Server 2016 Express edition has a database size limit to 10GB
This guide will provide information on how to maintain the size of the database and avoid database limitation issues.
Process
- Delete old scans manually or automatically:
- To delete Manually
- Click the Configuration tab.
- Select Database Maintenance Options.
- Select Manage Scan Results.
- Delete old and unneeded scans.
- To delete automatically:
- Click the Configuration tab.
- Database Maintenance Options.
- Select Manage Retention Policy.
- Set the retention policy that fits your needs.
- To delete Manually
- Clean up your Database. To clean-up your database, there are two options.
- Option 1
- Go to Configuration > Database Maintenance Options > Manage Scan Results… and delete all scans.
- Go to Configuration > Database Maintenance Options > Database backend settings… And provide a new path and name for your new database. The new database is automatically created for you. For more information, you can refer to Creating a New SQL Database in GFI LanGuard.
- Option 2
- Go to Configuration.
- Database Maintenance Options.
- Click Database backend settings…
- Disconnect GFI LanGuard from the database you’ve backed up, and you want to delete, by connecting to another temporary database. You can create a new database by following Creating a New SQL Database in GFI LanGuard.
- Delete the database from the SQL Server using SQL Server Management Studio.
- Go to GFI LanGuard under Configuration > Database Maintenance Options > Database backend settings… and reconnect to the SQL Server.
- Option 1
Confirmation
Your database should regularly free up some space, and you should not be getting size limit errors.