![]() |
How to check the size of the IRIS SQL database and to display data and log space information
Monitor Database and Log Space Use
Microsoft SQL Server Express is only recommended for installations of up to six users.
Connect to an instance of SQL Server and then expand that instance.
Expand Databases.
Right-click the database and select Reports | Standard Reports, and then click Disk Usage.
Express versions of SQL Server have a database size limit of 10GB.
IRIS uses the Simple Recovery Model. Recovery models are designed to control transaction log maintenance.
If the transaction log grows too larger it can be shrunk.
Right-click on the database | Tasks | Shrink | Files
Change the file type from Data to Log.
Click OK (with Release unused space option selected).
Right-click Database | Properties
Select Files.
Scroll across to the autogrowth column (right-hand side).
Next to log file select the Browse icon.
Change options to 50MB, Unlimited and 10% Unlimited.
From the Properties page select Options.
Make sure the Auto Shrink option is set to False.
The main reason for having compatibility levels is to allow for Backward Compatibility that is, if you previously had an older SQL Server 2008 database and restored it on a new SQL Server 2012 instance.
To see the compatibility level of each database:
Further Reading: https://www.spiria.com/en/blog/web-applications/understanding-sql-server-compatibility-lev
In Object Explorer, right-click a server and select Properties.
Click the Memory node.
Under Server Memory Options, enter the amount that you want for Minimum server memory and Maximum server memory.
Use the default settings to allow SQL Server to change its memory requirements dynamically based on available system resources. The default setting for min server memory is 0, and the default setting for max server memory is 2147483647 megabytes (MB).
In Object Explorer, right-click a server and select Properties.
Click the Advanced node.
Under Parallelism, type the desired value for the locks option.
Use the locks option to set the maximum number of available locks, thereby limiting the amount of memory SQL Server uses for them. The default setting for locks is 0.
These are only recommendations, it is up to your own IT support to monitor the settings of the SQL Server Service.