DBLense SQL Monitor — User Guide

Real-time SQL Server monitoring dashboard. Track active requests, CPU consumers, wait statistics, database sizes, and connection activity — all from a single portable .exe with zero installation.

Getting Started

Double-click DBLenseSQLMonitor.exe — no installation required. A connection dialog appears with four authentication modes:

After connecting, DBLense automatically detects whether the server is on-premises, Azure SQL Database, or Azure SQL Managed Instance, and adjusts its queries accordingly.


Overview Dashboard

The Overview tab provides a high-level snapshot of server health:

All metrics refresh automatically based on your configured interval (default: 10 seconds).

Active Requests

Shows all currently running queries on the server with rich detail:

ColumnDescription
Session ID (SPID)Unique session identifier
StatusRunning, Sleeping, Suspended, etc.
SQL TextThe currently executing query (click to expand)
DurationHow long the request has been running
CPU TimeTotal CPU consumed by this request
Reads / WritesLogical reads and writes
Wait TypeWhat the request is waiting on (if suspended)
Blocking SPIDSession that's blocking this request (if any)
Login / Host / AppWho's running it and from where

Blocked sessions are highlighted in red. You can identify blocking chains by following the Blocking SPID references.


Top CPU Queries

Surfaces the queries consuming the most CPU over the monitoring period. Each entry shows:

Use this to identify CPU-heavy queries that could benefit from index optimization or query rewrite.


Wait Statistics

Aggregated wait stats since last server restart, sorted by total wait time:

Common actionable wait types:

Wait TypeTypical CauseAction
CXPACKET/CXCONSUMERParallelism overheadReview MAXDOP, Cost Threshold
PAGEIOLATCH_*Disk I/O bottleneckAdd indexes, add memory, faster disks
LCK_M_*Lock contentionReview locking queries, add indexes
SOS_SCHEDULER_YIELDCPU pressureOptimize queries, add CPUs
WRITELOGTransaction log I/OFaster log disk, batch transactions

Database Sizes

Visual breakdown of every database on the server:


Connection Monitoring

Track connection distribution across your server:


60-Second History

A rolling 60-second chart showing real-time trends:

This helps identify bursts and correlate performance dips with specific time windows.


Auto-Refresh Settings

Configure the monitoring refresh interval:


Azure Auto-Detection

DBLense SQL Monitor automatically detects Azure environments and adapts:


System Requirements

ComponentRequirement
OSWindows 10/11 or Windows Server 2016+
Runtime.NET 8.0 (or self-contained package)
SQL ServerSQL Server 2016+ (on-premises)
AzureAzure SQL Database, Azure SQL Managed Instance
PermissionsVIEW SERVER STATE
InstallationNone — single portable .exe