Overview
The following error message is displayed in the GFI EventsManager Operation History Pane:
Primary Filegroup Full
This article provides a resolution on how to fix the issue described above.
Environment
- EventsManager 2011
- EventsManager 2010
- EventsManager 8
- All Supported Environments
Root Cause
This error message is displayed when the GFI EventsManager database backend has a size limitation configured on the database and is unable to store any further data within the database.
Resolution
Perform the following solution depending on which version of Microsoft SQL Server is being used.
For Microsoft SQL Server:
- Open Microsoft SQL Server Management Studio.
- Connect to the database server hosting the GFI EventsManager database.
- Expand the Databases node.
- Right-click on the GFI EventsManager database and select Properties.
- Click on the Files node in the left pane.
- Click on the '...' button for the Data file type under Autogrowth.
- Under the Maximum File Size section, check Unrestricted File Growth.
Note: Ensure there is sufficient disk space on the drive where the GFI EventsManager database is stored.
For Microsoft SQL Server Express:
Microsoft SQL Server Express (versions previous to SQL 2008 R2 Express) has a maximum database file size of 4GB. Once the database reaches 4GB in size, no further data can be stored into this database. One will need to determine if the database has reached the maximum file size or a growth restriction has been configured on the database. This can be done by performing the following procedure:
Check if the maximum file size has been reached:
- Open Microsoft SQL Server Management Studio Express.
- Connect to the database server hosting the GFI EventsManager database.
- Expand the Databases node.
- Right-click on the GFI EventsManager database and select Properties.
- Click on the General node in the left pane.
- Under the Database section, check the size of the database. If the 4GB limit has been reached, a new database needs to be created as described below. If the database limit of 4GB has not been reached, proceed to the Change database to use Unrestricted File Growth section.
To configure GFI EventsManager to start using a new database, perform the following:- Open the GFI EventsManager Management Console.
- Click on the Configuration tab and select Options.
- In the right pane, right-click on Database Backend and select Change database backend.
- Enter a new name for the database.
Note: Ensure that another database with that name does not exist. - Click OK to create the new database. GFI EventsManager will now start archiving events to the new database. You will still be able to view events in the old database via the GFI EventsManager Report Center.
Change database to use Unrestricted File Growth:
- Open Microsoft SQL Server Management Studio Express.
- Connect to the database server hosting the GFI EventsManager database.
- Expand the Databases node.
- Right-click on the GFI EventsManager database and select Properties.
- Click on the Files node in the left pane.
- Click on the '...' button for the Data file type under Autogrowth.
- Under the Maximum File Size section, check Unrestricted File Growth.
Note: Ensure there is sufficient disk space on the drive where the GFI EventsManager database is stored.