
SQL DBA Tools: Sudden Performance Drops via Parameter Sniffing
August 6, 2026

A simple query you can run within the master database on any Azure SQL Server to view all server connections that failed — with enough detail for a DBA to generally find the root cause.
Here is a simple query you can run within the master database on any Azure SQL Server to view all server connections that failed. The details about the connection failure are not too specific, but a DBA can use it to generally find the root cause.
SELECT
database_name
, start_time
, end_time
, event_category
, event_type
, event_subtype
, event_subtype_desc
, severity
, event_count
, description
FROM master.sys.event_log
WHERE event_type = 'connection_failed'
ORDER BY start_time DESCThe sys.event_log view is specific to Azure SQL Database and is not available on SQL Server on-premises. It retains events for approximately 30 days. For longer retention, consider routing logs to Azure Monitor or a Log Analytics workspace.
Datazip provides expert Azure SQL monitoring and managed DBA services. Call 1-833-DATAZIP or visit www.SQLBrainBox.com for our monitoring tool.
Datazip provides 24/7 managed backup monitoring, encryption, and Azure Recovery Vault setup. US-based engineers, fluent in T-SQL.