Skip to content

Latest commit

 

History

History
181 lines (104 loc) · 12.7 KB

server-performance-and-activity-monitoring.md

File metadata and controls

181 lines (104 loc) · 12.7 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Server Performance and Activity Monitoring
Use these resources to learn how to use SQL Server and Windows performance and activity monitoring tools to assess how a server is performing.
MikeRayMSFT
mikeray
11/27/2018
sql
performance
conceptual
activity monitoring [SQL Server]
traces [SQL Server], how-to topics
monitoring server performance [SQL Server], activity monitoring
stored procedures [SQL Server], traces
performance [SQL Server], servers
servers [SQL Server], performance
SQL Server Profiler, how-to topics
SQL Server Management Studio [SQL Server], monitoring system
Profiler [SQL Server Profiler], how-to topics

Server Performance and Activity Monitoring

[!INCLUDE SQL Server] The goal of monitoring databases is to assess how a server is performing. Effective monitoring involves taking periodic snapshots of current performance to isolate processes that are causing problems, and gathering data continuously over time to track performance trends. [!INCLUDEmsCoName] [!INCLUDEssNoVersion] and the [!INCLUDEmsCoName] Windows operating system provide utilities that let you view the current condition of the database and to track performance as conditions change.

The following section contains topics that describe how to use [!INCLUDEssNoVersion] and Windows performance and activity monitoring tools. It contains the following topics:

To perform monitoring tasks with Windows tools

To create SQL Server database alerts with Windows tools

To perform monitoring tasks with Extended Events

To perform monitoring tasks with SQL Server Management Studio

To perform monitoring tasks with SQL Trace and SQL Server Profiler

Important

The next sections describe methods of using SQL Trace and [!INCLUDEssSqlProfiler].
SQL Trace and [!INCLUDEssSqlProfiler] are deprecated. The Microsoft.SqlServer.Management.Trace namespace that contains the Microsoft SQL Server Trace and Replay objects are also deprecated.
[!INCLUDEssNoteDepFutureAvoid]
Use Extended Events instead. For more information on Extended Events, see Quick Start: Extended events in SQL Server and SSMS XEvent Profiler.

Note

[!INCLUDEssSqlProfiler] for Analysis Services workloads is NOT deprecated, and will continue to be supported.

To perform monitoring tasks with SQL Trace by using Transact-SQL stored procedures

To create and modify traces by using SQL Server Profiler

To start, pause, and stop traces by using SQL Server Profiler

To open traces and configure how traces are displayed by using SQL Server Profiler

To replay traces by using SQL Server Profiler

To create, modify, and use trace templates by using SQL Server Profiler

To use SQL Server Profiler traces to collect and monitor server performance