3

I understand in SQL Server there are various levels of granularity for locks...RID, Key, Page, Extent, Table, DB.

Forgetting about lock escalation, I just want to check the default level of lock granularity in SQL Server 2008? How do I do that?

Leigh Riffel
  • 23,884
  • 17
  • 80
  • 155
dublintech
  • 1,559
  • 8
  • 21
  • 26

1 Answers1

4

After comments on questions

You can query sys.indexes, looking at the allow_row_locks and allow_page_locks columns. Also, sys.tables has a column lock_escalation

I think that will allow you to find all non-default options about locks.

gbn
  • 70,237
  • 8
  • 167
  • 244