Metrics install automatically if you have Redgate Monitor installed.
If you are using Redgate’s SQL Server monitoring tool, Redgate Monitor, you can instantly install and run this metric on your servers.
This metric is useful if you want to know exactly how much physical space a particular table is taking up, including the size of its indexes. If a database is growing quickly within a short time and you suspect a certain table is responsible, you can monitor its actual size, or the rate at which it is increasing.
If you have a particularly large table affecting performance, you may consider:
- Carrying out index maintenance – see http://www.mssqltips.com/sqlservertip/1339/sql-server-index-maintenance-checklist/
- Data partitioning – see http://www.mssqltips.com/sqlservertip/1200/handling-large-sql-server-tables-with-data-partitioning/
Metric definition
Name
Table size (MB)
Description
The size in Megabytes of a specific table.
The T-SQL query that will collect data
Instances to collect from
the instance that contains the database you’re interested in
Databases to collect from
the database that contains the table you’re interested in
Collection frequency
3600
Use collected or calculated values
Leave the Use a calculated rate of change between collections check box unchecked
Metric collection
Enabled
Alert definition
Alert name
Table size
Description
Raise an alert when the metric value goes
above the defined threshholds
Default threshold values
High: | 2000 |
Medium: | 1000 |
Low: | 10 |
Note: These thresholds are intended as guideline values. If they seem too high or too low for your environment, replace them with values more suited to your server performance.
Raise an alert when the threshold is passed for
1 collection
Alert is
Enabled