Skip to content

Commit b490d9c

Browse files
authored
Merge pull request #18751 from pmasl/patch-941
Update sys-dm-os-spinlock-stats-transact-sql.md
2 parents 627e415 + a162d7b commit b490d9c

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

docs/relational-databases/system-dynamic-management-views/sys-dm-os-spinlock-stats-transact-sql.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ GO
9898
|CLR_HOSTTASK|Internal use only.|
9999
|CLR_SPIN_LOCK|Internal use only.|
100100
|CMED_DATABASE|Internal use only.|
101-
|CMED_HASH_SET|Internal use only.|
101+
|CMED_HASH_SET|Internal use only.<br><br>**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] ([!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] through [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)] CU1)<br><br> **Note:** this spinlock name changes to LOCK_RW_CMED_HASH_SET after you apply [SQL Server 2016 CU2](https://support.microsoft.com/topic/kb3195888-fix-high-cpu-usage-causes-performance-issues-in-sql-server-2016-and-2017-9514b80d-938f-e179-3131-74e6c757c4d5).|
102102
|COLUMNDATASETSESSIONLIST|Internal use only.|
103103
|COLUMNSTORE_HASHTABLE|Internal use only.|
104104
|COLUMNSTOREBUILDSTATE_LIST|Internal use only.|
@@ -118,7 +118,7 @@ GO
118118
|DBSEEDING_OPERATION|Internal use only.|
119119
|DBT_HASH|Internal use only.|
120120
|DBT_IO_LIST|Internal use only.|
121-
|DBTABLE|Controls access to an in-memory data structure for every database in a SQL Server that contains the properties of that database. See [this article](https://techcommunity.microsoft.com/t5/SQL-Server/Improving-Concurrency-Scalability-of-SQL-Server-workload-by/ba-p/384789) for more information. |
121+
|DBTABLE|Controls access to an in-memory data structure for every database in a [!INCLUDE[ssde_md](../../includes/ssde_md.md)] that contains the properties of that database. See [this article](https://techcommunity.microsoft.com/t5/SQL-Server/Improving-Concurrency-Scalability-of-SQL-Server-workload-by/ba-p/384789) for more information. |
122122
|DEFERRED_WF_EXT_DROP|Internal use only.|
123123
|DEK_INSTANCE|Internal use only.|
124124
|DELAYED_PARTITIONED_STACK|Internal use only.|
@@ -128,7 +128,7 @@ GO
128128
|DIGEST_CACHE|Internal use only.|
129129
|DINPBUF|Internal use only.|
130130
|DIRECTLOGCONSUMER|Internal use only.|
131-
|DP_LIST|Controls access to the list of dirty pages for a database that has indirect checkpoint turned on. Apply fixes from [article 4497928](https://support.microsoft.com/kb/4497928), [article 4040276](https://support.microsoft.com/kb/4040276) or use [Trace Flag 3468](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md). See [this article](https://techcommunity.microsoft.com/t5/SQL-Server/Indirect-Checkpoint-and-tempdb-8211-the-good-the-bad-and-the-non/ba-p/385510) for more information.|
131+
|DP_LIST|Controls access to the list of dirty pages for a database that has indirect checkpoint turned on. Apply fixes from [article 4497928](https://support.microsoft.com/kb/4497928), [article 4040276](https://support.microsoft.com/kb/4040276), or use [Trace Flag 3468](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md). See [this article](https://techcommunity.microsoft.com/t5/SQL-Server/Indirect-Checkpoint-and-tempdb-8211-the-good-the-bad-and-the-non/ba-p/385510) for more information.|
132132
|DROP|Internal use only.|
133133
|DROP_TEMPO|Internal use only.|
134134
|DROPPED_ALLOC_UNIT|Internal use only.|
@@ -185,18 +185,18 @@ GO
185185
|LANG_RES_LOAD|Internal use only.|
186186
|LIVE_TARGET_TVF|Internal use only.|
187187
|LOCK_FREE_LIST|Internal use only.|
188-
|LOCK_HASH|Protects access to the lock manager hash table that stores information about the locks being held in a database. See [this article](https://support.microsoft.com/kb/2926217) for more information.|
188+
|LOCK_HASH|Protects access to the lock manager hash table that stores information about the locks being held in a database. For more information, see [this article](https://support.microsoft.com/kb/2926217) and the [Transaction Locking and Row Versioning Guide](../../relational-databases/sql-server-transaction-locking-and-row-versioning-guide.md#Lock_Engine).|
189189
|LOCK_NOTIFICATION|Internal use only.|
190190
|LOCK_RESOURCE_ID|Internal use only.|
191191
|LOCK_RW_ABTX_HASH_SET|Internal use only.|
192192
|LOCK_RW_AGDB_HEALTH_DIAG|Internal use only.|
193-
|LOCK_RW_CMED_HASH_SET|Internal use only.|
193+
|LOCK_RW_CMED_HASH_SET|Internal use only.<br><br>**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)] CU2), [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], and [!INCLUDE[ssSDSMIfull](../../includes/sssdsmifull-md.md)]|
194194
|LOCK_RW_DPT_TABLE|Internal use only.|
195195
|LOCK_RW_IN_ROW_TRACKER|Internal use only.|
196196
|LOCK_RW_LOGIN_RATE_STATS|Internal use only.|
197197
|LOCK_RW_PVS_PAGE_TRACKER|Internal use only.|
198198
|LOCK_RW_RBIO_REQ|Internal use only.|
199-
|LOCK_RW_SECURITY_CACHE|Internal use only.|
199+
|LOCK_RW_SECURITY_CACHE|Protects the cache entries related to security tokens and access checks. <br><br>**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)] CU2), [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], and [!INCLUDE[ssSDSMIfull](../../includes/sssdsmifull-md.md)]<br><br> If the entries in TokenAndPermUserStore cache store grows continuously, you might notice large spins for this spinlock. Evaluate using [Trace Flags](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md) 4610 and 4618 to limit entries. For more information, see [access check cache Server Configuration Options](../../database-engine/configure-windows/access-check-cache-server-configuration-options.md), this [article](https://support.microsoft.com/topic/queries-take-a-longer-time-to-finish-running-when-the-size-of-the-tokenandpermuserstore-cache-grows-in-sql-server-2005-ad1622e7-3bb5-7902-19a0-5d0e6271033d), and this [blog](https://techcommunity.microsoft.com/t5/sql-server-support/query-performance-issues-associated-with-a-large-sized-security/ba-p/315494).|
200200
|LOCK_RW_TEST|Internal use only.|
201201
|LOCK_RW_WPR_BUCKET|Internal use only.|
202202
|LOCK_SORT_STREAM|Internal use only.|
@@ -227,7 +227,7 @@ GO
227227
|MEM_MGR|Internal use only.|
228228
|MGR_CACHE|Internal use only.|
229229
|MIGRATION_BUF_LIST|Internal use only.|
230-
|MUTEX|Protects the cache entries related to security tokens and access checks. Used for versions below [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)]. If the entries in TokenAndPermUserStore cache store grows continuously, you might notice large spins for this spinlock. Evaluate using [Trace Flags](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md) 4610 and 4618 to limit entries. Additional references: [blog](https://techcommunity.microsoft.com/t5/sql-server-support/query-performance-issues-associated-with-a-large-sized-security/ba-p/315494), [article](https://support.microsoft.com/topic/queries-take-a-longer-time-to-finish-running-when-the-size-of-the-tokenandpermuserstore-cache-grows-in-sql-server-2005-ad1622e7-3bb5-7902-19a0-5d0e6271033d) and [documentation](../../database-engine/configure-windows/access-check-cache-server-configuration-options.md).|
230+
|MUTEX|Protects the cache entries related to security tokens and access checks. <br><br>**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Up to [!INCLUDE[sssql11-md](../../includes/sssql11-md.md)])<br><br>If the entries in TokenAndPermUserStore cache store grows continuously, you might notice large spins for this spinlock. Evaluate using [Trace Flags](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md) 4610 and 4618 to limit entries. For more information, see [access check cache Server Configuration Options](../../database-engine/configure-windows/access-check-cache-server-configuration-options.md), this [article](https://support.microsoft.com/topic/queries-take-a-longer-time-to-finish-running-when-the-size-of-the-tokenandpermuserstore-cache-grows-in-sql-server-2005-ad1622e7-3bb5-7902-19a0-5d0e6271033d), and this [blog](https://techcommunity.microsoft.com/t5/sql-server-support/query-performance-issues-associated-with-a-large-sized-security/ba-p/315494).|
231231
|NETCONN_ADDRESS|Internal use only.|
232232
|ONDEMAND_TASK|Internal use only.|
233233
|ONE_PROC_SIM_NODE_CONTEXT|Internal use only.|
@@ -288,7 +288,7 @@ GO
288288
|SBS_TRANSPORT|Internal use only.|
289289
|SBS_UCS_DISPATCH|Internal use only.|
290290
|SECURITY|Internal use only.|
291-
|SECURITY_CACHE|Protects the cache entries related to security tokens and access checks. Used for [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] and higher. If the entries in TokenAndPermUserStore cache store grows continuously, you might notice large spins for this spinlock. Evaluate using [Trace Flags](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md) 4610 and 4618 to limit entries. Additional references: [blog](https://techcommunity.microsoft.com/t5/sql-server-support/query-performance-issues-associated-with-a-large-sized-security/ba-p/315494), [article](https://support.microsoft.com/topic/queries-take-a-longer-time-to-finish-running-when-the-size-of-the-tokenandpermuserstore-cache-grows-in-sql-server-2005-ad1622e7-3bb5-7902-19a0-5d0e6271033d) and [documentation](../../database-engine/configure-windows/access-check-cache-server-configuration-options.md). Notice the change in spinlock name after you apply [updates for SQL 2017 and SQL 2016](https://support.microsoft.com/topic/kb3195888-fix-high-cpu-usage-causes-performance-issues-in-sql-server-2016-and-2017-9514b80d-938f-e179-3131-74e6c757c4d5).|
291+
|SECURITY_CACHE|Protects the cache entries related to security tokens and access checks. <br><br>**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] ([!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] through [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)] CU1)<br><br> If the entries in TokenAndPermUserStore cache store grows continuously, you might notice large spins for this spinlock. Evaluate using [Trace Flags](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md) 4610 and 4618 to limit entries. For more information, see [access check cache Server Configuration Options](../../database-engine/configure-windows/access-check-cache-server-configuration-options.md), this [article](https://support.microsoft.com/topic/queries-take-a-longer-time-to-finish-running-when-the-size-of-the-tokenandpermuserstore-cache-grows-in-sql-server-2005-ad1622e7-3bb5-7902-19a0-5d0e6271033d), and this [blog](https://techcommunity.microsoft.com/t5/sql-server-support/query-performance-issues-associated-with-a-large-sized-security/ba-p/315494).<br><br>**Note:** this spinlock name changes to LOCK_RW_SECURITY_CACHE after you apply [SQL Server 2016 CU2](https://support.microsoft.com/topic/kb3195888-fix-high-cpu-usage-causes-performance-issues-in-sql-server-2016-and-2017-9514b80d-938f-e179-3131-74e6c757c4d5).|
292292
|SECURITY_FEDAUTH_AAD_BECWSCONNS|Internal use only.|
293293
|SEMANTIC_TICACHE|Internal use only.|
294294
|SEQUENCED_OBJECT|Internal use only.|
@@ -306,7 +306,7 @@ GO
306306
|SOS_ACTIVEDESCRIPTOR|Internal use only.|
307307
|SOS_BLOCKALLOCPARTIALLIST|Internal use only.|
308308
|SOS_BLOCKDESCRIPTORBUCKET|Internal use only.|
309-
|SOS_CACHESTORE|Synchronizes access to various in-memory caches in SQL Server such as the plan cache or temp table cache. Heavy contention on this spinlock type can mean many different things depending on the specific cache that is in contention. Contact [!INCLUDE[msCoName](../../includes/msconame-md.md)] Customer Support Services for help troubleshooting this spinlock type. |
309+
|SOS_CACHESTORE|Synchronizes access to various in-memory caches in the [!INCLUDE[ssde_md](../../includes/ssde_md.md)], such as the plan cache or temp table cache. Heavy contention on this spinlock type can mean many different things depending on the specific cache that is in contention. Contact [!INCLUDE[msCoName](../../includes/msconame-md.md)] Customer Support Services for help troubleshooting this spinlock type. |
310310
|SOS_CACHESTORE_CLOCK|Internal use only.|
311311
|SOS_CLOCKALG_INTERNODE_SYNC|Internal use only.|
312312
|SOS_DEBUG_HOOK|Internal use only.|
@@ -401,8 +401,6 @@ GO
401401
|XVB_CSN|Internal use only.|
402402
|XVB_LIST|Internal use only.|
403403

404-
405-
406404
## See Also
407405

408406
[DBCC SQLPERF &#40;Transact-SQL&#41;](../../t-sql/database-console-commands/dbcc-sqlperf-transact-sql.md)

0 commit comments

Comments
 (0)