sp_clusterlockusage
报告集群中当前使用的锁:
Lock Usage count % of total
------------------------- ------------ ------------
Total Locks 95039 n/a
Free Locks 85807 90.29 %
Used Locks 9232 9.71 %
Object Locks 4032 4.24 %
Physical Locks 233 0.25 %
Partition Locks 9 0.00 %
Table Locks 0 0.00 %
Page Locks 0 0.00 %
Row Locks 17 0.02 %
Others 501 0.53 %
Retention Used 0 0.00 %
Retention Used 报告不由任何任务拥有但由于锁保留而在集群级拥有的锁数。