SqlBLT released as open source

SqlBLT released as open source
img SQLBench Releases |  02-Dec-2026

We are proud to announce the release of SqlBLT as a free, open source project on GitHub, under the MIT licence.

SqlBLT logs Blocked queries, Long running queries and Top blockers in SQL Server, along with their query plans and system performance metrics.

SqlBLT also de-parameterizes, aggregates and archives logged data on a configurable schedule.

The SqlBLT Portal app and API reveal sources of blocking and long running queries to humans and AI agents.

  • Every 10 seconds (configurable), the query requests that are blocked by another request (B), long running and not involved in blocking (L), or top blockers, the head of a blocking chain (T).
  • What each request waits for and for how long, with its statement text and query plan, CPU utilisation, reads, writes and wait time.
  • Performance metrics for correlation with the BLT data: wait statistics, SQL Server performance counters, CPU, memory, schedulers, sessions, tempdb, and file IO per database.
  • SQL Server's missing index recommendations and the query optimizer's plan warnings.

Statements and query plans are de-parameterised into templates, so that requests aggregate by template rather than by unique text.

The logged samples are aggregated by second, minute, hour and day. Retention is configurable for the samples and for each aggregate.

The SqlBLT Portal is one self-contained file for Windows, which needs no installation and no runtime. It runs as a desktop app, as a Windows service, or as a web site under IIS.

Its TopX report shows the top statements by wait time, with the metrics below. Choose Blocked, Long Running or Top Blockers, and filter by Database, Application, Host, Login, Wait Type or Resource, for a specific or relative time frame.

SqlBLT Portal - the TopX report

The Timeline report shows the top blockers as swim lanes, one expandable lane per top blocker.

Drag over the time axis to zoom the whole report to one blocking event: the request's timeline, its statement and its plan.

SqlBLT Portal - the Timeline report, zoomed to one blocking event

A green leaf marks a statement or a request for which SQL Server recommends a missing index. Click the leaf for the statement, the figures SQL Server reported and the index written as a CREATE INDEX statement.

An orange exclamation mark marks a statement or a request whose query plan carries a warning of the query optimizer.

SqlBLT Portal - a missing index recommendation in the TopX report

The Portal's page reads every report through the SqlBLT API, the set of operations under api/v1/. Any other program, a script or an AI agent, calls the same operations with the same results.

Its description, api/v1/openapi.json (OpenAPI 3.1), states how to call it, what the data answers, and every operation, parameter and column.

The Portal and its API read the database through read-only report procedures and never change it.

SQL Server 2016 and later versions are supported, also Azure SQL Database, Azure SQL Managed Instance and AWS RDS.

  • Create a database named SqlBLT, or choose an existing database. A Memory-Optimized filegroup is recommended.
  • Download the script SqlBLT-install.sql and run it in that database.
  • Optionally download SqlBLTPortal.exe, launch it and connect to the SqlBLT database to explore BLT data.
  • Optionally connect your AI agent to the SqlBLT API.

The files of this release, 20261130.1.2, are on its Release page on GitHub.

The SqlBLT Guide, the SqlBLT Deployment document and the SqlBLT Database document describe installation, security, configuration and the data model.