Uses Server and database audit to track SELECT statements. First Create a Server audit: [crayon-5b0b067c041a5845868833/] Then a database specific Audit based on this server audit: (in this case on the Database: WideworldImporters, schema “Sales” and table: “Customers” [crayon-5b0b067c041ae793174471/] Then setup the custom metric: Read more
The metric is a necessary step in order to achieve the key purpose of this metric, which is to create an alert that will be raised when something is added to the schema, or the existing schema is modified. Read more
What are custom metrics?
The SQL Monitor custom metric feature lets you run T-SQL queries against your SQL Servers to collect specific data. You can analyze and receive alerts about your custom data just like everything else SQL Monitor collects.
But what if you don’t want to write your own queries? No problem. Redgate has brought together a range of quality custom metrics for you to use in SQL Monitor, which are all are free, tried and tested. You can install straight away, and use the resources on this site to help you write your own.
This metric returns the number of non-Microsoft modules loaded into the SQL Server address space. Having a lot of modules loaded into the address space can cause performance issues in SQL Server. This metric lets you keep an eye on how many modules you have, other than those created by Microsoft. Thanks to Nicolaas Botes for […] Read more
This metric and alert will notify you when a SQL Server instance is restarted for any reason. The value returned by the metric is not useful on its own, and is only used by the alert to detect changes. When the server has not been restarted it will report 0 , and when the server […] Read more