Database growth rate (aggregated)


Job details

Name: Database growth rate (aggregated)
Platform: Sqlserver
Category: Capacity
Description: Collects size of all database files (including transaction log files) to visualize the growth rate for all databases.
Long description:
Version: 1.2
Default schedule: 15 4 5 *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version = ‘2000′ & hasengine=‘YES’ & eng_inst_priv = 0 & (engine_edition = ‘Microsoft SQL Server’ engine_edition = ‘Azure SQL Managed Instance’)]

Parameters

Name Default value Description
min histr interval 360 The minimum number of minutes before a new history record will be collected in the history table.

Job Summary

SELECT dbid, name, filename, ROUND(size*8/1024.0, 1) AS size FROM master.dbo.sysaltfiles ORDER BY dbid;

Job Configuration Details

Dependencies and Execution

Reporting and Visualization

Scheduled Operations

Upgrade and Maintenance

Implementation Code

This job configuration effectively helps database administrators monitor and manage the growth of databases on SQL Server platforms, particularly on legacy systems akin to SQL Server 2000, as well as on modern managed solutions like Azure SQL Managed Instances.