Understanding-Locking-in-SQL-Server

本文最后更新于:2024年8月9日 晚上

Thinking

  • What is Resource types in locking of SQL Server?
  • What is Lock Modes in SQL Server?

It gives live view of looking at different type of lock modes as well as the resources types where the locks are placed. It describes in greater detail about RID, Key, Page, Extent, Table and DB Resource types in SQL Server Locking concept. It also explains Shared Locks, Update Lock, Exclusive Locks, Intent Lock, Schema Lock and Bulk Update locks in SQL Server.

1
2
3
--Script that you can run to look at Live Locks and resource types in SQL Server:
exec sp_lock;
GO

Understanding-Locking-in-SQL-Server
https://git.msft.vip/2022/09/19-Understanding-Locking-in-SQL-Server/
作者
Jas0n0ss
发布于
2022年9月20日
更新于
2024年8月9日
许可协议