Data cache memory usage


Job details

Name: Data cache memory usage
Platform: Sqlserver
Category: Performance
Description: Collects data cache memory usage per database (for top 10 databases).
Long description:
Version: 1.3
Default schedule: 20,50 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version > ‘2000′ & maj_version < ‘2012′ & hasengine=‘YES’ & (engine_edition = ‘Microsoft SQL Server’ engine_edition = ‘Azure SQL Managed Instance’)]

Parameters

Name Default value Description
history threshold 7 The number of days the statistics are hold in the history table.

Job Summary

SELECT db_name_val AS [Database], data_cache_size_val_MB AS [Cache Size (MB)], histr_date AS [Date Recorded] FROM db_cache_mem_usage_tab ORDER BY histr_date ASC;

Job Details and Implementation

Dependencies and Structure

Job Execution Schedule

Reporting and Analytics

Upgrade and Version Management

Utilizing this job, a database administrator can efficiently manage and optimize the database cache which is critical for system performance, ensuring the SQL Server instances run optimally and are proactively managed.