Percentage of ad-hoc queries

6,130 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,539 0
Uses Server and database audit to track SELECT statements. First Create a Server audit: [crayon-662346d408193745535718/] Then a database specific Audit based on this server audit: (in this case on the Database: WideworldImporters, schema “Sales” and table: “Customers” [crayon-662346d40819c036566659/] Then setup the custom metric: Read more

Database user added

3,662 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

4,841 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-662346d4084fc315198573/] Read more