Auto growth event collector


Job details

Name: Auto growth event collector
Platform: Sqlserver
Category: Capacity
Description: Collects statistics on how often an auto-growth event has occurred.
Long description: By knowing which databases are performing auto-growth events allows you to adjust those database file growth properties so they will perform auto-growth events less frequently.
Version: 1.11
Default schedule: 12 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version > ‘2000′ & hasengine=‘YES’ & engine_edition = ‘Microsoft SQL Server’ & eng_inst_priv = 0]

Parameters

Name Default value Description
history threshold 60 The number of days before the history record will be removed from the history table.
max objects per graph 5 The maximum number of objects visualized in the report graphs.

Job Summary

SELECT event_name, database_id, COUNT(*) as event_count FROM fn_trace_gettable('trace_file', DEFAULT) GROUP BY event_name, database_id;

Detailed Description

Dependencies and Tables

Implementation and SQL Scripts

Reports and Monitoring

Automations and Maintenance

Benefits