Percentage of ad-hoc queries

6,797 0
This metric will display the percentage of queries on the server that are ad-hoc queries. A high percentage of ad-hoc queries can indicate that an application is running queries that are not properly parameterized. Read more

SELECT Statement executed against Classified table

3,879 0
Uses Server and database audit to track SELECT statements. First Create a Server audit: [crayon-673f36b94fee3561829980/] Then a database specific Audit based on this server audit: (in this case on the Database: WideworldImporters, schema “Sales” and table: “Customers” [crayon-673f36b94feee988221699/] Then setup the custom metric: Read more

Database user added

3,961 0
This custom metric queries the default trace to find events related to whenever a login is added as a database user to a database. Read more

Space used by database objects

5,173 0
This metric reports the total space used by database files in GB. This includes data files but excludes log files. This lets you track the growth of the databases over time so you can be aware of future space requirements. Alternatively, the following T-SQL can be used for SQL Server 2012 and higher: [crayon-673f36b9502de292419989/] Read more