Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 2.02 KB

File metadata and controls

37 lines (32 loc) · 2.02 KB
title SQL Server, Latches Object | Microsoft Docs
description Learn about the SQLServer:Latches object, which provides counters to monitor internal SQL Server resource locks called latches.
ms.custom
ms.date 03/14/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology performance
ms.topic conceptual
helpviewer_keywords
Latches object
SQLServer:Latches
ms.assetid 2393ea1c-2bf3-41c3-9f37-b9761144eeca
author WilliamDAssafMSFT
ms.author wiassaf

SQL Server, Latches Object

[!INCLUDE SQL Server] The SQLServer:Latches object in Microsoft [!INCLUDEssNoVersion] provides counters to monitor internal [!INCLUDEssNoVersion] resource locks called latches. Monitoring the latches to determine user activity and resource usage can help you to identify performance bottlenecks.

This table describes the [!INCLUDEssNoVersion] Latches counters.

SQL Server Latches counters Description
Average Latch Wait Time (ms) Average latch wait time (in milliseconds) for latch requests that had to wait.
Average Latch Wait Time Base For internal use only.
Latch Waits/sec Number of latch requests that could not be granted immediately.
Number of SuperLatches Number of latches that are currently SuperLatches.
SuperLatch Demotions/sec Number of SuperLatches that have been demoted to regular latches in the last second.
SuperLatch Promotions/sec Number of latches that have been promoted to SuperLatches in the last second.
Total Latch Wait Time (ms) Total latch wait time (in milliseconds) for latch requests in the last second.

See Also

Monitor Resource Usage (System Monitor)