Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 2.44 KB

establish-a-performance-baseline.md

File metadata and controls

51 lines (37 loc) · 2.44 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords monikerRange
Establish a Performance Baseline
Take performance measurements at regular intervals over time, even when no problems occur, to establish a server performance baseline in SQL Server.
WilliamDAssafMSFT
wiassaf
03/14/2017
sql
performance
conceptual
database performance [SQL Server], baselines
monitoring performance [SQL Server], baselines
tuning databases [SQL Server], baselines
server performance [SQL Server], baselines
performance [SQL Server], baselines
baseline performance [SQL Server]
measurements for baseline statistics [SQL Server]
monitoring server performance [SQL Server], establishing baseline
database monitoring [SQL Server], baselines
=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current

Establish a Performance Baseline

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance] To determine whether your [!INCLUDEssNoVersion] system is performing optimally, take performance measurements at regular intervals over time, even when no problems occur, to establish a server performance baseline. Compare each new set of measurements with those taken earlier.

The following areas affect the performance of [!INCLUDEssNoVersion]:

  • System resources (hardware)

  • Network architecture

  • The operating system

  • Database applications

  • Client applications

At a minimum, use baseline measurements to determine:

  • Peak and off-peak hours of operation.

  • Production-query or batch-command response times.

  • Database backup and restore completion times.

After you establish a server performance baseline, compare the baseline statistics to current server performance. Numbers far above or far below your baseline are candidates for further investigation. They may indicate areas in need of tuning or reconfiguration. For example, if the amount of time to execute a set of queries increases, examine the queries to determine if they can be rewritten, or if column statistics or new indexes must be added.

See Also

sp_configure (Transact-SQL)