SQL Server锁说明 [英] SQL Server locks explained
本文介绍了SQL Server锁说明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
下面是SQL Server 2000本应支持的锁的列表.我对意图"锁的实际含义有些困惑.我在网上四处张望,答案似乎有些晦涩难懂.
Below is a list of locks that SQL Server 2000 is meant to support. I am a bit confused as to what the "intent" locks actually mean. I've looked around on the Web and the answers seem to be a bit cryptic.
在得到我的特定问题的答案之前,我希望将此问题用作Wiki,以了解每个锁的含义以及在何种情况下将获得该类型的锁.
Further to getting an answer to my specific question, I am hoping to use this question as a Wiki for what each lock means and under what circumstances that type of lock will be acquired.
- 共享(S)
- 更新(U)
- 独家(X)
- 意图
- 意图共享(IS)
- 意图排他(IX)
- 与意图排他性(SIX)共享
- 意图更新(IU)
- 更新意图专用(UIX)
- 共享意图更新(SIU)
- Shared (S)
- Update (U)
- Exclusive (X)
- Intent
- intent shared (IS)
- intent exclusive (IX)
- shared with intent exclusive (SIX)
- intent update (IU)
- update intent exclusive (UIX)
- shared intent update (SIU)
- 模式修改(Sch-M)
- 模式稳定性(Sch-S)
- 共享密钥范围和共享资源锁(RangeS_S)
- 共享密钥范围和更新资源锁(RangeS_U)
- 插入键范围和空资源锁(RangeI_N)
- 排他键范围和排他资源锁(RangeX_X)
- 转换锁(RangeI_S,RangeI_U,RangeI_X,RangeX_S,RangeX_U)
推荐答案
查看全文