Skip to technology filters Skip to main content
Dynatrace Hub

Extend the platform,
empower your team.

Popular searches:
Home hero bg
Microsoft SQL Server local countersMicrosoft SQL Server local counters
Microsoft SQL Server local counters

Microsoft SQL Server local counters

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

Extension
Free trial
Overview dashboardExtension configurationHost injectionUnified analysis screen metrics 1Unified analysis screen metrics 2Metrics collected
  • Product information
  • Release notes

Overview

Microsoft SQL Server database monitoring is based on a local monitoring approach implemented as a Dynatrace OneAgent extension. The extension collects Windows Performance Counters for key performance and health metrics from the SQL Server instances running on the host.

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.

Get started

Elevated User Permissions

Performance counters can only be collected with a user that is part of the "Performance Monitor Users" group, however The Dynatrace Extensions Execution Controller (EEC) runs python extensions as 'LOCAL SERVICE' by default and so cannot query them.

You need to configure the Dynatrace OneAgent EEC to run this extension with elevated 'LOCAL SYSTEM' account privleges.

  • Add an elevated_privileges_extensions configuration option to the extensionsuser.conf file.
    • Windows: C:ProgramData\dynatrace\oneagent\agent\config\extensionsuser.conf
  • elevated_privileges_extensions should be a comma separated list of extensions to run as 'LOCAL SYSTEM' (instead of the default 'LOCAL SERVICE'). The format is: <extensionName>:<extensionVersion>
    • e.g, elevated_privileges_extensions=[com.dynatrace.extension.python.wmi.mssql:*]

Activation

  • 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 and select the host/s to enable this on

Details

This extension collects performance counter metrics for SQL Server Instances on a host monitored by a Dynatrace OneAgent.

  • This extension is a re-write of the existing local SQL Server extension which used WMI queries.
  • Performance counter queries are batched and much more efficient.

Compatibility information

  • OneAgent 1.305+ (Elevated user permissions)
Dynatrace
By Dynatrace
Dynatrace support center
Subscribe to new releases
Copy to clipboard

Extension content

Content typeNumber of items included
screen injections
1
screen properties
1
generic relationship
1
dashboards
1
screen actions
2
screen chart groups
6
screen layout
1
metric metadata
18
list screen layout
1
generic type
1
screen entities lists
3

Feature sets

Below is a complete list of the feature sets provided in this version. To ensure a good fit for your needs, individual feature sets can be activated and deactivated by your administrator during configuration.

Feature setsNumber of metrics included
Metric nameMetric keyDescriptionUnit
Lock waitssql-server.local.locks.waitsNumber of lock requests that required the caller to waitPerSecond
Deadlockssql-server.local.locks.deadlocksNumber of lock requests that resulted in a deadlockPerSecond
Metric nameMetric keyDescriptionUnit
Buffer cache hitsql-server.local.buffers.cacheHitRatioPercentage of pages found in the buffer cache without having to read from diskPercent
Checkpoint pagessql-server.local.buffers.checkpointPagesNumber of pages flushed to disk by a checkpoint or other operations that require all dirty pages to be flushedCount
Page life expectancysql-server.local.buffers.pageLifeExpectancyNumber of seconds a page will stay in the buffer pool without referencesSecond
Metric nameMetric keyDescriptionUnit
Page splitssql-server.local.accessMethods.pageSplitsNumber of page splits that occur as a result of overflowing index pagesPerSecond
Metric nameMetric keyDescriptionUnit
Processes blockedsql-server.local.general.processesBlockedNumber of currently blocked processesCount
Transactionssql-server.local.general.transactionsNumber of transaction enlistments (local, dtc, and bound)Count
User connectionssql-server.local.general.userConnectionsNumber of users currently connected to SQL ServerCount
Metric nameMetric keyDescriptionUnit
Batch requestssql-server.local.sql.batchRequestsNumber of Transact-SQL command batches receivedCount
SQL compilationssql-server.local.sql.compilationsNumber of SQL statement compilationsPerSecond
SQL re-compilationssql-server.local.sql.recompilationsNumber of SQL statement re-compilationsPerSecond
Metric nameMetric keyDescriptionUnit
Connection memorysql-server.local.memory.connectionTotal amount of dynamic memory the server is using for maintaining connectionsKiloByte
Memory grants outstandingsql-server.local.memory.grantsOutstandingNumber of processes that have successfully acquired a workspace memory grantCount
Memory grants pendingsql-server.local.memory.grantsPendingNumber of processes waiting for a workspace memory grantCount
Target server memorysql-server.local.memory.targetAmount of memory that can be consumed by memory managerKiloByte
Total server memorysql-server.local.memory.totalAmount of memory the server has committed using the memory managerKiloByte
Metric nameMetric keyDescriptionUnit
Latch waitssql-server.local.latches.waitsNumber of latch requests that could not be granted immediatelyCount

Related to Microsoft SQL Server local counters

Microsoft SQL Server logo

Microsoft SQL Server

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

OneAgent logo

OneAgent

The simplest way to capture all observation signals automatically and in context

Full version history

To have more information on how to install the downloaded package, please follow the instructions on this page.
ReleaseDate

Full version history

  • Collect performance counters for Microsoft SQL metrics
  • Metric metadata, dashboard, topology and screens
Dynatrace Hub
Get data into DynatraceBuild your own app
All (768)Log Management and AnalyticsKubernetesAI and LLM ObservabilityInfrastructure ObservabilitySoftware DeliveryApplication ObservabilityApplication SecurityDigital ExperienceBusiness Analytics
Filter
Type
Built and maintained by
Deployment model
SaaS
  • SaaS
  • Managed
Partner FinderBecome a partnerDynatrace Developer

Discover recent additions to Dynatrace

Problems logo

Problems

Analyze abnormal system behavior and performance problems detected by Davis AI.

Logs logo

Logs

Explore all your logs without writing a single query.

Security Investigator logo

Security Investigator

Fast and precise forensics for security and logs on Grail data with DQL queries.

Business Flow logo

Business Flow

Track, analyze, and optimize your critical business processes.

Cost & Carbon Optimization logo

Cost & Carbon Optimization

Track, analyze, and optimize your IT carbon footprint and public cloud costs.

Davis Anomaly Detection logo

Davis Anomaly Detection

Detect anomalies in timeseries using the Davis AI

Analyze your data

Understand your data better with deep insights and clear visualizations.

Notebooks logo

Notebooks

Create powerful, data-driven documents for custom analytics and collaboration.

Dashboards logo

Dashboards

Transform complex data into clear visualizations with custom dashboards.

Automate your processes

Turn data and answers into actions, securely, and at scale.

Workflows logo

Workflows

Automate tasks in your IT landscape, remediate problems, and visualize processes

Jira logo

Jira

Create, query, comment, transition, and resolve Jira tickets within workflows.

Slack logo

Slack

Automate Slack messaging for security incidents, attacks, remediation, and more.

Secure your cloud application

See vulnerabilities and attacks in your environment.

Security Overview logo

Security Overview

Get a comprehensive overview of the security of your applications.

Code-Level Vulnerabilities logo

Code-Level Vulnerabilities

Detect vulnerabilities in your code in real time.

Threats & Exploits logo

Threats & Exploits

Understand, triage, and investigate application security findings and alerts.

Are you looking for something different?

We have hundreds of apps, extensions, and other technologies to customize your environment

Leverage our newest innovations of Dynatrace Saas

Kick-start your app creation

Kick-start your app creation

Whether you’re a beginner or a pro, Dynatrace Developer has the tools and support you need to create incredible apps with minimal effort.
Go to Dynatrace Developer
Upgrading from Dynatrace Managed to SaaS

Upgrading from Dynatrace Managed to SaaS

Drive innovation, speed, and agility in your organization by seamlessly and securely upgrading.
Learn More
Log Management and Analytics

Log Management and Analytics

Innovate faster and more efficiently with unified log management and log analytics for actionable insights and automation.
Learn more