Microsoft SQL Server (local) extension

  • Latest Dynatrace
  • Extension
  • Published Oct 27, 2025

Improve the health and performance monitoring of your Microsoft SQL Servers.

Get started

Overview

Microsoft SQL Server database monitoring is based on a local monitoring approach implemented as a Dynatrace OneAgent extension. The extension uses WMI queries to collect key performance and health metrics from the SQL Server instance running on the host, extending your visibility.

Use cases

  • Understand the resource impact that your applications have on your database.
  • Understand the impact of resource shortages, locks or other database issues have on your application by observing the database server itself.
  • Track health and performance of the MS SQL servers.
  • Speed up the application problem diagnosis, where it’s caused by the database.

Compatibility information

Supported versions of SQL Server:

Any version of SQL Server with active extended support by Microsoft is supported by this extension. Please refer to the official Microsoft documentation about lifecycle dates for SQL Server.

Supported types of SQL Server:

  • SQL Server on Windows (editions: Enterprise, Standard, Developer)

Warnings:

  • If you have several instances on the same host, this extension could cause additional CPU utilization. For now, please use the Remote SQL Server extension in such scenarios.
  • Versions 1.1+ of the extension and later are incompatible with the verson 1.0 or the ones released earlier.

Activation and setup

  • Make sure OneAgent is installed and running on the SQL Server host.
  • Make sure that log monitoring is enabled to be able to troubleshoot the monitoring.
  • Activate the extension from the Hub.

Feature sets

When activating your extension using monitoring configuration, you can limit monitoring to one of the feature sets. To work properly the extension has to collect at least one metric after the activation.

In highly segmented networks, feature sets can reflect the segments of your environment. Then, when you create a monitoring configuration, you can select a feature set and a corresponding ActiveGate group that can connect to this particular segment.

All metrics that aren't categorized into any feature set are considered to be the default and are always reported.

A metric inherits the feature set of a subgroup, which in turn inherits the feature set of a group. Also, the feature set defined on the metric level overrides the feature set defined on the subgroup level, which in turn overrides the feature set defined on the group level.

Latches
Metric nameMetric keyDescription
Latch waitssql-server.local.latches.waits.countNumber of latch requests that could not be granted immediately
Locks
Metric nameMetric keyDescription
Lock waitssql-server.local.locks.waits.countNumber of lock requests that required the caller to wait
Deadlockssql-server.local.locks.deadlocks.countNumber of lock requests that resulted in a deadlock
Buffer Manager
Metric nameMetric keyDescription
Buffer cache hitsql-server.local.buffers.cacheHitRatioPercentage of pages found in the buffer cache without having to read from disk
Checkpoint pagessql-server.local.buffers.checkpointPages.countNumber of pages flushed to disk by a checkpoint or other operations that require all dirty pages to be flushed
Page life expectancysql-server.local.buffers.pageLifeExpectancyNumber of seconds a page will stay in the buffer pool without references
Queries
Metric nameMetric keyDescription
Batch requestssql-server.local.sql.batchRequests.countNumber of Transact-SQL command batches received
SQL compilationssql-server.local.sql.compilations.countNumber of SQL statement compilations
SQL re-compilationssql-server.local.sql.recompilations.countNumber of SQL statement re-compilations
default
Metric nameMetric keyDescription
Processes blockedsql-server.local.general.processesBlockedNumber of currently blocked processes
Transactionssql-server.local.general.transactionsNumber of transaction enlistments (local, dtc, and bound)
User connectionssql-server.local.general.userConnectionsNumber of users currently connected to SQL Server
Access Methods
Metric nameMetric keyDescription
Page splitssql-server.local.accessMethods.pageSplits.countNumber of page splits that occur as a result of overflowing index pages
Memory
Metric nameMetric keyDescription
Connection memorysql-server.local.memory.connectionTotal amount of dynamic memory the server is using for maintaining connections
Memory grants outstandingsql-server.local.memory.grantsOutstandingNumber of processes that have successfully acquired a workspace memory grant
Memory grants pendingsql-server.local.memory.grantsPendingNumber of processes waiting for a workspace memory grant
Target server memorysql-server.local.memory.targetAmount of memory that can be consumed by memory manager
Total server memorysql-server.local.memory.totalAmount of memory the server has committed using the memory manager
Related tags
DatabaseSQLMSSQLMicrosoftApplication Observability