|
1 | | ---- |
2 | | -title: "sys.dm_os_latch_stats (Transact-SQL) | Microsoft Docs" |
3 | | -ms.custom: "" |
4 | | -ms.date: "03/13/2017" |
5 | | -ms.prod: "sql-non-specified" |
6 | | -ms.reviewer: "" |
7 | | -ms.suite: "" |
8 | | -ms.technology: |
9 | | - - "database-engine" |
10 | | -ms.tgt_pltfrm: "" |
11 | | -ms.topic: "language-reference" |
12 | | -f1_keywords: |
13 | | - - "sys.dm_os_latch_stats_TSQL" |
14 | | - - "dm_os_latch_stats_TSQL" |
15 | | - - "dm_os_latch_stats" |
16 | | - - "sys.dm_os_latch_stats" |
17 | | -dev_langs: |
18 | | - - "TSQL" |
19 | | -helpviewer_keywords: |
20 | | - - "sys.dm_os_latch_stats dynamic management view" |
21 | | -ms.assetid: 2085d9fc-828c-453e-82ec-b54ed8347ae5 |
22 | | -caps.latest.revision: 33 |
23 | | -author: "JennieHubbard" |
24 | | -ms.author: "jhubbard" |
25 | | -manager: "jhubbard" |
26 | | ---- |
27 | | -# sys.dm_os_latch_stats (Transact-SQL) |
28 | | -[!INCLUDE[tsql-appliesto-ss2008-all_md](../../includes/tsql-appliesto-ss2008-all-md.md)] |
29 | | - |
| 1 | +--- |
| 2 | +title: "sys.dm_os_latch_stats (Transact-SQL) | Microsoft Docs" |
| 3 | +ms.custom: "" |
| 4 | +ms.date: "03/13/2017" |
| 5 | +ms.prod: "sql-non-specified" |
| 6 | +ms.reviewer: "" |
| 7 | +ms.suite: "" |
| 8 | +ms.technology: |
| 9 | + - "database-engine" |
| 10 | +ms.tgt_pltfrm: "" |
| 11 | +ms.topic: "language-reference" |
| 12 | +f1_keywords: |
| 13 | + - "sys.dm_os_latch_stats_TSQL" |
| 14 | + - "dm_os_latch_stats_TSQL" |
| 15 | + - "dm_os_latch_stats" |
| 16 | + - "sys.dm_os_latch_stats" |
| 17 | +dev_langs: |
| 18 | + - "TSQL" |
| 19 | +helpviewer_keywords: |
| 20 | + - "sys.dm_os_latch_stats dynamic management view" |
| 21 | +ms.assetid: 2085d9fc-828c-453e-82ec-b54ed8347ae5 |
| 22 | +caps.latest.revision: 33 |
| 23 | +author: "JennieHubbard" |
| 24 | +ms.author: "jhubbard" |
| 25 | +manager: "jhubbard" |
| 26 | +--- |
| 27 | +# sys.dm_os_latch_stats (Transact-SQL) |
| 28 | +[!INCLUDE[tsql-appliesto-ss2008-all_md](../../includes/tsql-appliesto-ss2008-all-md.md)] |
| 29 | + |
30 | 30 | Returns information about all latch waits organized by class. |
31 | 31 |
|
32 | 32 | > [!NOTE] |
|
163 | 163 | |SERVICE_BROKER_MAP_MANAGER|Internal use only.| |
164 | 164 | |SERVICE_BROKER_HOST_NAME|Internal use only.| |
165 | 165 | |SERVICE_BROKER_READ_CACHE|Internal use only.| |
166 | | -|SERVICE_BROKER_WAITFOR_MANAGER|Internal use only.| |
| 166 | +|SERVICE_BROKER_WAITFOR_MANAGER| Used to synchronize an instance level map of waiter queues. One queue exists per database ID, Database Version, and Queue ID tuple. Contention on latches of this class can occur when many connections are: In a WAITFOR(RECEIVE) wait state; calling WAITFOR(RECEIVE); exceeding the WAITFOR timeout; receiving a message; committing or rolling back the transaction that contains the WAITFOR(RECEIVE); You can reduce the contention by reducing the number of threads in a WAITFOR(RECEIVE) wait state. | |
167 | 167 | |SERVICE_BROKER_WAITFOR_TRANSACTION_DATA|Internal use only.| |
168 | 168 | |SERVICE_BROKER_TRANSMISSION_TRANSACTION_DATA|Internal use only.| |
169 | 169 | |SERVICE_BROKER_TRANSPORT|Internal use only.| |
|
200 | 200 |
|
201 | 201 |
|
202 | 202 |
|
203 | | - |
| 203 | + |
0 commit comments