SELECT Statement executed against Classified table

Install metric...

Metrics install automatically if you have SQL Monitor installed.

If you are using Redgate’s SQL Server monitoring tool, SQL Monitor, you can instantly install and run this metric on your servers.

Uses Server and database audit to track SELECT statements.

First Create a Server audit:

Then a database specific Audit based on this server audit: (in this case on the Database: WideworldImporters, schema “Sales” and table: “Customers”

Then setup the custom metric:

SELECT Statement executed against Classified table, 5.0 out of 5 based on 1 rating

Metric definition

Name

SELECT Statement executed against Classified table

Description

Uses Server and database audit to track SELECT statements

The T-SQL query that will collect data

Instances to collect from

Select all

Databases to collect from

Select all

Collection frequency

60

Use collected or calculated values

Leave the Use a calculated rate of change between collections check box unchecked

Metric collection

Enabled

Alert definition

You could add an alert once the baseline for your environment has been established.